41template<
class BasicTurbulenceModel>
50 const word& propertiesName,
66 gasTurbulencePtr_(nullptr),
80 this->printCoeffs(
type);
87template<
class BasicTurbulenceModel>
92 Cmub_.readIfPresent(this->coeffDict());
101template<
class BasicTurbulenceModel>
104 typename BasicTurbulenceModel::transportModel
108 if (!gasTurbulencePtr_)
114 refCast<const twoPhaseSystem>(
liquid.fluid());
129 return *gasTurbulencePtr_;
133template<
class BasicTurbulenceModel>
137 this->gasTurbulence();
144 *(
mag(this->U_ - gasTurbulence.
U()));
149 BasicTurbulenceModel::correctNut();
void correctBoundaryConditions()
Correct boundary field.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
The Smagorinsky SGS model including bubble-generated turbulence.
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::rhoField rhoField
virtual void correctNut()
Update the SGS eddy viscosity.
BasicTurbulenceModel::transportModel transportModel
virtual bool read()
Read model coefficients if they have changed.
The Smagorinsky SGS model.
Templated abstract base class for multiphase compressible turbulence models.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
const alphaField & alpha() const
Access function to phase fraction.
const transportModel & transport() const
Access function to incompressible transport model.
Generic dimensioned Type class.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Base-class for all transport models used by the incompressible turbulence models.
const volVectorField & U() const
Access function to velocity field.
static const word propertiesName
Default name of the turbulence properties dictionary.
Class which solves the volume fraction equations for two phases.
A class for handling words, derived from Foam::string.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)