31#include "twoPhaseSystem.H"
42template<
class BasicTurbulenceModel>
51 const word& propertiesName,
67 gasTurbulencePtr_(nullptr),
81 this->printCoeffs(
type);
88template<
class BasicTurbulenceModel>
93 Cmub_.readIfPresent(this->coeffDict());
102template<
class BasicTurbulenceModel>
105 typename BasicTurbulenceModel::transportModel
109 if (!gasTurbulencePtr_)
115 refCast<const twoPhaseSystem>(
liquid.fluid());
130 return *gasTurbulencePtr_;
134template<
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)
157 *(
mag(this->U_ - gasTurbulence.
U()));
162 BasicTurbulenceModel::correctNut();
166template<
class BasicTurbulenceModel>
void correctBoundaryConditions()
Correct boundary field.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
Templated abstract base class for multiphase compressible turbulence models.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
virtual void correctNut()
Implementation of the k-omega-SST turbulence model for dispersed bubbly flows with Sato (1981) bubble...
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::rhoField rhoField
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
BasicTurbulenceModel::transportModel transportModel
virtual bool read()
Read model coefficients if they have changed.
Implementation of the k-omega-SST turbulence model for incompressible and compressible flows.
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.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)