Go to the documentation of this file.
77 dict.getCheckOrDefault<scalar>
84 Ck_(
dict.getOrDefault<scalar>(
"Ck", -0.416)),
85 Bk_(
dict.getOrDefault<scalar>(
"Bk", 8.366)),
86 C_(
dict.getOrDefault<scalar>(
"C", 11.0))
96 Ceps2_(kwfpsf.Ceps2_),
110 Ceps2_(kwfpsf.Ceps2_),
137 const nutWallFunctionFvPatchScalarField& nutw =
142 const tmp<scalarField> tnuw = turbModel.nu(patchi);
145 const tmp<volScalarField> tk = turbModel.k();
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())
202 kLowReWallFunctionFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
const DimensionedField< Type, volMesh > & internalField() const
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< volScalarField > nu() const =0
constexpr const char *const group
A class for managing temporary objects.
static const word propertiesName
virtual void updateCoeffs()
kLowReWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
const nearWallDist & y() const
virtual void write(Ostream &) const
dimensionedScalar pow025(const dimensionedScalar &ds)
Generic templated field type.
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
dimensionedScalar pow3(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const Type & lookupObject(const word &name, const bool recursive=false) const
label max(const labelHashSet &set, label maxValue=labelMin)
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,...
virtual void write(Ostream &) const
dimensionedScalar log(const dimensionedScalar &ds)
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > k() const =0
virtual void updateCoeffs()
This boundary condition provides a wall constraint on the turbulent kinetic energy,...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const objectRegistry & db() const
static const nutWallFunctionFvPatchScalarField & nutw(const turbulenceModel &turbModel, const label patchi)
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & writeEntry(const keyType &key, const T &value)
virtual const labelUList & faceCells() const
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
static word groupName(StringType base, const word &group)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Generic GeometricField class.
The class nutWallFunction is a base class that parents the derived boundary conditions which provide ...
A min/max value pair with additional methods. In addition to conveniently storing values,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...