38 template<
class BasicTurbulenceModel>
39 SmagorinskyZhang<BasicTurbulenceModel>::SmagorinskyZhang
47 const word& propertiesName,
63 gasTurbulencePtr_(
nullptr),
77 this->printCoeffs(type);
84 template<
class BasicTurbulenceModel>
89 Cmub_.readIfPresent(this->coeffDict());
100 template<
class BasicTurbulenceModel>
103 typename BasicTurbulenceModel::transportModel
107 if (!gasTurbulencePtr_)
113 refCast<const twoPhaseSystem>(liquid.fluid());
128 return *gasTurbulencePtr_;
132 template<
class BasicTurbulenceModel>
136 this->gasTurbulence();
143 *(
mag(this->U_ - gasTurbulence.
U()));
145 this->nut_.correctBoundaryConditions();
148 BasicTurbulenceModel::correctNut();
BasicTurbulenceModel::transportModel transportModel
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
The Smagorinsky SGS model including bubble-generated turbulence.
const volVectorField & U() const
Access function to velocity field.
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
Generic dimensioned Type class.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
The Smagorinsky SGS model.
Class which solves the volume fraction equations for two phases.
const transportModel & transport() const
Access function to incompressible transport model.
BasicTurbulenceModel::rhoField rhoField
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
const alphaField & alpha() const
Access function to phase fraction.
Templated abstract base class for multiphase compressible turbulence models.
const phaseModel & otherPhase(const phaseModel &phase) const
Constant access the phase not given as an argument.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
virtual bool read()
Read model coefficients if they have changed.
dimensioned< scalar > mag(const dimensioned< Type > &)
static options & New(const fvMesh &mesh)
Construct fvOptions and register to datbase if not present.
const objectRegistry & db() const
Return the local objectRegistry.
virtual void correctNut()
Update the SGS eddy viscosity.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
BasicTurbulenceModel::alphaField alphaField