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

SpalartAllmaras IDDES turbulence model for incompressible and compressible flows. More...

#include <SpalartAllmarasIDDES.H>

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

Public Types

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

Public Member Functions

 TypeName ("SpalartAllmarasIDDES")
 Runtime type information.
 SpalartAllmarasIDDES (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 ~SpalartAllmarasIDDES ()=default
 Destructor.
virtual bool read ()
 Re-read model coefficients if they have changed.
virtual tmp< volScalarFieldfd () const
 Return the shielding function.
Public Member Functions inherited from SpalartAllmarasDES< BasicTurbulenceModel >
 TypeName ("SpalartAllmarasDES")
 Runtime type information.
 SpalartAllmarasDES (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 ~SpalartAllmarasDES ()=default
 Destructor.
virtual tmp< volScalarFieldLESRegion () const
 Return the LES field indicator.

Protected Member Functions

virtual tmp< volScalarFielddTilda (const volScalarField &chi, const volScalarField &fv1, const volTensorField &gradU) const
 Return the length scale.
Protected Member Functions inherited from SpalartAllmarasDES< BasicTurbulenceModel >
virtual tmp< volScalarFieldpsi (const volScalarField &chi, const volScalarField &fv1) const
 Return the low Reynolds number correction function.
virtual tmp< volScalarFieldlengthScaleLES (const volScalarField &chi, const volScalarField &fv1) const
 Return the LES length scale.
virtual tmp< volScalarFieldStilda (const volScalarField &chi, const volScalarField &fv1, const volTensorField &gradU, const volScalarField &dTilda) const
 Return the production term.
virtual void correctNut ()

Protected Attributes

dimensionedScalar Cdt1_
dimensionedScalar Cdt2_
dimensionedScalar Cl_
dimensionedScalar Ct_
Switch fe_
const IDDESDeltaIDDESDelta_
 IDDES delta.
Protected Attributes inherited from SpalartAllmarasDES< BasicTurbulenceModel >
Switch useSigma_
 Switch to activate grey-area enhanced sigma-(D)DES.
dimensionedScalar CDES_
 DES coefficient.
Switch lowReCorrection_
 Flag for low Reynolds number correction.
dimensionedScalar fwStar_

Detailed Description

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

SpalartAllmaras IDDES turbulence model for incompressible and compressible flows.

Reference:

    Shur, M. L., Spalart, P. R., Strelets, M. K., & Travin, A. K. (2008).
    A hybrid RANS-LES approach with delayed-DES
    and wall-modelled LES capabilities.
    International journal of heat and fluid flow, 29(6), 1638-1649.
    DOI:10.1016/j.ijheatfluidflow.2008.07.001
Source files

Definition at line 64 of file SpalartAllmarasIDDES.H.

Member Typedef Documentation

◆ alphaField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 131 of file SpalartAllmarasIDDES.H.

◆ rhoField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 132 of file SpalartAllmarasIDDES.H.

◆ transportModel

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 133 of file SpalartAllmarasIDDES.H.

Constructor & Destructor Documentation

◆ SpalartAllmarasIDDES()

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

References Cdt1_, Cdt2_, Cl_, Ct_, fe_, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, IDDESDelta_, phi, rho, and U.

◆ ~SpalartAllmarasIDDES()

template<class BasicTurbulenceModel>
virtual ~SpalartAllmarasIDDES ( )
virtualdefault

Destructor.

Member Function Documentation

◆ dTilda()

template<class BasicTurbulenceModel>
tmp< volScalarField > dTilda ( const volScalarField & chi,
const volScalarField & fv1,
const volTensorField & gradU ) const
protectedvirtual

◆ TypeName()

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

Runtime type information.

◆ read()

template<class BasicTurbulenceModel>
bool read ( )
virtual

Re-read model coefficients if they have changed.

Reimplemented from SpalartAllmarasDES< BasicTurbulenceModel >.

Definition at line 216 of file SpalartAllmarasIDDES.C.

References Cdt1_, Cdt2_, Cl_, Ct_, and SpalartAllmarasDES< BasicTurbulenceModel >::read().

Here is the call graph for this function:

◆ fd()

template<class BasicTurbulenceModel>
tmp< volScalarField > fd ( ) const
virtual

Return the shielding function.

Definition at line 233 of file SpalartAllmarasIDDES.C.

References alpha, Foam::exp(), Foam::fvc::grad(), Foam::mag(), Foam::max(), Foam::min(), Foam::pow(), and Foam::sqr().

Here is the call graph for this function:

Member Data Documentation

◆ Cdt1_

template<class BasicTurbulenceModel>
dimensionedScalar Cdt1_
protected

Definition at line 103 of file SpalartAllmarasIDDES.H.

Referenced by read(), and SpalartAllmarasIDDES().

◆ Cdt2_

template<class BasicTurbulenceModel>
dimensionedScalar Cdt2_
protected

Definition at line 104 of file SpalartAllmarasIDDES.H.

Referenced by read(), and SpalartAllmarasIDDES().

◆ Cl_

template<class BasicTurbulenceModel>
dimensionedScalar Cl_
protected

Definition at line 105 of file SpalartAllmarasIDDES.H.

Referenced by read(), and SpalartAllmarasIDDES().

◆ Ct_

template<class BasicTurbulenceModel>
dimensionedScalar Ct_
protected

Definition at line 106 of file SpalartAllmarasIDDES.H.

Referenced by read(), and SpalartAllmarasIDDES().

◆ fe_

template<class BasicTurbulenceModel>
Switch fe_
protected

Definition at line 107 of file SpalartAllmarasIDDES.H.

Referenced by dTilda(), and SpalartAllmarasIDDES().

◆ IDDESDelta_

template<class BasicTurbulenceModel>
const IDDESDelta& IDDESDelta_
protected

IDDES delta.

Definition at line 113 of file SpalartAllmarasIDDES.H.

Referenced by SpalartAllmarasIDDES().


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