60 #ifndef realizableKE_H
61 #define realizableKE_H
77 template<
class BasicMomentumTransportModel>
133 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
134 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
171 (this->
nut_/sigmak_ + this->nu())
181 (this->
nut_/sigmaEps_ + this->nu())
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
Realizable k-epsilon turbulence model for incompressible and compressible flows.
BasicMomentumTransportModel::alphaField alphaField
tmp< volScalarField > rCmu(const volTensorField &gradU, const volScalarField &S2, const volScalarField &magS)
virtual tmp< fvScalarMatrix > epsilonSource() const
Source term for the epsilon equation.
dimensionedScalar sigmak_
TypeName("realizableKE")
Runtime type information.
tmp< volScalarField > DkEff() const
Return the effective diffusivity for k.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
dimensionedScalar sigmaEps_
virtual tmp< volScalarField > omega() const
Return the turbulence specific dissipation rate.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
void boundEpsilon()
Bound epsilon.
tmp< volScalarField > DepsilonEff() const
Return the effective diffusivity for epsilon.
virtual void correctNut()
Correct the eddy-viscosity nut.
virtual ~realizableKE()
Destructor.
virtual tmp< fvScalarMatrix > kSource() const
Source term for the k equation.
realizableKE(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
virtual bool read()
Re-read model coefficients if they have changed.
BasicMomentumTransportModel::rhoField rhoField
Eddy viscosity turbulence model base class.
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField
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))
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.