60 #ifndef realizableKE_H 61 #define realizableKE_H 77 template<
class BasicTurbulenceModel>
124 typedef typename BasicTurbulenceModel::alphaField
alphaField;
125 typedef typename BasicTurbulenceModel::rhoField
rhoField;
126 typedef typename BasicTurbulenceModel::transportModel
transportModel;
137 const alphaField&
alpha,
142 const transportModel& transport,
164 (this->
nut_/sigmak_ + this->
nu())
174 (this->
nut_/sigmaEps_ + this->
nu())
dimensionedScalar sigmaEps_
Eddy viscosity turbulence model base class.
virtual tmp< fvScalarMatrix > kSource() const
virtual bool read()
Re-read model coefficients if they have changed.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Mesh &, const dimensionSet &, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return a temporary field constructed from name, mesh, dimensionSet.
tmp< volScalarField > rCmu(const volTensorField &gradU, const volScalarField &S2, const volScalarField &magS)
Realizable k-epsilon turbulence model for incompressible and compressible flows.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
tmp< volScalarField > DepsilonEff() const
Return the effective diffusivity for epsilon.
BasicTurbulenceModel::rhoField rhoField
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
dimensionedScalar sigmak_
tmp< volScalarField > DkEff() const
Return the effective diffusivity for k.
BasicTurbulenceModel::alphaField alphaField
virtual tmp< fvScalarMatrix > epsilonSource() const
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
virtual void correctNut()
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
TypeName("realizableKE")
Runtime type information.
realizableKE(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
Construct from components.
virtual ~realizableKE()
Destructor.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
A class for managing temporary objects.
BasicTurbulenceModel::transportModel transportModel
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.