Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
kOmegaSSTLM< BasicTurbulenceModel > Class Template Reference

Langtry-Menter 4-equation transitional SST model based on the k-omega-SST RAS model. More...

Inheritance diagram for kOmegaSSTLM< BasicTurbulenceModel >:
Inheritance graph
[legend]
Collaboration diagram for kOmegaSSTLM< BasicTurbulenceModel >:
Collaboration graph
[legend]

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from kOmegaSST< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >
typedef eddyViscosity< RASModel< BasicTurbulenceModel > > ::alphaField alphaField
 
typedef eddyViscosity< RASModel< BasicTurbulenceModel > > ::rhoField rhoField
 
typedef eddyViscosity< RASModel< BasicTurbulenceModel > > ::transportModel transportModel
 
- Public Types inherited from eddyViscosity< RASModel< BasicTurbulenceModel > >
typedef RASModel< BasicTurbulenceModel > ::alphaField alphaField
 
typedef RASModel< BasicTurbulenceModel > ::rhoField rhoField
 
typedef RASModel< BasicTurbulenceModel > ::transportModel transportModel
 
- Public Types inherited from linearViscousStress< RASModel< BasicTurbulenceModel > >
typedef RASModel< BasicTurbulenceModel > ::alphaField alphaField
 
typedef RASModel< BasicTurbulenceModel > ::rhoField rhoField
 
typedef RASModel< BasicTurbulenceModel > ::transportModel transportModel
 
- Public Types inherited from RASModel< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 

Public Member Functions

 TypeName ("kOmegaSSTLM")
 
 kOmegaSSTLM (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)
 
virtual ~kOmegaSSTLM ()=default
 
virtual bool read ()
 
const volScalarFieldReThetat () const
 
const volScalarFieldgammaInt () const
 
tmp< volScalarFieldDReThetatEff () const
 
tmp< volScalarFieldDgammaIntEff () const
 
virtual void correct ()
 
- Public Member Functions inherited from kOmegaSST< BasicTurbulenceModel >
 TypeName ("kOmegaSST")
 
 kOmegaSST (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)
 
virtual ~kOmegaSST ()=default
 
- Public Member Functions inherited from kOmegaSSTBase< eddyViscosity< RASModel< 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)
 
virtual ~kOmegaSSTBase ()=default
 
tmp< volScalarFieldDkEff (const volScalarField &F1) const
 
tmp< volScalarFieldDomegaEff (const volScalarField &F1) const
 
virtual tmp< volScalarFieldk () const
 
virtual tmp< volScalarFieldomega () const
 
- Public Member Functions inherited from eddyViscosity< RASModel< BasicTurbulenceModel > >
 eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~eddyViscosity ()=default
 
virtual tmp< volScalarFieldnut () const
 
virtual tmp< scalarFieldnut (const label patchi) const
 
virtual tmp< volSymmTensorFieldR () const
 
virtual void validate ()
 
- Public Member Functions inherited from linearViscousStress< RASModel< BasicTurbulenceModel > >
 linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~linearViscousStress ()=default
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 
virtual tmp< volSymmTensorFielddevRhoReff (const volVectorField &U) const
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 
- Public Member Functions inherited from RASModel< BasicTurbulenceModel >
 TypeName ("RAS")
 
 declareRunTimeSelectionTable (autoPtr, RASModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName))
 
 RASModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~RASModel ()=default
 
const dimensionedScalarkMin () const
 
const dimensionedScalarepsilonMin () const
 
const dimensionedScalaromegaMin () const
 
dimensionedScalarkMin ()
 
dimensionedScalarepsilonMin ()
 
dimensionedScalaromegaMin ()
 
virtual const dictionarycoeffDict () const
 
virtual tmp< volScalarFieldnuEff () const
 
virtual tmp< scalarFieldnuEff (const label patchi) const
 
virtual tmp< volScalarFieldepsilon () const
 
virtual tmp< volScalarFieldomega () const
 

Protected Member Functions

virtual tmp< volScalarFieldF1 (const volScalarField &CDkOmega) const
 
virtual tmp< volScalarField::InternalPk (const volScalarField::Internal &G) const
 
virtual tmp< volScalarField::InternalepsilonByk (const volScalarField &F1, const volTensorField &gradU) const
 
tmp< volScalarField::InternalFthetat (const volScalarField::Internal &Us, const volScalarField::Internal &Omega, const volScalarField::Internal &nu) const
 
tmp< volScalarField::InternalReThetac () const
 
tmp< volScalarField::InternalFlength (const volScalarField::Internal &nu) const
 
tmp< volScalarField::InternalFonset (const volScalarField::Internal &Rev, const volScalarField::Internal &ReThetac, const volScalarField::Internal &RT) const
 
