35 #ifndef eddyViscosity_H
36 #define eddyViscosity_H
49 template<
class BasicMomentumTransportModel>
71 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
72 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
80 const word& modelName,
98 virtual bool read() = 0;
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Eddy viscosity turbulence model base class.
BasicMomentumTransportModel::alphaField alphaField
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity.
virtual void validate()
Validate the turbulence fields after construction.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
virtual bool read()=0
Re-read model coefficients if they have changed.
eddyViscosity(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct from components.
virtual ~eddyViscosity()
Destructor.
virtual void correctNut()=0
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
virtual tmp< volSymmTensorField > sigma() const
Return the Reynolds stress tensor [m^2/s^2].
BasicMomentumTransportModel::rhoField rhoField
Linear viscous stress turbulence model base class.
A class for managing temporary objects.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.