130 #ifndef atmNutWallFunctionFvPatchScalarField_H 131 #define atmNutWallFunctionFvPatchScalarField_H 145 class atmNutWallFunctionFvPatchScalarField
147 public nutkWallFunctionFvPatchScalarField
156 autoPtr<PatchFunction1<scalar>> z0_;
164 virtual tmp<scalarField>
calcNut()
const;
182 const DimensionedField<scalar, volMesh>&
189 const DimensionedField<scalar, volMesh>&,
238 virtual void autoMap(
const fvPatchFieldMapper&);
251 virtual void write(Ostream&)
const;
atmNutWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual tmp< scalarField > calcNut() const
Calculate the turbulent viscosity.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
fvPatchField< scalar > fvPatchScalarField
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A FieldMapper for finite-volume patch fields.
This boundary condition provides a wall constraint on the turbulent viscosity (i.e. nut) based on the turbulent kinetic energy (i.e. k) and velocity (i.e. U) for atmospheric boundary layer modelling.
void writeLocalEntries(Ostream &) const
Write local wall function variables.
TypeName("atmNutWallFunction")
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.
virtual tmp< fvPatchField< scalar > > clone() const
Return a clone.
virtual void write(Ostream &) const
Write.