41 #ifndef eddyViscosity_H 42 #define eddyViscosity_H 55 template<
class BasicTurbulenceModel>
77 typedef typename BasicTurbulenceModel::alphaField
alphaField;
78 typedef typename BasicTurbulenceModel::rhoField
rhoField;
79 typedef typename BasicTurbulenceModel::transportModel
transportModel;
87 const word& modelName,
94 const word& propertiesName
105 virtual bool read() = 0;
virtual ~eddyViscosity()=default
Destructor.
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
BasicTurbulenceModel::rhoField rhoField
BasicTurbulenceModel::rhoField rhoField
Linear viscous stress turbulence model base class.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
Eddy viscosity turbulence model base class.
BasicTurbulenceModel::transportModel transportModel
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.
A class for handling words, derived from Foam::string.
virtual void correctNut()=0
BasicTurbulenceModel::alphaField alphaField
virtual void validate()
Validate the turbulence fields after construction.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
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.
BasicTurbulenceModel::alphaField alphaField