68 #ifndef nutWallFunctionFvPatchScalarField_H 69 #define nutWallFunctionFvPatchScalarField_H 82 class nutWallFunctionFvPatchScalarField
84 public fixedValueFvPatchScalarField
virtual void writeLocalEntries(Ostream &) const
Write local wall function variables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions...
virtual tmp< scalarField > calcNut() const =0
Calculate the turbulence viscosity.
Foam::fvPatchFieldMapper.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar yPlusLam_
Y+ at the edge of the laminar sublayer.
scalar kappa_
Von Karman constant.
static scalar yPlusLam(const scalar kappa, const scalar E)
Calculate the Y+ at the edge of the laminar sublayer.
virtual tmp< scalarField > yPlus() const =0
Calculate and return the yPlus at the boundary.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void checkType()
Check the type of the patch.
scalar Cmu_
Cmu coefficient.
TypeName("nutWallFunction")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
nutWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
A class for managing temporary objects.