96#ifndef nutUSpaldingWallFunctionFvPatchScalarField_H
97#define nutUSpaldingWallFunctionFvPatchScalarField_H
110class nutUSpaldingWallFunctionFvPatchScalarField
112 public nutWallFunctionFvPatchScalarField
134 virtual tmp<scalarField>
calcNut()
const;
155 TypeName(
"nutUSpaldingWallFunction");
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a wall function for the turbulent viscosity (i.e....
virtual tmp< scalarField > yPlus() const
Calculate and return the yPlus at the boundary.
virtual tmp< fvPatchScalarField > clone(const DimensionedField< scalar, volMesh > &iF) const
Construct and return a clone setting internal field reference.
void writeLocalEntries(Ostream &) const
Write local wall function variables.
TypeName("nutUSpaldingWallFunction")
Runtime type information.
const label maxIter_
Max iterations in calcNut.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
const scalar tolerance_
Convergence tolerance.
virtual ~nutUSpaldingWallFunctionFvPatchScalarField()
Destructor.
tmp< scalarField > calcUTau(const scalarField &magGradU) const
Calculate the friction velocity.
virtual tmp< scalarField > calcNut() const
Uncomment in case of intrumentation.
The class nutWallFunction is an abstract base class that hosts calculation methods and common functi...
A class for managing temporary objects.
OBJstream os(runTime.globalPath()/outputName)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.