Go to the documentation of this file.
41 template<
class BasicTurbulenceModel>
44 this->nut_ = Ck_*
sqrt(this->
k())*this->
delta();
45 this->nut_.correctBoundaryConditions();
48 BasicTurbulenceModel::correctNut();
54 template<
class BasicTurbulenceModel>
63 const word& propertiesName,
116 if (
type == typeName)
118 this->printCoeffs(
type);
119 this->boundNormalStress(this->R_);
126 template<
class BasicTurbulenceModel>
131 Ck_.readIfPresent(this->coeffDict());
132 Cm_.readIfPresent(this->coeffDict());
133 Ce_.readIfPresent(this->coeffDict());
134 Cs_.readIfPresent(this->coeffDict());
143 template<
class BasicTurbulenceModel>
155 this->runTime_.timeName(),
166 template<
class BasicTurbulenceModel>
177 this->runTime_.timeName(),
185 template<
class BasicTurbulenceModel>
188 if (!this->turbulence_)
229 this->boundNormalStress(
R);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Differential SGS Stress Equation Model for incompressible and compressible flows.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual tmp< volScalarField > omega() const
Return the specific dissipation rate.
A class for handling words, derived from Foam::string.
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
virtual void correctNut()
Update the eddy-viscosity.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
bool read(const char *buf, int32_t &val)
Same as readInt32.
virtual bool read()
Read model coefficients if they have changed.
#define R(A, B, C, D, E, F, K, M)
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
Reynolds-stress turbulence model base class.
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Generic dimensioned Type class.
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::transportModel transportModel
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
BasicTurbulenceModel::rhoField rhoField
dimensionedScalar sqrt(const dimensionedScalar &ds)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
label k
Boltzmann constant.
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
const dimensionedScalar & D
Templated abstract base class for LES SGS models.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
virtual void correct()
Correct sub-grid stress, eddy-Viscosity and related properties.
static const Identity< scalar > I