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

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

Inheritance diagram for SpalartAllmarasDDES< BasicTurbulenceModel >:
Inheritance graph
[legend]
Collaboration diagram for SpalartAllmarasDDES< 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 ("SpalartAllmarasDDES")
 Runtime type information. More...
 
 SpalartAllmarasDDES (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 ~SpalartAllmarasDDES ()=default
 Destructor. More...
 
virtual bool read ()
 Read from dictionary. 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< volScalarFieldStilda (const volScalarField &chi, const volScalarField &fv1, const volTensorField &gradU, const volScalarField &dTilda) const
 Return the production term. More...
 
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 void correctNut ()
 

Protected Attributes

dimensionedScalar Cd1_
 
dimensionedScalar Cd2_
 
- 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::SpalartAllmarasDDES< BasicTurbulenceModel >

SpalartAllmaras DDES turbulence model for incompressible and compressible flows.

Reference:

    Spalart, P. R., Deck, S., Shur, M. L., Squires,
    K. D., Strelets, M. K., & Travin, A. (2006).
    A new version of detached-eddy simulation,
    resistant to ambiguous grid densities.
    Theoretical and computational fluid dynamics, 20(3), 181-195.
    DOI:10.1007/s00162-006-0015-0
Source files

Definition at line 65 of file SpalartAllmarasDDES.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 123 of file SpalartAllmarasDDES.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 124 of file SpalartAllmarasDDES.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 125 of file SpalartAllmarasDDES.H.

Constructor & Destructor Documentation

◆ SpalartAllmarasDDES()

SpalartAllmarasDDES ( 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 112 of file SpalartAllmarasDDES.C.

References Foam::type().

Here is the call graph for this function:

◆ ~SpalartAllmarasDDES()

virtual ~SpalartAllmarasDDES ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Stilda()

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

Return the production term.

Reimplemented from SpalartAllmarasDES< BasicTurbulenceModel >.

Definition at line 50 of file SpalartAllmarasDDES.C.

References Foam::mag(), Foam::max(), Foam::pos(), and Foam::sqr().

Here is the call graph for this function:

◆ 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 90 of file SpalartAllmarasDDES.C.

References Foam::dimLength, Foam::mag(), Foam::max(), and Foam::Zero.

Here is the call graph for this function:

◆ TypeName()

TypeName ( "SpalartAllmarasDDES< BasicTurbulenceModel >"  )

Runtime type information.

◆ read()

bool read ( )
virtual

Read from dictionary.

Reimplemented from SpalartAllmarasDES< BasicTurbulenceModel >.

Definition at line 171 of file SpalartAllmarasDDES.C.

◆ fd()

tmp< volScalarField > fd ( ) const
virtual

Return the shielding function.

Definition at line 186 of file SpalartAllmarasDDES.C.

References Foam::fvc::grad(), and Foam::mag().

Here is the call graph for this function:

Member Data Documentation

◆ Cd1_

dimensionedScalar Cd1_
protected

Definition at line 93 of file SpalartAllmarasDDES.H.

◆ Cd2_

dimensionedScalar Cd2_
protected

Definition at line 94 of file SpalartAllmarasDDES.H.


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