kOmegaSSTDES< BasicTurbulenceModel > Class Template Reference

k-omega-SST DES turbulence model for incompressible and compressible flows More...

Inheritance diagram for kOmegaSSTDES< BasicTurbulenceModel >:
[legend]
Collaboration diagram for kOmegaSSTDES< BasicTurbulenceModel >:
[legend]

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >
typedef BasicEddyViscosityModel::alphaField alphaField
 
typedef BasicEddyViscosityModel::rhoField rhoField
 
typedef BasicEddyViscosityModel::transportModel transportModel
 

Public Member Functions

 TypeName ("kOmegaSSTDES")
 Runtime type information. More...
 
 kOmegaSSTDES (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
 Construct from components. More...
 
virtual ~kOmegaSSTDES ()=default
 Destructor. More...
 
virtual bool read ()
 Re-read model coefficients if they have changed. More...
 
virtual tmp< volScalarFieldLESRegion () const
 Return the LES field indicator. More...
 
- Public Member Functions inherited from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >
 kOmegaSSTBase (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 Construct from components. More...
 
virtual ~kOmegaSSTBase ()=default
 Destructor. More...
 
virtual bool read ()
 Re-read model coefficients if they have changed. More...
 
tmp< volScalarFieldDkEff (const volScalarField &F1) const
 Return the effective diffusivity for k. More...
 
tmp< volScalarFieldDomegaEff (const volScalarField &F1) const
 Return the effective diffusivity for omega. More...
 
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy. More...
 
virtual tmp< volScalarFieldomega () const
 Return the turbulence kinetic energy dissipation rate. More...
 
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity. More...
 

Protected Member Functions

virtual tmp< volScalarFieldCDES (const volScalarField &F1) const
 Blending for CDES parameter. More...
 
virtual void correctNut (const volScalarField &S2)
 
virtual void correctNut ()
 
virtual tmp< volScalarFielddTilda (const volScalarField &magGradU, const volScalarField &CDES) const
 Length scale. More...
 
virtual tmp< volScalarField::InternalepsilonByk (const volScalarField &F1, const volTensorField &gradU) const
 Return epsilon/k. More...
 
virtual tmp< volScalarField::InternalGbyNu (const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
 Return G/nu. More...
 
- Protected Member Functions inherited from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >
void setDecayControl (const dictionary &dict)
 
virtual tmp< volScalarFieldF1 (const volScalarField &CDkOmega) const
 
virtual tmp< volScalarFieldF2 () const
 
virtual tmp< volScalarFieldF3 () const
 
virtual tmp< volScalarFieldF23 () const
 
tmp< volScalarFieldblend (const volScalarField &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
 
tmp< volScalarField::Internalblend (const volScalarField::Internal &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
 
tmp< volScalarFieldalphaK (const volScalarField &F1) const
 
tmp< volScalarFieldalphaOmega (const volScalarField &F1) const
 
tmp< volScalarField::Internalbeta (const volScalarField::Internal &F1) const
 
tmp< volScalarField::Internalgamma (const volScalarField::Internal &F1) const
 
virtual void correctNut (const volScalarField &S2)
 
virtual void correctNut ()
 
virtual tmp< volScalarField::InternalPk (const volScalarField::Internal &G) const
 Return k production rate. More...
 
virtual tmp< volScalarField::InternalepsilonByk (const volScalarField &F1, const volTensorField &gradU) const
 Return epsilon/k which for standard RAS is betaStar*omega. More...
 
virtual tmp< volScalarField::InternalGbyNu (const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
 Return G/nu. More...
 
virtual tmp< fvScalarMatrixkSource () const
 
virtual tmp< fvScalarMatrixomegaSource () const
 
virtual tmp< fvScalarMatrixQsas (const volScalarField::Internal &S2, const volScalarField::Internal &gamma, const volScalarField::Internal &beta) const
 

Protected Attributes

dimensionedScalar kappa_
 
dimensionedScalar CDESkom_
 
dimensionedScalar CDESkeps_
 
- Protected Attributes inherited from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >
dimensionedScalar alphaK1_
 
dimensionedScalar alphaK2_
 
dimensionedScalar alphaOmega1_
 
dimensionedScalar alphaOmega2_
 
dimensionedScalar gamma1_
 
dimensionedScalar gamma2_
 
dimensionedScalar beta1_
 
dimensionedScalar beta2_
 
dimensionedScalar betaStar_
 
dimensionedScalar a1_
 
dimensionedScalar b1_
 
dimensionedScalar c1_
 
Switch F3_
 Flag to include the F3 term. More...
 
const volScalarFieldy_
 Wall distance. More...
 
volScalarField k_
 
volScalarField omega_
 
Switch decayControl_
 Flag to include the decay control. More...
 
dimensionedScalar kInf_
 
dimensionedScalar omegaInf_
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::LESModels::kOmegaSSTDES< BasicTurbulenceModel >

k-omega-SST DES turbulence model for incompressible and compressible flows

Reference:

    Strelets, M. (2001)
    Detached Eddy Simulation of Massively Separated Flows,
    39th AIAA Aerospace Sciences Meeting and Exhibit, Reno, NV
Note
The default values of the DES constants implemented are code-specific values calibrated for OpenFOAM using decaying isotropic turbulence, and hence deviate slightly from the values suggested in the reference publication.
Source files

Definition at line 71 of file kOmegaSSTDES.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 131 of file kOmegaSSTDES.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 132 of file kOmegaSSTDES.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 133 of file kOmegaSSTDES.H.

Constructor & Destructor Documentation

◆ kOmegaSSTDES()

kOmegaSSTDES ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word propertiesName = turbulenceModel::propertiesName,
const word type = typeName 
)

Construct from components.

Definition at line 99 of file kOmegaSSTDES.C.

References Foam::type().

Here is the call graph for this function:

◆ ~kOmegaSSTDES()

virtual ~kOmegaSSTDES ( )
virtualdefault

Destructor.

Member Function Documentation

◆ CDES()

virtual tmp< volScalarField > CDES ( const volScalarField F1) const
inlineprotectedvirtual

Blending for CDES parameter.

Definition at line 98 of file kOmegaSSTDES.H.

References kOmegaSSTBase< DESModel< BasicTurbulenceModel > >::blend(), kOmegaSSTDES< BasicTurbulenceModel >::CDESkeps_, and kOmegaSSTDES< BasicTurbulenceModel >::CDESkom_.

Here is the call graph for this function:

◆ correctNut() [1/2]

void correctNut ( const volScalarField S2)
protectedvirtual

Reimplemented from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >.

Definition at line 41 of file kOmegaSSTDES.C.

◆ correctNut() [2/2]

void correctNut
protectedvirtual

Reimplemented from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >.

Definition at line 52 of file kOmegaSSTDES.C.

References Foam::fvc::grad(), Foam::magSqr(), and Foam::symm().

Here is the call graph for this function:

◆ dTilda()

tmp< volScalarField > dTilda ( const volScalarField magGradU,
const volScalarField CDES 
) const
protectedvirtual

Length scale.

Reimplemented in kOmegaSSTDDES< BasicTurbulenceModel >, and kOmegaSSTIDDES< BasicTurbulenceModel >.

Definition at line 59 of file kOmegaSSTDES.C.

References delta, k, Foam::min(), and Foam::sqrt().

Here is the call graph for this function:

◆ epsilonByk()

tmp< volScalarField::Internal > epsilonByk ( const volScalarField F1,
const volTensorField gradU 
) const
protectedvirtual

Return epsilon/k.

Reimplemented from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >.

Definition at line 73 of file kOmegaSSTDES.C.

References F1, Foam::mag(), and Foam::sqrt().

Here is the call graph for this function:

◆ GbyNu()

tmp< volScalarField::Internal > GbyNu ( const volScalarField::Internal GbyNu0,
const volScalarField::Internal F2,
const volScalarField::Internal S2 
) const
protectedvirtual

Return G/nu.

Reimplemented from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >.

Definition at line 85 of file kOmegaSSTDES.C.

◆ TypeName()

TypeName ( "kOmegaSSTDES< BasicTurbulenceModel >"  )

Runtime type information.

◆ read()

bool read
virtual

Re-read model coefficients if they have changed.

Reimplemented from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >.

Reimplemented in kOmegaSSTDDES< BasicTurbulenceModel >, and kOmegaSSTIDDES< BasicTurbulenceModel >.

Definition at line 161 of file kOmegaSSTDES.C.

References Foam::read().

Here is the call graph for this function:

◆ LESRegion()

tmp< volScalarField > LESRegion
virtual

Return the LES field indicator.

Definition at line 177 of file kOmegaSSTDES.C.

References F1, Foam::fvc::grad(), k, Foam::mag(), Foam::neg(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::sqrt(), and U.

Here is the call graph for this function:

Member Data Documentation

◆ kappa_

dimensionedScalar kappa_
protected

Definition at line 90 of file kOmegaSSTDES.H.

◆ CDESkom_

dimensionedScalar CDESkom_
protected

Definition at line 91 of file kOmegaSSTDES.H.

Referenced by kOmegaSSTDES< BasicTurbulenceModel >::CDES().

◆ CDESkeps_

dimensionedScalar CDESkeps_
protected

Definition at line 92 of file kOmegaSSTDES.H.

Referenced by kOmegaSSTDES< BasicTurbulenceModel >::CDES().


The documentation for this class was generated from the following files: