71 #ifndef nutkRoughWallFunctionFvPatchScalarField_H 72 #define nutkRoughWallFunctionFvPatchScalarField_H 85 class nutkRoughWallFunctionFvPatchScalarField
87 public nutkWallFunctionFvPatchScalarField
101 scalar
E(
const scalar KsPlus,
const scalar
Cs)
const;
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< scalarField > nut() const
Calculate the turbulence viscosity.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const scalarField & Ks() const
Return the roughness height.
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.
const scalarField & Cs() const
Return the roughness constant scale.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
scalar E() const
Return E.
Foam::fvPatchFieldMapper.
virtual tmp< fvPatchScalarField > clone(const DimensionedField< scalar, volMesh > &iF) const
Construct and return a clone setting internal field reference.
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.
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 void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.