117#ifndef kOmegaSSTBase_H
118#define kOmegaSSTBase_H
129template<
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
const volScalarField & psi2
const volScalarField & psi1
DimensionedField< scalar, volMesh > Internal
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
tmp< volScalarField::Internal > blend(const volScalarField::Internal &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
Return the internal blended field.
void setDecayControl(const dictionary &dict)
Set decay control with kInf and omegaInf.
volScalarField k_
Turbulent kinetic energy field [m^2/s^2].
tmp< volScalarField::Internal > gamma(const volScalarField::Internal &F1) const
Switch F3_
Flag to include the F3 term.
virtual tmp< volScalarField > F1(const volScalarField &CDkOmega) const
kOmegaSSTBase(const kOmegaSSTBase &)=delete
No copy construct.
dimensionedScalar alphaOmega2_
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
virtual tmp< volScalarField > F2() const
dimensionedScalar gamma2_
virtual tmp< volScalarField > F23() const
BasicEddyViscosityModel::transportModel transportModel
tmp< volScalarField > blend(const volScalarField &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
Return the blended field.
dimensionedScalar omegaInf_
virtual tmp< volScalarField::Internal > GbyNu(const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
Return G/nu.
tmp< volScalarField > alphaK(const volScalarField &F1) const
dimensionedScalar alphaK2_
const volScalarField & y_
Wall distance.
tmp< volScalarField > DomegaEff(const volScalarField &F1) const
Return the effective diffusivity for omega.
tmp< volScalarField > alphaOmega(const volScalarField &F1) const
tmp< volScalarField::Internal > beta(const volScalarField::Internal &F1) const
virtual tmp< volScalarField::Internal > GbyNu0(const volTensorField &gradU, const volScalarField &S2) const
Return (G/nu)_0.
dimensionedScalar alphaK1_
volScalarField omega_
Specific dissipation rate field [1/s].
virtual tmp< fvScalarMatrix > Qsas(const volScalarField::Internal &S2, const volScalarField::Internal &gamma, const volScalarField::Internal &beta) const
Switch decayControl_
Flag to include the decay control.
virtual tmp< fvScalarMatrix > omegaSource() const
virtual void correctNut()
virtual tmp< fvScalarMatrix > kSource() const
virtual ~kOmegaSSTBase()=default
Destructor.
dimensionedScalar alphaOmega1_
virtual tmp< volScalarField::Internal > epsilonByk(const volScalarField &F1, const volTensorField &gradU) const
Return epsilon/k which for standard RAS is betaStar*omega.
virtual tmp< volScalarField::Internal > Pk(const volScalarField::Internal &G) const
Return k production rate.
virtual tmp< volScalarField > omega() const
Return the turbulence kinetic energy dissipation rate.
void operator=(const kOmegaSSTBase &)=delete
No copy assignment.
dimensionedScalar gamma1_
virtual tmp< volScalarField > S2(const volTensorField &gradU) const
Return square of strain rate.
BasicEddyViscosityModel::rhoField rhoField
BasicEddyViscosityModel::alphaField alphaField
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
tmp< volScalarField > DkEff(const volScalarField &F1) const
Return the effective diffusivity for k.
dimensionedScalar betaStar_
virtual bool read()
Re-read model coefficients if they have changed.
virtual tmp< volScalarField > F3() const
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
GeometricField< tensor, fvPatchField, volMesh > volTensorField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)