38 #ifndef eddyViscosity_H 39 #define eddyViscosity_H 52 template<
class BasicTurbulenceModel>
74 typedef typename BasicTurbulenceModel::alphaField
alphaField;
75 typedef typename BasicTurbulenceModel::rhoField
rhoField;
76 typedef typename BasicTurbulenceModel::transportModel
transportModel;
84 const word& modelName,
85 const alphaField&
alpha,
90 const transportModel& transport,
91 const word& propertiesName
103 virtual bool read() = 0;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
BasicTurbulenceModel::rhoField rhoField
Linear viscous stress turbulence model base class.
Eddy viscosity turbulence model base class.
BasicTurbulenceModel::transportModel transportModel
virtual bool read()=0
Re-read model coefficients if they have changed.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
A class for handling words, derived from string.
virtual void correctNut()=0
BasicTurbulenceModel::alphaField alphaField
virtual ~eddyViscosity()
Destructor.
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity.
virtual void validate()
Validate the turbulence fields after construction.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
volScalarField & evNut()
Return non-const access to the turbulence viscosity.
eddyViscosity(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct from components.