89#ifndef atmOmegaWallFunctionFvPatchScalarField_H
90#define atmOmegaWallFunctionFvPatchScalarField_H
113 autoPtr<PatchFunction1<scalar>>
z0_;
204 virtual void autoMap(
const fvPatchFieldMapper&);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This boundary condition provides a wall constraint on the specific dissipation rate (i....
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
TypeName("atmOmegaWallFunction")
Runtime type information.
virtual void calculate(const turbulenceModel &turbulence, const List< scalar > &cornerWeights, const fvPatch &patch, scalarField &G, scalarField &omega)
Calculate the omega and G.
autoPtr< PatchFunction1< scalar > > z0_
Surface roughness length field [m].
virtual tmp< fvPatchField< scalar > > clone(const DimensionedField< scalar, volMesh > &iF) const
Clone with an internal field reference.
virtual tmp< fvPatchField< scalar > > clone() const
Return a clone.
void writeLocalEntries(Ostream &) const
Write local wall function variables.
atmOmegaWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual ~atmOmegaWallFunctionFvPatchScalarField()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const fvPatch & patch() const noexcept
Return the patch.
A FieldMapper for finite-volume patch fields.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a wall function for the specific dissipation rate (i....
omegaWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
scalarField & G(bool init=false)
Return non-const access to the master's G field.
scalarField & omega(bool init=false)
Return non-const access to the master's omega field.
A class for managing temporary objects.
Abstract base class for turbulence models (RAS, LES and laminar).
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
fvPatchField< scalar > fvPatchScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.