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

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

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

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

Protected Member Functions

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

Protected Attributes

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

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 131 of file SpalartAllmarasIDDES.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 132 of file SpalartAllmarasIDDES.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 133 of file SpalartAllmarasIDDES.H.

Constructor & Destructor Documentation

◆ SpalartAllmarasIDDES()

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 135 of file SpalartAllmarasIDDES.C.

References Foam::type().

Here is the call graph for this function:

◆ ~SpalartAllmarasIDDES()

virtual ~SpalartAllmarasIDDES ( )
virtualdefault

Destructor.

Member Function Documentation

◆ dTilda()

tmp< volScalarField > dTilda ( const volScalarField chi,
const volScalarField fv1,
const volTensorField gradU 
) const
protectedvirtual

Return the length scale.

Reimplemented from SpalartAllmarasDES< BasicTurbulenceModel >.

Definition at line 88 of file SpalartAllmarasIDDES.C.

References Foam::constant::atomic::alpha, delta, Foam::dimLength, Foam::exp(), Foam::lerp(), Foam::mag(), Foam::max(), Foam::min(), Foam::pos0(), Foam::pow(), psi, and Foam::sqr().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "SpalartAllmarasIDDES< BasicTurbulenceModel >"  )

Runtime type information.

◆ read()

bool read ( )
virtual

Re-read model coefficients if they have changed.

Reimplemented from SpalartAllmarasDES< BasicTurbulenceModel >.

Definition at line 216 of file SpalartAllmarasIDDES.C.

◆ fd()

tmp< volScalarField > fd ( ) const
virtual

Return the shielding function.

Definition at line 233 of file SpalartAllmarasIDDES.C.

References Foam::constant::atomic::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_

dimensionedScalar Cdt1_
protected

Definition at line 103 of file SpalartAllmarasIDDES.H.

◆ Cdt2_

dimensionedScalar Cdt2_
protected

Definition at line 104 of file SpalartAllmarasIDDES.H.

◆ Cl_

dimensionedScalar Cl_
protected

Definition at line 105 of file SpalartAllmarasIDDES.H.

◆ Ct_

dimensionedScalar Ct_
protected

Definition at line 106 of file SpalartAllmarasIDDES.H.

◆ fe_

Switch fe_
protected

Definition at line 107 of file SpalartAllmarasIDDES.H.

◆ IDDESDelta_

const IDDESDelta& IDDESDelta_
protected

IDDES delta.

Definition at line 113 of file SpalartAllmarasIDDES.H.


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