93 #ifndef atmNutUWallFunctionFvPatchScalarField_H 94 #define atmNutUWallFunctionFvPatchScalarField_H 108 class atmNutUWallFunctionFvPatchScalarField
110 public nutUWallFunctionFvPatchScalarField
116 const bool boundNut_;
119 autoPtr<PatchFunction1<scalar>> z0_;
127 virtual tmp<scalarField>
calcNut()
const;
207 virtual void autoMap(
const fvPatchFieldMapper&);
220 virtual void write(Ostream&)
const;
virtual tmp< scalarField > calcNut() const
Calculate the turbulent viscosity.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
atmNutUWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
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.
fvPatchField< scalar > fvPatchScalarField
A FieldMapper for finite-volume patch fields.
virtual void write(Ostream &) const
Write.
void writeLocalEntries(Ostream &) const
Write local wall function variables.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
TypeName("atmNutUWallFunction")
Runtime type information.
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.
This boundary condition provides a wall constraint on the turbulent viscosity (i.e. nut) based on velocity (i.e. U) for atmospheric boundary layer modelling. It is designed to be used in conjunction with the atmBoundaryLayerInletVelocity boundary condition.