Go to the documentation of this file.
66 #ifndef nutkRoughWallFunctionFvPatchScalarField_H
67 #define nutkRoughWallFunctionFvPatchScalarField_H
80 class nutkRoughWallFunctionFvPatchScalarField
82 public nutkWallFunctionFvPatchScalarField
98 virtual scalar
fnRough(
const scalar KsPlus,
const scalar
Cs)
const;
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual void write(Ostream &) const
Write.
A class for managing temporary objects.
virtual tmp< scalarField > calcNut() const
Calculate the turbulence viscosity.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Pre-declare SubField and related Field type.
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 any number of values (e....
scalarField Ks_
Roughness height.
TypeName("nutkRoughWallFunction")
Runtime type information.
virtual scalar fnRough(const scalar KsPlus, const scalar Cs) const
Compute the roughness function.
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions ...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
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 turbulent kinematic viscosity condition when using wall functions,...