Go to the documentation of this file.
42 for (
int i=0; i<10; i++)
64 const scalar Cmu25 =
pow025(Cmu_);
65 const scalar Cmu75 =
pow(Cmu_, 0.75);
91 scalar
yPlus = Cmu25*
sqrt(
k[celli])*
y[facei]/nuw[facei];
93 scalar
w = cornerWeights[facei];
95 if (
yPlus > yPlusLam_)
101 *(nutw[facei] + nuw[facei])
103 *Cmu25*
sqrt(
k[celli])
109 G0[celli] +=
G[celli];
125 yPlusLam_(yPlusLam(kappa_, E_))
152 yPlusLam_(yPlusLam(kappa_, E_))
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
#define forAll(list, i)
Loop across all elements in list.
const dimensionedScalar G
Newtonian constant of gravitation.
A class for managing temporary objects.
epsilonLowReWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
This boundary condition provides a turbulence dissipation wall function condition for low- and high-R...
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
scalar yPlusLam_
Y+ at the edge of the laminar sublayer.
const nearWallDist & y() const
Return the near wall distances.
dimensioned< scalar > mag(const dimensioned< Type > &)
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
scalar yPlusLam(const scalar kappa, const scalar E)
Calculate the Y+ at the edge of the laminar sublayer.
const dimensionedScalar epsilon0
Electric constant: default SI units: [F/m].
dimensionedScalar pow025(const dimensionedScalar &ds)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const dimensionedScalar G0
Conductance quantum: default SI units: [S].
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a turbulence dissipation wall function condition for high Reynolds n...
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
word GName() const
Helper function to return the name of the turbulence G field.
Abstract base class for turbulence models (RAS, LES and laminar).
A list of keyword definitions, which are a keyword followed by any number of values (e....
label index() const
Return the index of this patch in the fvBoundaryMesh.
dimensionedScalar log(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
This function object evaluates and outputs turbulence y+ for turbulence models. The field is stored o...
label k
Boltzmann constant.
virtual const labelUList & faceCells() const
Return faceCells.
Foam::fvPatchFieldMapper.
virtual void calculate(const turbulenceModel &turbulence, const List< scalar > &cornerWeights, const fvPatch &patch, scalarField &G, scalarField &epsilon)
Calculate the epsilon and G.
Generic GeometricField class.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const volVectorField & U() const
Access function to velocity field.