kOmegaSSTLM< BasicMomentumTransportModel > Class Template Reference

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

Inheritance diagram for kOmegaSSTLM< BasicMomentumTransportModel >:
Collaboration diagram for kOmegaSSTLM< BasicMomentumTransportModel >:

Public Types

typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from kOmegaSST< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from linearViscousStress< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 

Public Member Functions

 TypeName ("kOmegaSSTLM")
 Runtime type information. More...
 
 kOmegaSSTLM (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
 Construct from components. More...
 
 kOmegaSSTLM (const kOmegaSSTLM &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~kOmegaSSTLM ()
 Destructor. More...
 
virtual bool read ()
 Re-read model coefficients if they have changed. More...
 
const volScalarFieldReThetat () const
 Access function transition onset momentum-thickness Reynolds number. More...
 
const volScalarFieldgammaInt () const
 Access function to intermittency. More...
 
tmp< volScalarFieldDReThetatEff () const
 Return the effective diffusivity for transition onset. More...
 
tmp< volScalarFieldDgammaIntEff () const
 Return the effective diffusivity for intermittency. More...
 
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
void operator= (const kOmegaSSTLM &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from kOmegaSST< BasicMomentumTransportModel >
 TypeName ("kOmegaSST")
 Runtime type information. More...
 
 kOmegaSST (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
 Construct from components. More...
 
virtual ~kOmegaSST ()
 Destructor. More...
 
- Public Member Functions inherited from kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >
 kOmegaSST (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
 kOmegaSST (const kOmegaSST &)=delete
 Disallow default bitwise copy construction. 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< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate. More...
 
virtual tmp< volScalarFieldomega () const
 Return the turbulence kinetic energy dissipation rate. More...
 
void operator= (const kOmegaSST &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > >
 eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
virtual ~eddyViscosity ()
 Destructor. More...
 
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity. More...
 
virtual tmp< scalarFieldnut (const label patchi) const
 Return the turbulence viscosity on patch. More...
 
virtual tmp< volSymmTensorFieldsigma () const
 Return the Reynolds stress tensor [m^2/s^2]. More...
 
virtual void validate ()
 Validate the turbulence fields after construction. More...
 
- Public Member Functions inherited from linearViscousStress< BasicMomentumTransportModel >
 linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 
virtual tmp< volSymmTensorFielddevTau () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevTau (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevTau (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 

Protected Member Functions

virtual tmp< volScalarFieldF1 (const volScalarField &CDkOmega) const
 Modified form of the k-omega SST F1 function. More...
 
virtual tmp< volScalarField::InternalPk (const volScalarField::Internal &G) const
 Modified form of the k-omega SST k production rate. More...
 
virtual tmp< volScalarField::InternalepsilonByk (const volScalarField::Internal &F1, const volScalarField::Internal &F2) const
 Modified form of the k-omega SST epsilon/k. More...
 
tmp< volScalarField::InternalFthetat (const volScalarField::Internal &Us, const volScalarField::Internal &Omega, const volScalarField::Internal &nu) const
 Freestream blending-function. More...
 
tmp< volScalarField::InternalReThetac () const
 Empirical correlation for critical Reynolds number where the. More...
 
tmp< volScalarField::InternalFlength (const volScalarField::Internal &nu) const
 Empirical correlation that controls the length of the. More...
 
tmp< volScalarField::InternalFonset (const volScalarField::Internal &Rev, const volScalarField::Internal &ReThetac, const volScalarField::Internal &RT) const
 Transition onset location control function. More...
 
tmp< volScalarField::InternalReThetat0 (const volScalarField::Internal &Us, const volScalarField::Internal &dUsds, const volScalarField::Internal &nu) const
 Return the transition onset momentum-thickness Reynolds number. More...
 
void correctReThetatGammaInt ()
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
- Protected Member Functions inherited from kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >
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, const volScalarField &F2)
 
virtual void correctNut ()
 
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 ca1_
 
dimensionedScalar ca2_
 
dimensionedScalar ce1_
 
dimensionedScalar ce2_
 
dimensionedScalar cThetat_
 
dimensionedScalar sigmaThetat_
 
scalar lambdaErr_
 Convergence criterion for the lambda/thetat loop. More...
 
label maxLambdaIter_
 Maximum number of iterations to converge the lambda/thetat loop. More...
 
const dimensionedScalar deltaU_
 Stabilisation for division by the magnitude of the velocity. More...
 
volScalarField ReThetat_
 Transition onset momentum-thickness Reynolds number. More...
 
volScalarField gammaInt_
 Intermittency. More...
 
volScalarField::Internal gammaIntEff_
 Effective intermittency. More...
 
- Protected Attributes inherited from kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >
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_
 Wall distance. More...
 
volScalarField k_
 
volScalarField omega_
 
- Protected Attributes inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > >
volScalarField nut_
 

Detailed Description

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

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 101 of file kOmegaSSTLM.H.

Member Typedef Documentation

◆ alphaField

typedef BasicMomentumTransportModel::alphaField alphaField

Definition at line 202 of file kOmegaSSTLM.H.

◆ rhoField

typedef BasicMomentumTransportModel::rhoField rhoField

Definition at line 203 of file kOmegaSSTLM.H.

Constructor & Destructor Documentation

◆ kOmegaSSTLM() [1/2]

kOmegaSSTLM ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const viscosity viscosity,
const word type = typeName 
)

Construct from components.

Definition at line 337 of file kOmegaSSTLM.C.

◆ kOmegaSSTLM() [2/2]

kOmegaSSTLM ( const kOmegaSSTLM< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~kOmegaSSTLM()

virtual ~kOmegaSSTLM ( )
inlinevirtual

Destructor.

Definition at line 229 of file kOmegaSSTLM.H.

Member Function Documentation

◆ F1()

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

Modified form of the k-omega SST F1 function.

Reimplemented from kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >.

Definition at line 38 of file kOmegaSSTLM.C.

References Foam::exp(), F3, Foam::max(), 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

Modified form of the k-omega SST k production rate.

Reimplemented from kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >.

Definition at line 51 of file kOmegaSSTLM.C.

References Foam::constant::universal::G, and kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >::Pk().

Here is the call graph for this function:

◆ epsilonByk()

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

◆ Fthetat()

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

Freestream blending-function.

Definition at line 75 of file kOmegaSSTLM.C.

References delta, Foam::exp(), Foam::max(), Foam::min(), DimensionedField< Type, GeoMesh >::New(), omega, Foam::pow4(), Foam::sqr(), and y.

Here is the call graph for this function:

◆ ReThetac()

tmp< volScalarField::Internal > ReThetac
protected

Empirical correlation for critical Reynolds number where the.

intermittency first starts to increase in the boundary layer

Definition at line 107 of file kOmegaSSTLM.C.

References Foam::dimless, forAll, DimensionedField< Type, GeoMesh >::New(), Foam::pow3(), Foam::pow4(), tmp< T >::ref(), and Foam::sqr().

Here is the call graph for this function:

◆ Flength()

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

Empirical correlation that controls the length of the.

transition region

Definition at line 142 of file kOmegaSSTLM.C.

References Foam::dimless, Foam::e, Foam::exp(), forAll, DimensionedField< Type, GeoMesh >::New(), omega, Foam::pow3(), tmp< T >::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

Transition onset location control function.

Definition at line 310 of file kOmegaSSTLM.C.

References Foam::max(), Foam::min(), DimensionedField< Type, GeoMesh >::New(), 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

Return the transition onset momentum-thickness Reynolds number.

(based on freestream conditions)

Definition at line 201 of file kOmegaSSTLM.C.

References Foam::dimless, Foam::endl(), Foam::exp(), forAll, k, lambda(), Foam::mag(), Foam::max(), Foam::min(), DimensionedField< Type, GeoMesh >::New(), Foam::pow(), Foam::pow3(), tmp< T >::ref(), Foam::sqr(), Foam::sqrt(), and WarningInFunction.

Here is the call graph for this function:

◆ correctReThetatGammaInt()

void correctReThetatGammaInt
protected

◆ TypeName()

TypeName ( "kOmegaSSTLM< BasicMomentumTransportModel >"  )

Runtime type information.

◆ read()

bool read
virtual

Re-read model coefficients if they have changed.

Reimplemented from kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >.

Definition at line 465 of file kOmegaSSTLM.C.

◆ ReThetat()

const volScalarField& ReThetat ( ) const
inline

Access function transition onset momentum-thickness Reynolds number.

Definition at line 239 of file kOmegaSSTLM.H.

References kOmegaSSTLM< BasicMomentumTransportModel >::ReThetat_.

◆ gammaInt()

const volScalarField& gammaInt ( ) const
inline

Access function to intermittency.

Definition at line 245 of file kOmegaSSTLM.H.

References kOmegaSSTLM< BasicMomentumTransportModel >::gammaInt_.

◆ DReThetatEff()

tmp<volScalarField> DReThetatEff ( ) const
inline

Return the effective diffusivity for transition onset.

momentum-thickness Reynolds number

Definition at line 252 of file kOmegaSSTLM.H.

◆ DgammaIntEff()

tmp<volScalarField> DgammaIntEff ( ) const
inline

Return the effective diffusivity for intermittency.

Definition at line 262 of file kOmegaSSTLM.H.

References GeometricField< Type, PatchField, GeoMesh >::New(), and eddyViscosity< RASModel< BasicMomentumTransportModel > >::nut_.

Here is the call graph for this function:

◆ correct()

void correct
virtual

Solve the turbulence equations and correct the turbulence viscosity.

Reimplemented from kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >.

Definition at line 590 of file kOmegaSSTLM.C.

References kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >::correct().

Here is the call graph for this function:

◆ operator=()

void operator= ( const kOmegaSSTLM< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ ca1_

dimensionedScalar ca1_
protected

Definition at line 111 of file kOmegaSSTLM.H.

◆ ca2_

dimensionedScalar ca2_
protected

Definition at line 112 of file kOmegaSSTLM.H.

◆ ce1_

dimensionedScalar ce1_
protected

Definition at line 114 of file kOmegaSSTLM.H.

◆ ce2_

dimensionedScalar ce2_
protected

Definition at line 115 of file kOmegaSSTLM.H.

◆ cThetat_

dimensionedScalar cThetat_
protected

Definition at line 117 of file kOmegaSSTLM.H.

◆ sigmaThetat_

dimensionedScalar sigmaThetat_
protected

Definition at line 118 of file kOmegaSSTLM.H.

◆ lambdaErr_

scalar lambdaErr_
protected

Convergence criterion for the lambda/thetat loop.

Definition at line 121 of file kOmegaSSTLM.H.

◆ maxLambdaIter_

label maxLambdaIter_
protected

Maximum number of iterations to converge the lambda/thetat loop.

Definition at line 124 of file kOmegaSSTLM.H.

◆ deltaU_

const dimensionedScalar deltaU_
protected

Stabilisation for division by the magnitude of the velocity.

Definition at line 127 of file kOmegaSSTLM.H.

◆ ReThetat_

volScalarField ReThetat_
protected

Transition onset momentum-thickness Reynolds number.

Definition at line 133 of file kOmegaSSTLM.H.

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

◆ gammaInt_

volScalarField gammaInt_
protected

Intermittency.

Definition at line 136 of file kOmegaSSTLM.H.

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

◆ gammaIntEff_

volScalarField::Internal gammaIntEff_
protected

Effective intermittency.

Definition at line 139 of file kOmegaSSTLM.H.


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