60 if (momentumTransport.headerOk())
62 return momentumTransport;
76 if (turbulenceProperties.headerOk())
78 return turbulenceProperties;
82 return momentumTransport;
95 const viscosity& viscosity
104 alphaRhoPhi_(alphaRhoPhi),
106 viscosity_(viscosity)
static word group(const word &name)
Return group (extension part of name)
virtual bool read()
Read object.
Templated form of IOobject providing type information for file reading and header type checking...
virtual void validate()
Validate the turbulence fields after construction.
const volScalarField::Boundary & y() const
Return the near wall distance.
static typeIOobject< IOdictionary > readModelDict(const objectRegistry &obr, const word &group, bool registerObject=false)
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
compressibleMomentumTransportModel momentumTransportModel
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
const word & constant() const
Return constant name.
momentumTransportModel(const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct from components.
const Mesh & mesh() const
Return mesh.
const Time & time() const
Return time.
defineTypeNameAndDebug(combustionModel, 0)
static nearWallDist & New(fvMesh &mesh)
virtual bool read()=0
Read model coefficients if they have changed.
const Time & time() const
Return time.
A class for managing temporary objects.
Registry of regIOobjects.
const objectRegistry & db() const
Return the local objectRegistry.
const volScalarField::Boundary & y() const
Access to the near-wall distances.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.