Go to the documentation of this file.
40 template<
class BasicTurbulenceModel>
49 const word& propertiesName,
77 this->printCoeffs(
type);
84 template<
class BasicTurbulenceModel>
89 Cg_.readIfPresent(this->coeffDict());
100 template<
class BasicTurbulenceModel>
105 this->mesh_.objectRegistry::template
106 lookupObject<uniformDimensionedVectorField>(
"g");
109 (Cg_*this->Cmu_)*this->alpha_*this->k_*(
g &
fvc::grad(this->rho_))
110 /(this->epsilon_ + this->epsilonMin_);
114 template<
class BasicTurbulenceModel>
119 this->mesh_.objectRegistry::template
120 lookupObject<uniformDimensionedVectorField>(
"g");
122 if (
mag(
g.value()) > SMALL)
133 template<
class BasicTurbulenceModel>
138 this->mesh_.objectRegistry::template
139 lookupObject<uniformDimensionedVectorField>(
"g");
141 if (
mag(
g.value()) > SMALL)
148 mag(this->U_ - gHat*v)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from string.
BasicTurbulenceModel::rhoField rhoField
A class for managing temporary objects.
const dimensionSet dimVelocity
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual tmp< fvScalarMatrix > kSource() const
const dimensionedVector & g
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual bool read()
Re-read model coefficients if they have changed.
buoyantKEpsilon(const buoyantKEpsilon &)
dimensionedScalar tanh(const dimensionedScalar &ds)
tmp< fvMatrix< Type > > SuSp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual tmp< fvScalarMatrix > epsilonSource() const
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
virtual tmp< fvScalarMatrix > epsilonSource() const
BasicTurbulenceModel::transportModel transportModel
Calculate the gradient of the given field.
BasicTurbulenceModel::alphaField alphaField
virtual tmp< fvScalarMatrix > kSource() const
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
Standard k-epsilon turbulence model for incompressible and compressible flows including rapid distort...
tmp< volScalarField > Gcoef() const