100 #ifndef kOmegaSSTBase_H 101 #define kOmegaSSTBase_H 112 template<
class MomentumTransportModel,
class BasicMomentumTransportModel>
169 return F1*(psi1 -
psi2) + psi2;
179 return F1*(psi1 -
psi2) + psi2;
184 return blend(F1, alphaK1_, alphaK2_);
189 return blend(F1, alphaOmega1_, alphaOmega2_);
197 return blend(F1, beta1_, beta2_);
205 return blend(F1, gamma1_, gamma2_);
243 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
244 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
245 typedef typename BasicMomentumTransportModel::transportModel
transportModel;
254 const alphaField&
alpha,
282 alphaK(F1)*this->nut_ + this->nu()
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.
BasicMomentumTransportModel::transportModel transportModel
tmp< volScalarField > alphaK(const volScalarField &F1) const
tmp< volScalarField > DkEff(const volScalarField &F1) const
Return the effective diffusivity for k.
const transportModel & transport() const
Access function to incompressible transport model.
dimensionedScalar gamma2_
kOmegaSST(const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
Construct from components.
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.
virtual tmp< volScalarField > F2() const
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
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/any.
virtual tmp< fvScalarMatrix > omegaSource() const
const dimensionedScalar G
Newtonian constant of gravitation.
virtual tmp< volScalarField > F1(const volScalarField &CDkOmega) const
dimensionedScalar alphaOmega2_
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
A class for handling words, derived from string.
virtual tmp< volScalarField > F23() const
tmp< volScalarField::Internal > beta(const volScalarField::Internal &F1) const
dimensionedScalar alphaOmega1_
const alphaField & alpha() const
Access function to phase fraction.
BasicMomentumTransportModel::rhoField rhoField
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.
BasicMomentumTransportModel::alphaField alphaField
const volScalarField & psi2
fileType type(const fileName &, const bool checkVariants=true, 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.
void operator=(const kOmegaSST &)=delete
Disallow default bitwise assignment.
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.
Templated abstract base class for turbulence models.
virtual bool read()
Re-read model coefficients if they have changed.
virtual void correctNut()