64 #ifndef nutWallFunctionFvPatchScalarField_H 65 #define nutWallFunctionFvPatchScalarField_H 80 class nutWallFunctionFvPatchScalarField
82 public fixedValueFvPatchScalarField
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar yPlusLam() const
Return the Y+ at the edge of the laminar sublayer.
virtual void writeLocalEntries(Ostream &) const
Write local wall function variables.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
scalar Cmu() const
Return Cmu.
CompressibleMomentumTransportModel< fluidThermo > momentumTransportModel
static const nutWallFunctionFvPatchScalarField & nutw(const momentumTransportModel &turbModel, const label patchi)
Return the nut patchField for the given wall patch.
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions...
scalar E() const
Return E.
Foam::fvPatchFieldMapper.
virtual tmp< scalarField > nut() const =0
Calculate the turbulence viscosity.
scalar kappa_
Von Karman constant.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
Abstract base class for turbulence models (RAS, LES and laminar).
virtual void checkType()
Check the type of the patch.
TypeName("nutWallFunction")
Runtime type information.
scalar Cmu_
Cmu coefficient.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
nutWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
scalar yPlusLam_
Y+ at the edge of the laminar sublayer.
scalar kappa() const
Return kappa.
virtual tmp< scalarField > yPlus() const =0
Calculate and return the yPlus at the boundary.