Go to the documentation of this file.
31 #include "twoPhaseSystem.H"
42 template<
class BasicTurbulenceModel>
43 kOmegaSSTSato<BasicTurbulenceModel>::kOmegaSSTSato
51 const word& propertiesName,
67 gasTurbulencePtr_(
nullptr),
81 this->printCoeffs(
type);
88 template<
class BasicTurbulenceModel>
93 Cmub_.readIfPresent(this->coeffDict());
102 template<
class BasicTurbulenceModel>
105 typename BasicTurbulenceModel::transportModel
109 if (!gasTurbulencePtr_)
115 refCast<const twoPhaseSystem>(
liquid.fluid());
130 return *gasTurbulencePtr_;
134 template<
class BasicTurbulenceModel>
141 this->gasTurbulence();
145 pow(this->betaStar_, 0.25)*this->y_*
sqrt(this->k_)/this->
nu()
152 this->a1_*this->omega_,
153 this->b1_*this->F23()*
sqrt(S2)
156 *Cmub_*gasTurbulence.transport().d()*gasTurbulence.alpha()
157 *(
mag(this->U_ - gasTurbulence.U()));
159 this->nut_.correctBoundaryConditions();
162 BasicTurbulenceModel::correctNut();
166 template<
class BasicTurbulenceModel>
BasicTurbulenceModel::rhoField rhoField
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.
Implementation of the k-omega-SST turbulence model for incompressible and compressible flows.
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: [].
virtual bool read()
Read model coefficients if they have changed.
static const word propertiesName
Default name of the turbulence properties dictionary.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
dimensionedScalar exp(const dimensionedScalar &ds)
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
BasicTurbulenceModel::transportModel transportModel
Generic dimensioned Type class.
Implementation of the k-omega-SST turbulence model for dispersed bubbly flows with Sato (1981) bubble...
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
Base-class for all transport models used by the incompressible turbulence models.
BasicTurbulenceModel::alphaField alphaField
dimensionedSymmTensor sqr(const dimensionedVector &dv)
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.
virtual void correctNut()
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.