117 #ifndef kOmegaSSTBase_H 118 #define kOmegaSSTBase_H 129 template<
class BasicEddyViscosityModel>
132 public BasicEddyViscosityModel
226 tmp<volScalarField::Internal>
beta 302 typedef typename BasicEddyViscosityModel::alphaField
alphaField;
303 typedef typename BasicEddyViscosityModel::rhoField
rhoField;
304 typedef typename BasicEddyViscosityModel::transportModel
transportModel;
362 virtual tmp<volScalarField>
k()
const 368 virtual tmp<volScalarField>
omega()
const virtual tmp< volScalarField > F23() const
virtual tmp< volScalarField::Internal > GbyNu(const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
Return G/nu.
const volScalarField & y_
Wall distance.
virtual tmp< volScalarField::Internal > epsilonByk(const volScalarField &F1, const volTensorField &gradU) const
Return epsilon/k which for standard RAS is betaStar*omega.
tmp< volScalarField::Internal > beta(const volScalarField::Internal &F1) const
tmp< volScalarField > blend(const volScalarField &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
Return the blended field.
virtual tmp< volScalarField::Internal > GbyNu0(const volTensorField &gradU, const volScalarField &S2) const
Return (G/nu)_0.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const dimensionedScalar G
Newtonian constant of gravitation.
tmp< volScalarField > DomegaEff(const volScalarField &F1) const
Return the effective diffusivity for omega.
dimensionedScalar omegaInf_
dimensionedScalar alphaOmega2_
virtual void correctNut()
virtual tmp< volScalarField > omega() const
Return the turbulence kinetic energy dissipation rate.
BasicTurbulenceModel::rhoField rhoField
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
Base class implementation of the k-omega-SST turbulence model for incompressible and compressible flo...
void setDecayControl(const dictionary &dict)
Set decay control with kInf and omegaInf.
virtual tmp< fvScalarMatrix > Qsas(const volScalarField::Internal &S2, const volScalarField::Internal &gamma, const volScalarField::Internal &beta) const
BasicEddyViscosityModel::alphaField alphaField
volScalarField omega_
Specific dissipation rate field [1/s].
BasicTurbulenceModel::transportModel transportModel
virtual tmp< fvScalarMatrix > omegaSource() const
dimensionedScalar alphaK1_
Switch decayControl_
Flag to include the decay control.
kOmegaSSTBase(const kOmegaSSTBase &)=delete
No copy construct.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
BasicEddyViscosityModel::transportModel transportModel
const volScalarField & psi2
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
virtual tmp< volScalarField > S2(const volTensorField &gradU) const
Return square of strain rate.
tmp< volScalarField > DkEff(const volScalarField &F1) const
Return the effective diffusivity for k.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
Switch F3_
Flag to include the F3 term.
dimensionedScalar gamma1_
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
virtual tmp< volScalarField > F2() const
BasicEddyViscosityModel::rhoField rhoField
const volScalarField & psi1
volScalarField k_
Turbulent kinetic energy field [m^2/s^2].
virtual tmp< fvScalarMatrix > kSource() const
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
virtual tmp< volScalarField::Internal > Pk(const volScalarField::Internal &G) const
Return k production rate.
dimensionedScalar betaStar_
tmp< volScalarField > alphaOmega(const volScalarField &F1) const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual bool read()
Re-read model coefficients if they have changed.
dimensionedScalar gamma2_
void operator=(const kOmegaSSTBase &)=delete
No copy assignment.
tmp< volScalarField::Internal > gamma(const volScalarField::Internal &F1) const
virtual tmp< volScalarField > F1(const volScalarField &CDkOmega) const
virtual tmp< volScalarField > F3() const
virtual ~kOmegaSSTBase()=default
Destructor.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
tmp< volScalarField > alphaK(const volScalarField &F1) const
dimensionedScalar alphaK2_
dimensionedScalar alphaOmega1_
BasicTurbulenceModel::alphaField alphaField