Go to the documentation of this file.
77 dict.getCheckOrDefault<scalar>
81 scalarMinMax::ge(SMALL)
84 Ck_(
dict.getOrDefault<scalar>(
"Ck", -0.416)),
85 Bk_(
dict.getOrDefault<scalar>(
"Bk", 8.366)),
86 C_(
dict.getOrDefault<scalar>(
"C", 11.0))
148 const scalar Cmu25 =
pow025(nutw.Cmu());
156 const scalar
uTau = Cmu25*
sqrt(
k[celli]);
157 const scalar
yPlus =
uTau*
y[facei]/nuw[facei];
159 if (
yPlus > nutw.yPlusLam())
const DimensionedField< scalar, volMesh > & internalField() const
Return dimensioned internal field reference.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
constexpr const char *const group
Group name for atomic constants.
A class for managing temporary objects.
scalar Bk_
Bk coefficient.
static const word propertiesName
Default name of the turbulence properties dictionary.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
kLowReWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
const nearWallDist & y() const
Return the near wall distances.
bool updated() const
Return true if the boundary condition has already been updated.
#define forAll(list, i)
Loop across all elements in list.
virtual void write(Ostream &) const
Write.
dimensionedScalar pow025(const dimensionedScalar &ds)
dimensionedScalar pow3(const dimensionedScalar &ds)
scalar Ck_
Ck coefficient.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
scalar Ceps2_
Ceps2 coefficient.
const Type & lookupObject(const word &name, const bool recursive=false) const
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Abstract base class for turbulence models (RAS, LES and laminar).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label index() const
Return the index of this patch in the fvBoundaryMesh.
virtual void write(Ostream &) const
Write.
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.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
This boundary condition provides a wall constraint on the turbulent kinetic energy,...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const objectRegistry & db() const
Return local objectRegistry.
static const nutWallFunctionFvPatchScalarField & nutw(const turbulenceModel &turbModel, const label patchi)
Return the nut patchField for the given wall patch.
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual const labelUList & faceCells() const
Return faceCells.
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
The class nutWallFunction is a base class that parents the derived boundary conditions which provide ...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...