75#ifndef nutkRoughWallFunctionFvPatchScalarField_H
76#define nutkRoughWallFunctionFvPatchScalarField_H
89class nutkRoughWallFunctionFvPatchScalarField
91 public nutkWallFunctionFvPatchScalarField
107 virtual scalar
fnRough(
const scalar KsPlus,
const scalar
Cs)
const;
110 virtual tmp<scalarField>
calcNut()
const;
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 void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual tmp< fvPatchScalarField > clone(const DimensionedField< scalar, volMesh > &iF) const
Construct and return a clone setting internal field reference.
scalarField Cs_
Roughness constant.
virtual scalar fnRough(const scalar KsPlus, const scalar Cs) const
Compute the roughness function.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
scalarField & Ks()
Return Ks.
scalarField & Cs()
Return Cs.
scalarField Ks_
Roughness height.
void writeLocalEntries(Ostream &os) const
Write local wall function variables.
TypeName("nutkRoughWallFunction")
Runtime type information.
virtual tmp< scalarField > calcNut() const
Calculate the turbulent viscosity.
This boundary condition provides a wall function for the turbulent viscosity (i.e....
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.