Go to the documentation of this file.
31 #include "twoPhaseSystem.H"
42 template<
class BasicTurbulenceModel>
51 const word& propertiesName,
67 gasTurbulencePtr_(
nullptr),
81 this->printCoeffs(
type);
88 template<
class BasicTurbulenceModel>
93 Cmub_.readIfPresent(this->coeffDict());
102 template<
class BasicTurbulenceModel>
103 const PhaseCompressibleTurbulenceModel
105 typename BasicTurbulenceModel::transportModel
107 kOmegaSSTSato<BasicTurbulenceModel>::gasTurbulence()
const
109 if (!gasTurbulencePtr_)
113 const transportModel& liquid = this->transport();
114 const twoPhaseSystem&
fluid =
115 refCast<const twoPhaseSystem>(liquid.fluid());
116 const transportModel& gas =
fluid.otherPhase(liquid);
120 .lookupObject<PhaseCompressibleTurbulenceModel<transportModel>>
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)
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)
const dimensionedScalar alpha
static const word propertiesName
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
BasicTurbulenceModel::transportModel transportModel
Generic dimensioned Type class.
Implementation of the k-omega-SST turbulence model for dispersed bubbly flows with Sato (1981) bubble...
Base-class for all transport models used by the incompressible turbulence models.
GeometricField< vector, fvPatchField, volMesh > volVectorField
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)
virtual void correctNut()
static word groupName(StringType base, const word &group)
Generic GeometricField class.