114 #ifndef atmNutkWallFunctionFvPatchScalarField_H 115 #define atmNutkWallFunctionFvPatchScalarField_H 129 class atmNutkWallFunctionFvPatchScalarField
131 public nutkWallFunctionFvPatchScalarField
137 const bool boundNut_;
140 autoPtr<PatchFunction1<scalar>> z0_;
148 virtual tmp<scalarField>
calcNut()
const;
228 virtual void autoMap(
const fvPatchFieldMapper&);
241 virtual void write(Ostream&)
const;
virtual void write(Ostream &) const
Write.
This boundary condition provides a wall constraint on the turbulent viscosity (i.e. nut) based on the turbulent kinetic energy (i.e. k) for atmospheric boundary layer modelling. It is designed to be used in conjunction with the atmBoundaryLayerInletVelocity boundary condition.
virtual tmp< scalarField > calcNut() const
Calculate the turbulent viscosity.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
TypeName("atmNutkWallFunction")
Runtime type information.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
fvPatchField< scalar > fvPatchScalarField
A FieldMapper for finite-volume patch fields.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
void writeLocalEntries(Ostream &) const
Write local wall function variables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
List< label > labelList
A List of labels.
A class for managing temporary objects.
atmNutkWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.