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