43 template<
class BasicTurbulenceModel>
52 const word& propertiesName,
80 this->printCoeffs(
type);
87 template<
class BasicTurbulenceModel>
92 Cg_.readIfPresent(this->coeffDict());
101 template<
class BasicTurbulenceModel>
109 (Cg_*this->Cmu_)*this->alpha_*this->k_*(
g &
fvc::grad(this->rho_))
110 /(this->epsilon_ + this->epsilonMin_);
114 template<
class BasicTurbulenceModel>
121 if (
mag(
g.value()) > SMALL)
130 template<
class BasicTurbulenceModel>
137 if (
mag(
g.value()) > SMALL)
144 mag(this->U_ - gHat*v)
tmp< volScalarField > Gcoef() const
virtual tmp< fvScalarMatrix > epsilonSource() const
dimensionedScalar tanh(const dimensionedScalar &ds)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
virtual tmp< fvScalarMatrix > kSource() const
BasicTurbulenceModel::rhoField rhoField
Additional buoyancy generation/dissipation term applied to the k and epsilon equations of the standar...
virtual tmp< fvScalarMatrix > epsilonSource() const
Generic dimensioned Type class.
virtual tmp< fvScalarMatrix > kSource() const
Macros for easy insertion into run-time selection tables.
virtual bool read()
Re-read model coefficients if they have changed.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Standard k-epsilon turbulence model for incompressible and compressible flows including rapid distort...
Calculate the gradient of the given field.
A class for handling words, derived from Foam::string.
zeroField SuSp(const Foam::zero, const GeometricField< Type, fvPatchField, volMesh > &)
A no-op source.
const uniformDimensionedVectorField & g
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
static const gravity & New(const word &name, const Time &runTime)
Return named gravity field cached or construct on Time.
BasicTurbulenceModel::alphaField alphaField
virtual bool read()
Re-read model coefficients if they have changed.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
BasicTurbulenceModel::transportModel transportModel
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
const dimensionSet dimVelocity