tmp< volScalarField::InternalReThetat0 (const volScalarField::Internal &Us, const volScalarField::Internal &dUsds, const volScalarField::Internal &nu) const
 
void correctReThetatGammaInt ()
 
- Protected Member Functions inherited from kOmegaSST< BasicTurbulenceModel >
virtual void correctNut (const volScalarField &S2)
 
virtual void correctNut ()
 
- Protected Member Functions inherited from kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >
void setDecayControl (const dictionary &dict)
 
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 tmp< volScalarField::InternalGbyNu (const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
 
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 Member Functions inherited from RASModel< BasicTurbulenceModel >
virtual void printCoeffs (const word &type)
 
 RASModel (const RASModel &)=delete
 
void operator= (const RASModel &)=delete
 

Protected Attributes

dimensionedScalar ca1_
 
dimensionedScalar ca2_
 
dimensionedScalar ce1_
 
dimensionedScalar ce2_
 
dimensionedScalar cThetat_
 
dimensionedScalar sigmaThetat_
 
scalar lambdaErr_
 
label maxLambdaIter_
 
const dimensionedScalar deltaU_
 
volScalarField ReThetat_
 
volScalarField gammaInt_
 
volScalarField::Internal gammaIntEff_
 
- Protected Attributes inherited from kOmegaSSTBase< eddyViscosity< RASModel< 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_
 
const volScalarFieldy_
 
volScalarField k_
 
volScalarField omega_
 
Switch decayControl_
 
dimensionedScalar kInf_
 
dimensionedScalar omegaInf_
 
- Protected Attributes inherited from eddyViscosity< RASModel< BasicTurbulenceModel > >
volScalarField nut_
 
- Protected Attributes inherited from RASModel< BasicTurbulenceModel >
dictionary RASDict_
 
Switch turbulence_
 
Switch printCoeffs_
 
dictionary coeffDict_
 
dimensionedScalar kMin_
 
dimensionedScalar epsilonMin_
 
dimensionedScalar omegaMin_
 

Additional Inherited Members

- Static Public Member Functions inherited from RASModel< BasicTurbulenceModel >
static autoPtr< RASModelNew (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::RASModels::kOmegaSSTLM< BasicTurbulenceModel >

Langtry-Menter 4-equation transitional SST model based on the k-omega-SST RAS model.

References:

    Langtry, R. B., & Menter, F. R. (2009).
    Correlation-based transition modeling for unstructured parallelized
    computational fluid dynamics codes.
    AIAA journal, 47(12), 2894-2906.

    Menter, F. R., Langtry, R., & Volker, S. (2006).
    Transition modelling for general purpose CFD codes.
    Flow, turbulence and combustion, 77(1-4), 277-303.

    Langtry, R. B. (2006).
    A correlation-based transition model using local variables for
    unstructured parallelized CFD codes.
    Phd. Thesis, Universität Stuttgart.

The model coefficients are

    kOmegaSSTCoeffs
    {
        // Default SST coefficients
        alphaK1     0.85;
        alphaK2     1;
        alphaOmega1 0.5;
        alphaOmega2 0.856;
        beta1       0.075;
        beta2       0.0828;
        betaStar    0.09;
        gamma1      5/9;
        gamma2      0.44;
        a1          0.31;
        b1          1;
        c1          10;
        F3          no;

        // Default LM coefficients
        ca1         2;
        ca2         0.06;
        ce1         1;
        ce2         50;
        cThetat     0.03;
        sigmaThetat 2;

        lambdaErr   1e-6;
        maxLambdaIter 10;
    }
Source files

Definition at line 103 of file kOmegaSSTLM.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 213 of file kOmegaSSTLM.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 214 of file kOmegaSSTLM.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 215 of file kOmegaSSTLM.H.

Constructor & Destructor Documentation

◆ kOmegaSSTLM()

kOmegaSSTLM ( 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 
)

Definition at line 360 of file kOmegaSSTLM.C.

References Foam::type().

Here is the call graph for this function:

◆ ~kOmegaSSTLM()

virtual ~kOmegaSSTLM ( )
virtualdefault

Member Function Documentation

◆ F1()

tmp< volScalarField > F1 ( const volScalarField CDkOmega) const
protectedvirtual

Reimplemented from kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >.

Definition at line 37 of file kOmegaSSTLM.C.

References Foam::exp(), F3, Foam::max(), nu, Foam::pow(), Foam::Ry(), and Foam::sqrt().

Here is the call graph for this function:

◆ Pk()

tmp< volScalarField::Internal > Pk ( const volScalarField::Internal G) const
protectedvirtual

◆ epsilonByk()

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

◆ Fthetat()

tmp< volScalarField::Internal > Fthetat ( const volScalarField::Internal Us,
const volScalarField::Internal Omega,
const volScalarField::Internal nu 
) const
protected

Definition at line 73 of file kOmegaSSTLM.C.

References delta, Foam::dimLength, Foam::exp(), IOobject::groupName(), Foam::max(), Foam::min(), nu, Foam::pow4(), Foam::sqr(), Us, and y.

Here is the call graph for this function:

◆ ReThetac()

tmp< volScalarField::Internal > ReThetac
protected

Definition at line 112 of file kOmegaSSTLM.C.

References Foam::dimless, forAll, IOobject::groupName(), Foam::pow3(), Foam::pow4(), tmp::ref(), and Foam::sqr().

Here is the call graph for this function:

◆ Flength()

tmp< volScalarField::Internal > Flength ( const volScalarField::Internal nu) const
protected

Definition at line 153 of file kOmegaSSTLM.C.

References Foam::dimless, Foam::constant::electromagnetic::e, Foam::exp(), forAll, IOobject::groupName(), nu, Foam::pow3(), tmp::ref(), Foam::sqr(), and y.

Here is the call graph for this function:

◆ Fonset()

tmp< volScalarField::Internal > Fonset ( const volScalarField::Internal Rev,
const volScalarField::Internal ReThetac,
const volScalarField::Internal RT 
) const
protected

Definition at line 330 of file kOmegaSSTLM.C.

References IOobject::groupName(), Foam::max(), Foam::min(), Foam::pow3(), and Foam::pow4().

Here is the call graph for this function:

◆ ReThetat0()

tmp< volScalarField::Internal > ReThetat0 ( const volScalarField::Internal Us,
const volScalarField::Internal dUsds,
const volScalarField::Internal nu 
) const
protected

◆ correctReThetatGammaInt()

void correctReThetatGammaInt
protected

◆ TypeName()

TypeName ( "kOmegaSSTLM< BasicTurbulenceModel >"  )

◆ read()

bool read
virtual

◆ ReThetat()

const volScalarField& ReThetat ( ) const
inline

Definition at line 248 of file kOmegaSSTLM.H.

References kOmegaSSTLM< BasicTurbulenceModel >::ReThetat_.

◆ gammaInt()

const volScalarField& gammaInt ( ) const
inline

Definition at line 254 of file kOmegaSSTLM.H.

References kOmegaSSTLM< BasicTurbulenceModel >::gammaInt_.

◆ DReThetatEff()

tmp<volScalarField> DReThetatEff ( ) const
inline

◆ DgammaIntEff()

tmp<volScalarField> DgammaIntEff ( ) const
inline

Definition at line 274 of file kOmegaSSTLM.H.

References nu, and eddyViscosity< RASModel< BasicTurbulenceModel > >::nut_.

◆ correct()

void correct
virtual

Reimplemented from kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >.

Definition at line 614 of file kOmegaSSTLM.C.

References kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::correct().

Here is the call graph for this function:

Member Data Documentation

◆ ca1_

dimensionedScalar ca1_
protected

Definition at line 122 of file kOmegaSSTLM.H.

◆ ca2_

dimensionedScalar ca2_
protected

Definition at line 123 of file kOmegaSSTLM.H.

◆ ce1_

dimensionedScalar ce1_
protected

Definition at line 125 of file kOmegaSSTLM.H.

◆ ce2_

dimensionedScalar ce2_
protected

Definition at line 126 of file kOmegaSSTLM.H.

◆ cThetat_

dimensionedScalar cThetat_
protected

Definition at line 128 of file kOmegaSSTLM.H.

◆ sigmaThetat_

dimensionedScalar sigmaThetat_
protected

Definition at line 129 of file kOmegaSSTLM.H.

Referenced by kOmegaSSTLM< BasicTurbulenceModel >::DReThetatEff().

◆ lambdaErr_

scalar lambdaErr_
protected

Definition at line 132 of file kOmegaSSTLM.H.

◆ maxLambdaIter_

label maxLambdaIter_
protected

Definition at line 135 of file kOmegaSSTLM.H.

◆ deltaU_

const dimensionedScalar deltaU_
protected

Definition at line 138 of file kOmegaSSTLM.H.

◆ ReThetat_

volScalarField ReThetat_
protected

Definition at line 144 of file kOmegaSSTLM.H.

Referenced by kOmegaSSTLM< BasicTurbulenceModel >::ReThetat().

◆ gammaInt_

volScalarField gammaInt_
protected

Definition at line 147 of file kOmegaSSTLM.H.

Referenced by kOmegaSSTLM< BasicTurbulenceModel >::gammaInt().

◆ gammaIntEff_

volScalarField::Internal gammaIntEff_
protected

Definition at line 150 of file kOmegaSSTLM.H.


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