35 #ifndef momentumTransportModel_H 36 #define momentumTransportModel_H 115 virtual bool read() = 0;
void operator=(const momentumTransportModel &)=delete
Disallow default bitwise assignment.
const volVectorField & U_
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const surfaceScalarField & alphaRhoPhi_
virtual tmp< volSymmTensorField > sigma() const =0
Return the stress tensor [m^2/s^2].
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual tmp< volScalarField > mu() const =0
Return the laminar dynamic viscosity.
const Time & time() const
virtual tmp< volScalarField > muEff() const =0
Return the effective dynamic viscosity.
virtual void validate()
Validate the turbulence fields after construction.
const nearWallDist & y() const
Return the near wall distances.
Generic GeometricField class.
word group() const
Return group (extension part of name)
const fvMesh & mesh() const
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
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.
const surfaceScalarField & phi_
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
A class for handling words, derived from string.
static IOdictionary readModelDict(const objectRegistry &obr, const word &group, bool registerObject=false)
nearWallDist y_
Near wall distance boundary field.
Distance calculation for cells with face on a wall. Searches pointNeighbours to find closest...
virtual const dictionary & coeffDict() const =0
Const access to the coefficients dictionary.
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
TypeName("momentumTransport")
Runtime type information.
momentumTransportModel(const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi)
Construct from components.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
virtual tmp< volScalarField > mut() const =0
Return the turbulence dynamic viscosity.
Abstract base class for turbulence models (RAS, LES and laminar).
virtual bool read()=0
Read model coefficients if they have changed.
const volVectorField & U() const
Access function to velocity field.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
Forward declarations of fvMatrix specializations.
Mesh data needed to do the Finite Volume discretisation.
virtual ~momentumTransportModel()
Destructor.
word GName() const
Helper function to return the name of the turbulence G field.
static word modelName(Name name, const word &model)
Return the name of the object within the given model.
A class for managing temporary objects.
Registry of regIOobjects.
bool & registerObject()
Register object created from this IOobject with registry if true.
virtual tmp< volScalarField > epsilon() const =0
Return the turbulence kinetic energy dissipation rate.
virtual tmp< volScalarField > nuEff() const =0
Return the effective viscosity.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.