SpalartAllmarasDDES< BasicTurbulenceModel > Class Template Reference

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

Inheritance diagram for SpalartAllmarasDDES< BasicTurbulenceModel >:
[legend]
Collaboration diagram for SpalartAllmarasDDES< BasicTurbulenceModel >:
[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 Types inherited from DESModel< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from LESeddyViscosity< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from eddyViscosity< LESModel< 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 ("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...
 
- 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 bool read ()
 Re-read model coefficients if they have changed. More...
 
tmp< volScalarFieldDnuTildaEff () const
 Return the effective diffusivity for nuTilda. More...
 
virtual tmp< volScalarFieldk () const
 Return SGS kinetic energy. More...
 
tmp< volScalarFieldnuTilda () const
 
virtual tmp< volScalarFieldLESRegion () const
 Return the LES field indicator. More...
 
virtual void correct ()
 Correct nuTilda and related properties. More...
 
- Public Member Functions inherited from DESModel< BasicTurbulenceModel >
 DESModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 Construct from components. More...
 
virtual ~DESModel ()
 Destructor. More...
 
virtual tmp< volScalarFieldLESRegion () const =0
 Return the LES field indicator. More...
 
- Public Member Functions inherited from DESModelBase
 DESModelBase ()
 Constructor. More...
 
virtual ~DESModelBase ()=default
 Destructor. More...
 
 ClassName ("DESModelBase")
 
virtual tmp< volScalarFieldLESRegion () const =0
 Return the LES field indicator. More...
 
- Public Member Functions inherited from LESeddyViscosity< BasicTurbulenceModel >
 LESeddyViscosity (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 Construct from components. More...
 
virtual ~LESeddyViscosity ()=default
 Destructor. More...
 
virtual bool read ()
 Read model coefficients if they have changed. More...
 
- Public Member Functions inherited from eddyViscosity< LESModel< 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. More...
 
virtual ~eddyViscosity ()=default
 Destructor. More...
 
virtual bool read ()=0
 Re-read model coefficients if they have changed. 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< volScalarFieldk () const=0
 Return the turbulence kinetic energy. More...
 
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor. More...
 
virtual void validate ()
 Validate the turbulence fields after construction. More...
 
virtual void correct ()=0
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
- 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. More...
 
virtual ~linearViscousStress ()=default
 Destructor. More...
 
virtual bool read ()=0
 Re-read model coefficients if they have changed. More...
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor. More...
 
virtual tmp< volSymmTensorFielddevRhoReff (const volVectorField &U) const
 Return the effective stress tensor based on a given velocity field. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual void correct ()=0
 Solve the turbulence equations and correct the turbulence viscosity. More...
 

Protected Member Functions

virtual tmp< volScalarFielddTilda (const volScalarField &chi, const volScalarField &fv1, const volTensorField &gradU) const
 Length scale. More...
 
- Protected Member Functions inherited from SpalartAllmarasDES< BasicTurbulenceModel >
tmp< volScalarFieldchi () const
 
tmp< volScalarFieldfv1 (const volScalarField &chi) const
 
tmp< volScalarFieldfv2 (const volScalarField &chi, const volScalarField &fv1) const
 
tmp< volScalarFieldft2 (const volScalarField &chi) const
 
tmp< volScalarFieldOmega (const volTensorField &gradU) const
 
tmp< volScalarFieldStilda (const volScalarField &chi, const volScalarField &fv1, const volScalarField &Omega, const volScalarField &dTilda) const
 
tmp< volScalarFieldr (const volScalarField &nur, const volScalarField &Omega, const volScalarField &dTilda) const
 
tmp< volScalarFieldfw (const volScalarField &Omega, const volScalarField &dTilda) const
 
tmp< volScalarFieldpsi (const volScalarField &chi, const volScalarField &fv1) const
 
virtual tmp< volScalarFielddTilda (const volScalarField &chi, const volScalarField &fv1, const volTensorField &gradU) const
 Length scale. More...
 
void correctNut (const volScalarField &fv1)
 
virtual void correctNut ()
 
virtual void correctNut ()=0
 

Protected Attributes

dimensionedScalar Cd1_
 
dimensionedScalar Cd2_
 
- Protected Attributes inherited from SpalartAllmarasDES< BasicTurbulenceModel >
dimensionedScalar sigmaNut_
 
dimensionedScalar kappa_
 
dimensionedScalar Cb1_
 
dimensionedScalar Cb2_
 
dimensionedScalar Cw1_
 
dimensionedScalar Cw2_
 
dimensionedScalar Cw3_
 
dimensionedScalar Cv1_
 
dimensionedScalar Cs_
 
dimensionedScalar CDES_
 
dimensionedScalar ck_
 
Switch lowReCorrection_
 
dimensionedScalar Ct3_
 
dimensionedScalar Ct4_
 
dimensionedScalar fwStar_
 
volScalarField nuTilda_
 
const volScalarFieldy_
 Wall distance. More...
 
- Protected Attributes inherited from eddyViscosity< LESModel< BasicTurbulenceModel > >
volScalarField nut_
 

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.
Source files

Definition at line 67 of file SpalartAllmarasDDES.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 107 of file SpalartAllmarasDDES.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 108 of file SpalartAllmarasDDES.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 109 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 108 of file SpalartAllmarasDDES.C.

References Foam::type().

Here is the call graph for this function:

◆ ~SpalartAllmarasDDES()

virtual ~SpalartAllmarasDDES ( )
virtualdefault

Destructor.

Member Function Documentation

◆ dTilda()

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

Length scale.

Reimplemented from SpalartAllmarasDES< BasicTurbulenceModel >.

Definition at line 81 of file SpalartAllmarasDDES.C.

References delta, Foam::dimLength, Foam::mag(), Foam::max(), psi, 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 161 of file SpalartAllmarasDDES.C.

Member Data Documentation

◆ Cd1_

dimensionedScalar Cd1_
protected

Definition at line 90 of file SpalartAllmarasDDES.H.

◆ Cd2_

dimensionedScalar Cd2_
protected

Definition at line 91 of file SpalartAllmarasDDES.H.


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