Go to the documentation of this file.
37 template<
class BasicTurbulenceModel>
46 const word& propertiesName,
62 gasTurbulencePtr_(NULL),
76 this->printCoeffs(
type);
83 template<
class BasicTurbulenceModel>
88 Cmub_.readIfPresent(this->coeffDict());
99 template<
class BasicTurbulenceModel>
102 typename BasicTurbulenceModel::transportModel
106 if (!gasTurbulencePtr_)
112 refCast<const twoPhaseSystem>(liquid.fluid());
127 return *gasTurbulencePtr_;
131 template<
class BasicTurbulenceModel>
135 this->gasTurbulence();
142 *(
mag(this->U_ - gasTurbulence.
U()));
144 this->nut_.correctBoundaryConditions();
static word groupName(Name name, const word &group)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from string.
Class which solves the volume fraction equations for two phases.
BasicTurbulenceModel::rhoField rhoField
Templated abstract base class for multiphase compressible turbulence models.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
SmagorinskyZhang(const SmagorinskyZhang &)
static const word propertiesName
Default name of the turbulence properties dictionary.
BasicTurbulenceModel::alphaField alphaField
const alphaField & alpha() const
Access function to phase fraction.
dimensioned< scalar > mag(const dimensioned< Type > &)
Generic dimensioned Type class.
virtual bool read()
Read model coefficients if they have changed.
const transportModel & transport() const
Access function to incompressible transport model.
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
The Smagorinsky SGS model.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
BasicTurbulenceModel::transportModel transportModel
const volVectorField & U() const
Access function to velocity field.
const PhaseCompressibleTurbulenceModel< typename BasicTurbulenceModel::transportModel > & gasTurbulence() const
Return the turbulence model for the gas phase.
virtual void correctNut()
Update the SGS eddy viscosity.