45Foam::turbulenceModel::turbulenceModel
50 const word& propertiesName
57 IOobject::groupName(propertiesName, alphaRhoPhi.group()),
69 alphaRhoPhi_(alphaRhoPhi),
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const objectRegistry & db() const noexcept
Return the local objectRegistry.
static word group(const word &name)
Return group (extension part of name).
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
virtual bool read()
Read object.
A class for managing temporary objects.
Abstract base class for turbulence models (RAS, LES and laminar).
const volVectorField & U() const
Access function to velocity field.
static const word propertiesName
Default name of the turbulence properties dictionary.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
const Time & time() const
nearWallDist y_
Near wall distance boundary field.
virtual void validate()
Validate the turbulence fields after construction.
const surfaceScalarField & phi_
virtual bool read()=0
Read model coefficients if they have changed.
const volVectorField & U_
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
const fvMesh & mesh() const
const surfaceScalarField & alphaRhoPhi_
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Different types of constants.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField