103 #ifndef kOmegaSSTBase_H 104 #define kOmegaSSTBase_H 115 template<
class TurbulenceModel,
class BasicTurbulenceModel>
179 return F1*(psi1 -
psi2) + psi2;
189 return F1*(psi1 -
psi2) + psi2;
194 return blend(F1, alphaK1_, alphaK2_);
199 return blend(F1, alphaOmega1_, alphaOmega2_);
207 return blend(F1, beta1_, beta2_);
215 return blend(F1, gamma1_, gamma2_);
253 typedef typename BasicTurbulenceModel::alphaField
alphaField;
254 typedef typename BasicTurbulenceModel::rhoField
rhoField;
255 typedef typename BasicTurbulenceModel::transportModel
transportModel;
264 const alphaField&
alpha,
322 this->mesh_.time().timeName(),
virtual ~kOmegaSST()
Destructor.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
tmp< volScalarField > alphaK(const volScalarField &F1) const
tmp< volScalarField > DkEff(const volScalarField &F1) const
Return the effective diffusivity for k.
dimensionedScalar gamma2_
dimensionedScalar betaStar_
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
const dimensionedScalar G
Newtonian constant of gravitation.
BasicTurbulenceModel::alphaField alphaField
Templated abstract base class for turbulence models.
virtual tmp< volScalarField > F2() const
BasicTurbulenceModel::rhoField rhoField
dimensionedScalar gamma1_
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
virtual tmp< fvScalarMatrix > omegaSource() const
virtual tmp< volScalarField > F1(const volScalarField &CDkOmega) const
dimensionedScalar alphaOmega2_
const transportModel & transport() const
Access function to incompressible transport model.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Implementation of the k-omega-SST turbulence model for incompressible and compressible flows...
tmp< volScalarField > blend(const volScalarField &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
virtual tmp< volScalarField > F23() const
tmp< volScalarField::Internal > beta(const volScalarField::Internal &F1) const
const alphaField & alpha() const
Access function to phase fraction.
dimensionedScalar alphaOmega1_
dimensionedScalar alphaK2_
virtual tmp< volScalarField > omega() const
Return the turbulence kinetic energy dissipation rate.
virtual tmp< fvScalarMatrix > Qsas(const volScalarField::Internal &S2, const volScalarField::Internal &gamma, const volScalarField::Internal &beta) const
tmp< volScalarField::Internal > gamma(const volScalarField::Internal &F1) const
dimensionedScalar alphaK1_
virtual tmp< volScalarField::Internal > Pk(const volScalarField::Internal &G) const
Return k production rate.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual tmp< volScalarField > F3() const
virtual tmp< fvScalarMatrix > kSource() const
tmp< volScalarField > DomegaEff(const volScalarField &F1) const
Return the effective diffusivity for omega.
tmp< volScalarField > alphaOmega(const volScalarField &F1) const
virtual tmp< volScalarField::Internal > epsilonByk(const volScalarField::Internal &F1, const volScalarField::Internal &F2) const
Return epsilon/k which for standard RAS is betaStar*omega.
A class for managing temporary objects.
const volScalarField & y_
Wall distance.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual bool read()
Re-read model coefficients if they have changed.
BasicTurbulenceModel::transportModel transportModel
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual void correctNut()