Go to the documentation of this file.
75 #ifndef nutkRoughWallFunctionFvPatchScalarField_H
76 #define nutkRoughWallFunctionFvPatchScalarField_H
89 class nutkRoughWallFunctionFvPatchScalarField
91 public nutkWallFunctionFvPatchScalarField
107 virtual scalar
fnRough(
const scalar KsPlus,
const scalar
Cs)
const;
110 virtual tmp<scalarField>
calcNut()
const;
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual void write(Ostream &) const
Write.
A class for managing temporary objects.
virtual scalar fnRough(const scalar KsPlus, const scalar Cs) const
Compute the roughness function.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
nutkRoughWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalarField Ks_
Roughness height.
TypeName("nutkRoughWallFunction")
Runtime type information.
This boundary condition provides a wall constraint on the turbulent viscosity, i.e....
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
virtual tmp< scalarField > calcNut() const
Calculate the turbulent viscosity.
scalarField Cs_
Roughness constant.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This boundary condition provides a wall constraint on the turbulent viscosity, i.e....