Loading...
Searching...
No Matches
kOmegaSSTDES< BasicTurbulenceModel > Class Template Reference

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

#include <kOmegaSSTDES.H>

Inheritance diagram for kOmegaSSTDES< BasicTurbulenceModel >:
Collaboration diagram for kOmegaSSTDES< BasicTurbulenceModel >:

Public Types

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

Public Member Functions

 TypeName ("kOmegaSSTDES")
 Runtime type information.
 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.
virtual ~kOmegaSSTDES ()=default
 Destructor.
virtual bool read ()
 Re-read model coefficients if they have changed.
virtual tmp< volScalarFieldlengthScaleRAS () const
 RAS length scale.
virtual tmp< volScalarFieldlengthScaleLES (const volScalarField &CDES) const
 LES length scale.
virtual tmp< volScalarFieldLESRegion () const
 Return the LES field indicator.
Public Member Functions inherited from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >
 kOmegaSSTBase (const kOmegaSSTBase &)=delete
 No copy construct.
void operator= (const kOmegaSSTBase &)=delete
 No copy assignment.
virtual ~kOmegaSSTBase ()=default
 Destructor.
tmp< volScalarFieldDkEff (const volScalarField &F1) const
 Return the effective diffusivity for k.
tmp< volScalarFieldDomegaEff (const volScalarField &F1) const
 Return the effective diffusivity for omega.
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy.
virtual tmp< volScalarFieldomega () const
 Return the turbulence kinetic energy dissipation rate.
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity.

Protected Member Functions

virtual tmp< volScalarFieldCDES (const volScalarField &F1) const
 Blending for CDES parameter.
virtual void correctNut (const volScalarField &S2)
virtual void correctNut ()
tmp< volScalarFieldr (const volScalarField &nur, const volScalarField &magGradU) const
virtual tmp< volScalarFieldS2 (const volTensorField &gradU) const
 Return square of strain rate.
virtual tmp< volScalarFielddTilda (const volScalarField &magGradU, const volScalarField &CDES) const
 Return length scale.
virtual tmp< volScalarField::InternalepsilonByk (const volScalarField &F1, const volTensorField &gradU) const
 Return epsilon/k.
virtual tmp< volScalarField::InternalGbyNu0 (const volTensorField &gradU, const volScalarField &S2) const
 Return (G/nu)_0.
virtual tmp< volScalarField::InternalGbyNu (const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
 Return G/nu.
Protected Member Functions inherited from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >
void setDecayControl (const dictionary &dict)
 Set decay control with kInf and omegaInf.
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
 Return the blended field.
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 tmp< volScalarField::InternalPk (const volScalarField::Internal &G) const
 Return k production rate.
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

Switch useSigma_
 Switch to activate grey-area enhanced sigma-(D)DES.
dimensionedScalar kappa_
dimensionedScalar CDESkom_
 DES coefficients.
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.
const volScalarFieldy_
 Wall distance.
volScalarField k_
 Turbulent kinetic energy field [m^2/s^2].
volScalarField omega_
 Specific dissipation rate field [1/s].
Switch decayControl_
 Flag to include the decay control.
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 67 of file kOmegaSSTDES.H.

Member Typedef Documentation

◆ alphaField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 171 of file kOmegaSSTDES.H.

◆ rhoField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 172 of file kOmegaSSTDES.H.

◆ transportModel

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 173 of file kOmegaSSTDES.H.

Constructor & Destructor Documentation

◆ kOmegaSSTDES()

template<class BasicTurbulenceModel>
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 )

◆ ~kOmegaSSTDES()

template<class BasicTurbulenceModel>
virtual ~kOmegaSSTDES ( )
virtualdefault

Destructor.

Member Function Documentation

◆ CDES()

template<class BasicTurbulenceModel>
virtual tmp< volScalarField > CDES ( const volScalarField & F1) const
inlineprotectedvirtual

Blending for CDES parameter.

Definition at line 109 of file kOmegaSSTDES.H.

Referenced by kOmegaSSTDDES< BasicTurbulenceModel >::dTilda(), dTilda(), kOmegaSSTIDDES< BasicTurbulenceModel >::dTilda(), epsilonByk(), lengthScaleLES(), LESRegion(), kOmegaSSTDDES< BasicTurbulenceModel >::S2(), and S2().

Here is the caller graph for this function:

◆ correctNut() [1/2]

template<class BasicTurbulenceModel>
void correctNut ( const volScalarField & S2)
protectedvirtual

Reimplemented from kOmegaSSTBase< DESModel< BasicTurbulenceModel > >.

Definition at line 35 of file kOmegaSSTDES.C.

References correctNut(), kOmegaSSTBase< DESModel< BasicTurbulenceModel > >::kOmegaSSTBase(), and S2().

Referenced by correctNut(), and correctNut().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correctNut() [2/2]

template<class BasicTurbulenceModel>
void correctNut ( )
protectedvirtual

Definition at line 46 of file kOmegaSSTDES.C.

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

Here is the call graph for this function:

◆ r()

template<class BasicTurbulenceModel>
tmp< volScalarField > r ( const volScalarField & nur,
const volScalarField & magGradU ) const
protected

◆ S2()

◆ dTilda()

◆ epsilonByk()

template<class BasicTurbulenceModel>
tmp< volScalarField::Internal > epsilonByk ( const volScalarField & F1,
const volTensorField & gradU ) const
protectedvirtual

◆ GbyNu0()

template<class BasicTurbulenceModel>
tmp< volScalarField::Internal > GbyNu0 ( const volTensorField & gradU,
const volScalarField & S2 ) const
protectedvirtual

◆ GbyNu()

◆ TypeName()

template<class BasicTurbulenceModel>
TypeName ( "kOmegaSSTDES< BasicTurbulenceModel >" )

Runtime type information.

◆ read()

◆ lengthScaleRAS()

◆ lengthScaleLES()

template<class BasicTurbulenceModel>
Foam::tmp< Foam::volScalarField > lengthScaleLES ( const volScalarField & CDES) const
virtual

LES length scale.

Definition at line 271 of file kOmegaSSTDES.C.

References CDES(), and delta.

Referenced by kOmegaSSTDDES< BasicTurbulenceModel >::dTilda(), dTilda(), kOmegaSSTIDDES< BasicTurbulenceModel >::dTilda(), and kOmegaSSTDDES< BasicTurbulenceModel >::S2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LESRegion()

Member Data Documentation

◆ useSigma_

template<class BasicTurbulenceModel>
Switch useSigma_
protected

◆ kappa_

template<class BasicTurbulenceModel>
dimensionedScalar kappa_
protected

Definition at line 95 of file kOmegaSSTDES.H.

Referenced by kOmegaSSTDES(), r(), and read().

◆ CDESkom_

template<class BasicTurbulenceModel>
dimensionedScalar CDESkom_
protected

DES coefficients.

Definition at line 100 of file kOmegaSSTDES.H.

Referenced by kOmegaSSTDES(), and read().

◆ CDESkeps_

template<class BasicTurbulenceModel>
dimensionedScalar CDESkeps_
protected

Definition at line 101 of file kOmegaSSTDES.H.

Referenced by kOmegaSSTDES(), and read().


The documentation for this class was generated from the following files:
  • src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDES/kOmegaSSTDES.H
  • src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDES/kOmegaSSTDES.C