Go to the documentation of this file.
42 template<
class BasicTurbulenceModel>
45 this->nut_ = Ck_*
sqrt(this->
k())*this->
delta();
46 this->nut_.correctBoundaryConditions();
49 BasicTurbulenceModel::correctNut();
55 template<
class BasicTurbulenceModel>
64 const word& propertiesName,
117 if (
type == typeName)
119 this->printCoeffs(
type);
120 this->boundNormalStress(this->R_);
127 template<
class BasicTurbulenceModel>
132 Ck_.readIfPresent(this->coeffDict());
133 Cm_.readIfPresent(this->coeffDict());
134 Ce_.readIfPresent(this->coeffDict());
135 Cs_.readIfPresent(this->coeffDict());
144 template<
class BasicTurbulenceModel>
147 if (!this->turbulence_)
188 this->boundNormalStress(
R);
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)
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.
A class for managing temporary objects.
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)
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.
const dimensionedScalar & D
Templated abstract base class for LES SGS models.
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