Go to the documentation of this file.
41 template<
class BasicTurbulenceModel>
42 SmagorinskyZhang<BasicTurbulenceModel>::SmagorinskyZhang
50 const word& propertiesName,
66 gasTurbulencePtr_(
nullptr),
80 this->printCoeffs(
type);
87 template<
class BasicTurbulenceModel>
92 Cmub_.readIfPresent(this->coeffDict());
101 template<
class BasicTurbulenceModel>
104 typename BasicTurbulenceModel::transportModel
108 if (!gasTurbulencePtr_)
114 refCast<const twoPhaseSystem>(liquid.fluid());
129 return *gasTurbulencePtr_;
133 template<
class BasicTurbulenceModel>
137 this->gasTurbulence();
143 + Cmub_*gasTurbulence.transport().d()*gasTurbulence.alpha()
144 *(
mag(this->U_ - gasTurbulence.U()));
146 this->nut_.correctBoundaryConditions();
149 BasicTurbulenceModel::correctNut();
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.
Class which solves the volume fraction equations for two phases.
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
BasicTurbulenceModel::rhoField rhoField
Templated abstract base class for multiphase compressible turbulence models.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
static const word propertiesName
Default name of the turbulence properties dictionary.
BasicTurbulenceModel::alphaField alphaField
The Smagorinsky SGS model including bubble-generated turbulence.
Generic dimensioned Type class.
virtual bool read()
Read model coefficients if they have changed.
Base-class for all transport models used by the incompressible turbulence models.
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
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 word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
The Smagorinsky SGS model.
BasicTurbulenceModel::transportModel transportModel
virtual void correctNut()
Update the SGS eddy viscosity.