69 #ifndef nutWallFunctionFvPatchScalarField_H 70 #define nutWallFunctionFvPatchScalarField_H 86 class nutWallFunctionFvPatchScalarField
88 public fixedValueFvPatchScalarField
virtual const volVectorField & U(const turbulenceModel &turb) const
Helper to return the velocity field either from the turbulence model (default) or the mesh database...
void writeLocalEntries(Ostream &) const
Write local wall function variables.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const wallFunctionCoefficients & wallCoeffs() const noexcept
Return wallFunctionCoefficients.
compressible::turbulenceModel & turb
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< scalarField > calcNut() const =0
Calculate the turbulent viscosity.
Abstract base class for turbulence models (RAS, LES and laminar).
The class nutWallFunction is an abstract base class that hosts calculation methods and common functi...
A class for handling words, derived from Foam::string.
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
virtual void checkType()
Check the type of the patch.
TypeName("nutWallFunction")
Runtime type information.
word UName_
Name of velocity field.
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.
wallFunctionCoefficients wallCoeffs_
Wall-function coefficients.
nutWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
Class to host the wall-function coefficients being used in the wall function boundary conditions...
static const nutWallFunctionFvPatchScalarField & nutw(const turbulenceModel &turbModel, const label patchi)
Return the nut patchField for the given wall patch.
virtual tmp< scalarField > yPlus() const =0
Calculate and return the yPlus at the boundary.