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

Scale-adaptive URAS model based on the k-omega-SST RAS model. More...

#include <kOmegaSSTSAS.H>

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

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 BasicTurbulenceModel::alphaField alphaField
typedef BasicTurbulenceModel::rhoField rhoField
typedef BasicTurbulenceModel::transportModel transportModel
Public Types inherited from linearViscousStress< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
typedef BasicTurbulenceModel::rhoField rhoField
typedef BasicTurbulenceModel::transportModel transportModel

Public Member Functions

 TypeName ("kOmegaSSTSAS")
 Runtime type information.
 kOmegaSSTSAS (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 ~kOmegaSSTSAS ()=default
 Destructor.
virtual bool read ()
 Re-read model coefficients if they have changed.
const volScalarFielddelta () const
 Access function to filter width.
Public Member Functions inherited from kOmegaSST< BasicTurbulenceModel >
 TypeName ("kOmegaSST")
 Runtime type information.
 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)
 Construct from components.
virtual ~kOmegaSST ()=default
 Destructor.
Public Member Functions inherited from kOmegaSSTBase< eddyViscosity< RASModel< 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.
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)
 Construct from components.
virtual ~eddyViscosity ()=default
 Destructor.
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity.
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor.
virtual void validate ()
 Validate the turbulence fields after construction.
Public Member Functions inherited from linearViscousStress< 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)
 Construct from components.
virtual ~linearViscousStress ()=default
 Destructor.
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor.
virtual tmp< volSymmTensorFielddevRhoReff (const volVectorField &U) const
 Return the effective stress tensor based on a given velocity field.
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation.
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation.

Protected Member Functions

virtual tmp< fvScalarMatrixQsas (const volScalarField::Internal &S2, const volScalarField::Internal &gamma, const volScalarField::Internal &beta) const
 SAS omega source.
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)
 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< volScalarFieldS2 (const volTensorField &gradU) const
 Return square of strain rate.
virtual tmp< volScalarField::InternalPk (const volScalarField::Internal &G) const
 Return k production rate.
virtual tmp< volScalarField::InternalepsilonByk (const volScalarField &F1, const volTensorField &gradU) const
 Return epsilon/k which for standard RAS is betaStar*omega.
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.
virtual tmp< fvScalarMatrixkSource () const
virtual tmp< fvScalarMatrixomegaSource () const

Protected Attributes

dimensionedScalar Cs_
dimensionedScalar kappa_
dimensionedScalar zeta2_
dimensionedScalar sigmaPhi_
dimensionedScalar C_
autoPtr< Foam::LESdeltadelta_
 Run-time selectable delta model.
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_
 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_
Protected Attributes inherited from eddyViscosity< RASModel< BasicTurbulenceModel > >
volScalarField nut_

Detailed Description

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

Scale-adaptive URAS model based on the k-omega-SST RAS model.

References:

    Egorov, Y., & Menter F.R. (2008).
    Development and Application of SST-SAS Model in the DESIDER Project.
    Advances in Hybrid RANS-LES Modelling,
    Notes on Num. Fluid Mech. And Multidisciplinary Design,
    Volume 97, 261-270.

The model coefficients are

    kOmegaSSTSASCoeffs
    {
        // Default SST coefficients
        alphaK1     0.85;
        alphaK2     1.0;
        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.0;
        c1          10.0;
        F3          no;

        // Default SAS coefficients
        Cs          0.11;
        kappa       0.41;
        zeta2       3.51;
        sigmaPhi    2.0/3.0;
        C           2;

        // Delta must be specified for SAS e.g.
        delta cubeRootVol;

        cubeRootVolCoeffs
        {}
    }
Source files

Definition at line 97 of file kOmegaSSTSAS.H.

Member Typedef Documentation

◆ alphaField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 150 of file kOmegaSSTSAS.H.

◆ rhoField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 151 of file kOmegaSSTSAS.H.

◆ transportModel

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 152 of file kOmegaSSTSAS.H.

Constructor & Destructor Documentation

◆ kOmegaSSTSAS()

template<class BasicTurbulenceModel>
kOmegaSSTSAS ( 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 92 of file kOmegaSSTSAS.C.

References alpha, C_, kOmegaSST< BasicTurbulenceModel >::correctNut(), Cs_, delta_, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, kappa_, Foam::New(), phi, rho, sigmaPhi_, U, and zeta2_.

Here is the call graph for this function:

◆ ~kOmegaSSTSAS()

template<class BasicTurbulenceModel>
virtual ~kOmegaSSTSAS ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Qsas()

◆ TypeName()

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

Runtime type information.

◆ read()

template<class BasicTurbulenceModel>
bool read ( )
virtual

Re-read model coefficients if they have changed.

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

Definition at line 183 of file kOmegaSSTSAS.C.

References C_, Cs_, kappa_, linearViscousStress< BasicTurbulenceModel >::read(), sigmaPhi_, and zeta2_.

Here is the call graph for this function:

◆ delta()

template<class BasicTurbulenceModel>
const volScalarField & delta ( ) const
inline

Access function to filter width.

Definition at line 195 of file kOmegaSSTSAS.H.

Member Data Documentation

◆ Cs_

template<class BasicTurbulenceModel>
dimensionedScalar Cs_
protected

Definition at line 120 of file kOmegaSSTSAS.H.

Referenced by kOmegaSSTSAS(), Qsas(), and read().

◆ kappa_

template<class BasicTurbulenceModel>
dimensionedScalar kappa_
protected

Definition at line 121 of file kOmegaSSTSAS.H.

Referenced by kOmegaSSTSAS(), Qsas(), and read().

◆ zeta2_

template<class BasicTurbulenceModel>
dimensionedScalar zeta2_
protected

Definition at line 122 of file kOmegaSSTSAS.H.

Referenced by kOmegaSSTSAS(), Qsas(), and read().

◆ sigmaPhi_

template<class BasicTurbulenceModel>
dimensionedScalar sigmaPhi_
protected

Definition at line 123 of file kOmegaSSTSAS.H.

Referenced by kOmegaSSTSAS(), Qsas(), and read().

◆ C_

template<class BasicTurbulenceModel>
dimensionedScalar C_
protected

Definition at line 124 of file kOmegaSSTSAS.H.

Referenced by kOmegaSSTSAS(), Qsas(), and read().

◆ delta_

template<class BasicTurbulenceModel>
autoPtr<Foam::LESdelta> delta_
protected

Run-time selectable delta model.

Definition at line 132 of file kOmegaSSTSAS.H.

Referenced by kOmegaSSTSAS().


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