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