67 #ifndef nutWallFunctionFvPatchScalarField_H 68 #define nutWallFunctionFvPatchScalarField_H 81 class nutWallFunctionFvPatchScalarField
83 public fixedValueFvPatchScalarField
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.
virtual tmp< scalarField > calcNut() const =0
Calculate the turbulence viscosity.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
virtual void writeLocalEntries(Ostream &) const
Write local wall function variables.
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions...
Foam::fvPatchFieldMapper.
scalar kappa_
Von Karman constant.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void checkType()
Check the type of the patch.
TypeName("nutWallFunction")
Runtime type information.
scalar Cmu_
Cmu coefficient.
static scalar yPlusLam(const scalar kappa, const scalar E)
Calculate the Y+ at the edge of the laminar sublayer.
virtual void write(Ostream &) const
Write.
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.
virtual tmp< scalarField > yPlus() const =0
Calculate and return the yPlus at the boundary.