Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
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 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 LESModel< BasicTurbulenceModel > ::alphaField alphaField
 
typedef LESModel< BasicTurbulenceModel > ::rhoField rhoField
 
typedef LESModel< BasicTurbulenceModel > ::transportModel transportModel
 
- Public Types inherited from linearViscousStress< LESModel< BasicTurbulenceModel > >
typedef LESModel< BasicTurbulenceModel > ::alphaField alphaField
 
typedef LESModel< BasicTurbulenceModel > ::rhoField rhoField
 
typedef LESModel< BasicTurbulenceModel > ::transportModel transportModel
 
- Public Types inherited from LESModel< 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 ()
 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 ()
 Destructor. 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...
 
- Public Member Functions inherited from DESModelBase
 DESModelBase ()
 Constructor. More...
 
virtual ~DESModelBase ()
 Destructor. More...
 
 ClassName ("DESModelBase")
 
- 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 ()
 Destructor. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return sub-grid disipation rate. 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 ()
 Destructor. More...
 
volScalarFieldevNut ()
 Return non-const access to the turbulence viscosity. 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...
 
- Public Member Functions inherited from linearViscousStress< LESModel< 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 ()
 Destructor. More...
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor. 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...
 
- Public Member Functions inherited from LESModel< BasicTurbulenceModel >
 TypeName ("LES")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, LESModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName))
 
 LESModel (const word &type, 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 ~LESModel ()
 Destructor. More...
 
virtual const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
const dimensionedScalarkMin () const
 Return the lower allowable limit for k (default: SMALL) More...
 
dimensionedScalarkMin ()
 Allow kMin to be changed. More...
 
const volScalarFielddelta () const
 Access function to filter width. More...
 
virtual tmp< volScalarFieldnuEff () const
 Return the effective viscosity. More...
 
virtual tmp< scalarFieldnuEff (const label patchi) const
 Return the effective viscosity on patch. 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
 
void correctNut (const volScalarField &fv1)
 
virtual void correctNut ()
 
- Protected Member Functions inherited from LESModel< BasicTurbulenceModel >
virtual void printCoeffs (const word &type)
 Print model coefficients. More...
 

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 LESeddyViscosity< BasicTurbulenceModel >
dimensionedScalar Ce_
 
- Protected Attributes inherited from eddyViscosity< LESModel< BasicTurbulenceModel > >
volScalarField nut_
 
- Protected Attributes inherited from LESModel< BasicTurbulenceModel >
dictionary LESDict_
 LES coefficients dictionary. More...
 
Switch turbulence_
 Turbulence on/off flag. More...
 
Switch printCoeffs_
 Flag to print the model coeffs at run-time. More...
 
dictionary coeffDict_
 Model coefficients dictionary. More...
 
dimensionedScalar kMin_
 Lower limit of k. More...
 
dimensionedScalar omegaMin_
 Lower limit of omega. More...
 
autoPtr< Foam::LESdeltadelta_
 Run-time selectable delta model. More...
 

Private Member Functions

tmp< volScalarFieldfd (const volScalarField &magGradU) const
 
tmp< volScalarFieldrd (const volScalarField &magGradU) const
 
 SpalartAllmarasDDES (const SpalartAllmarasDDES &)
 
SpalartAllmarasDDESoperator= (const SpalartAllmarasDDES &)
 

Additional Inherited Members

- Static Public Member Functions inherited from LESModel< BasicTurbulenceModel >
static autoPtr< LESModelNew (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 Return a reference to the selected LES model. More...
 

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 64 of file SpalartAllmarasDDES.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 102 of file SpalartAllmarasDDES.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 103 of file SpalartAllmarasDDES.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 104 of file SpalartAllmarasDDES.H.

Constructor & Destructor Documentation

◆ SpalartAllmarasDDES() [1/2]

SpalartAllmarasDDES ( const SpalartAllmarasDDES< BasicTurbulenceModel > &  )
private

◆ SpalartAllmarasDDES() [2/2]

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

References Foam::type().

Here is the call graph for this function:

◆ ~SpalartAllmarasDDES()

virtual ~SpalartAllmarasDDES ( )
inlinevirtual

Destructor.

Definition at line 128 of file SpalartAllmarasDDES.H.

Member Function Documentation

◆ fd()

tmp< volScalarField > fd ( const volScalarField magGradU) const
private

Definition at line 67 of file SpalartAllmarasDDES.C.

References Foam::pow(), and Foam::tanh().

Here is the call graph for this function:

◆ rd()

tmp< volScalarField > rd ( const volScalarField magGradU) const
private

Definition at line 39 of file SpalartAllmarasDDES.C.

References Foam::max(), Foam::min(), Foam::sqr(), and Foam::tr().

Here is the call graph for this function:

◆ operator=()

SpalartAllmarasDDES& operator= ( const SpalartAllmarasDDES< BasicTurbulenceModel > &  )
private

◆ dTilda()

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

Length scale.

Reimplemented from SpalartAllmarasDES< BasicTurbulenceModel >.

Definition at line 79 of file SpalartAllmarasDDES.C.

References delta, Foam::dimLength, Foam::mag(), Foam::max(), and psi.

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

Field Documentation

◆ Cd1_

dimensionedScalar Cd1_
protected

Definition at line 85 of file SpalartAllmarasDDES.H.

◆ Cd2_

dimensionedScalar Cd2_
protected

Definition at line 86 of file SpalartAllmarasDDES.H.


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