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