SpalartAllmarasDES< BasicMomentumTransportModel > Class Template Reference

SpalartAllmarasDES DES turbulence model for incompressible and compressible flows. More...

Inheritance diagram for SpalartAllmarasDES< BasicMomentumTransportModel >:
Collaboration diagram for SpalartAllmarasDES< BasicMomentumTransportModel >:

Public Types

typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from LESeddyViscosity< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from eddyViscosity< LESModel< BasicMomentumTransportModel > >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from linearViscousStress< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 

Public Member Functions

 TypeName ("SpalartAllmarasDES")
 Runtime type information. More...
 
 SpalartAllmarasDES (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
 Construct from components. More...
 
 SpalartAllmarasDES (const SpalartAllmarasDES &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~SpalartAllmarasDES ()
 Destructor. More...
 
virtual bool read ()
 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 void correct ()
 Correct nuTilda and related properties. More...
 
void operator= (const SpalartAllmarasDES &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from LESeddyViscosity< BasicMomentumTransportModel >
 LESeddyViscosity (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
 LESeddyViscosity (const LESeddyViscosity &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~LESeddyViscosity ()
 Destructor. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return sub-grid disipation rate. More...
 
virtual tmp< volScalarFieldomega () const
 Return the turbulence specific dissipation rate. More...
 
void operator= (const LESeddyViscosity &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from eddyViscosity< LESModel< BasicMomentumTransportModel > >
 eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
virtual ~eddyViscosity ()
 Destructor. 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< volSymmTensorFieldsigma () const
 Return the Reynolds stress tensor [m^2/s^2]. More...
 
virtual void validate ()
 Validate the turbulence fields after construction. More...
 
- Public Member Functions inherited from linearViscousStress< BasicMomentumTransportModel >
 linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 
virtual tmp< volSymmTensorFielddevTau () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevTau (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevTau (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 

Protected Member Functions

tmp< volScalarFieldchi () const
 
tmp< volScalarFieldfv1 (const volScalarField &chi) const
 
tmp< volScalarField::Internalfv2 (const volScalarField::Internal &chi, const volScalarField::Internal &fv1) const
 
tmp< volScalarField::InternalOmega (const volTensorField::Internal &gradU) const
 
tmp< volScalarField::InternalStilda (const volScalarField::Internal &chi, const volScalarField::Internal &fv1, const volScalarField::Internal &Omega, const volScalarField::Internal &dTilda) const
 
tmp< volScalarField::Internalr (const volScalarField::Internal &nur, const volScalarField::Internal &Omega, const volScalarField::Internal &dTilda) const
 
tmp< volScalarField::Internalfw (const volScalarField::Internal &Omega, const volScalarField::Internal &dTilda) const
 
virtual tmp< volScalarField::InternaldTilda (const volScalarField::Internal &chi, const volScalarField::Internal &fv1, const volTensorField::Internal &gradU) const
 Length scale. More...
 
virtual void cacheLESRegion (const volScalarField::Internal &dTilda) const
 Cache the LES region indicator field. More...
 
void correctNut (const volScalarField &fv1)
 
virtual void correctNut ()
 

Protected Attributes

dimensionedScalar sigmaNut_
 
dimensionedScalar kappa_
 
dimensionedScalar Cb1_
 
dimensionedScalar Cb2_
 
dimensionedScalar Cw1_
 
dimensionedScalar Cw2_
 
dimensionedScalar Cw3_
 
dimensionedScalar Cv1_
 
dimensionedScalar Cs_
 
dimensionedScalar CDES_
 
dimensionedScalar ck_
 
volScalarField nuTilda_
 
const volScalarFieldy_
 Wall distance. More...
 
- Protected Attributes inherited from LESeddyViscosity< BasicMomentumTransportModel >
dimensionedScalar Ck_
 
dimensionedScalar Ce_
 
- Protected Attributes inherited from eddyViscosity< LESModel< BasicMomentumTransportModel > >
volScalarField nut_
 

Detailed Description

template<class BasicMomentumTransportModel>
class Foam::LESModels::SpalartAllmarasDES< BasicMomentumTransportModel >

SpalartAllmarasDES DES turbulence model for incompressible and compressible flows.

Reference:

    Spalart, P. R., Jou, W. H., Strelets, M., & Allmaras, S. R. (1997).
    Comments on the feasibility of LES for wings, and on a hybrid
    RANS/LES approach.
    Advances in DNS/LES, 1, 4-8.
Source files

Definition at line 60 of file SpalartAllmarasDES.H.

Member Typedef Documentation

◆ alphaField

typedef BasicMomentumTransportModel::alphaField alphaField

Definition at line 151 of file SpalartAllmarasDES.H.

◆ rhoField

typedef BasicMomentumTransportModel::rhoField rhoField

Definition at line 152 of file SpalartAllmarasDES.H.

Constructor & Destructor Documentation

◆ SpalartAllmarasDES() [1/2]

SpalartAllmarasDES ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const viscosity viscosity,
const word type = typeName 
)

Construct from components.

Definition at line 222 of file SpalartAllmarasDES.C.

References Foam::type().

Here is the call graph for this function:

◆ SpalartAllmarasDES() [2/2]

SpalartAllmarasDES ( const SpalartAllmarasDES< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~SpalartAllmarasDES()

virtual ~SpalartAllmarasDES ( )
inlinevirtual

Destructor.

Definition at line 178 of file SpalartAllmarasDES.H.

Member Function Documentation

◆ chi()

tmp< volScalarField > chi
protected

Definition at line 40 of file SpalartAllmarasDES.C.

References GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::typedName().

Here is the call graph for this function:

◆ fv1()

tmp< volScalarField > fv1 ( const volScalarField chi) const
protected

Definition at line 51 of file SpalartAllmarasDES.C.

References GeometricField< Type, PatchField, GeoMesh >::New(), Foam::pow3(), and Foam::typedName().

Here is the call graph for this function:

◆ fv2()

tmp< volScalarField::Internal > fv2 ( const volScalarField::Internal chi,
const volScalarField::Internal fv1 
) const
protected

Definition at line 67 of file SpalartAllmarasDES.C.

References DimensionedField< Type, GeoMesh >::New(), and Foam::typedName().

Here is the call graph for this function:

◆ Omega()

tmp< volScalarField::Internal > Omega ( const volTensorField::Internal gradU) const
protected

Definition at line 83 of file SpalartAllmarasDES.C.

References Foam::mag(), DimensionedField< Type, GeoMesh >::New(), Foam::skew(), Foam::sqrt(), and Foam::typedName().

Here is the call graph for this function:

◆ Stilda()

tmp< volScalarField::Internal > Stilda ( const volScalarField::Internal chi,
const volScalarField::Internal fv1,
const volScalarField::Internal Omega,
const volScalarField::Internal dTilda 
) const
protected

Definition at line 98 of file SpalartAllmarasDES.C.

References Foam::max(), DimensionedField< Type, GeoMesh >::New(), Foam::sqr(), and Foam::typedName().

Here is the call graph for this function:

◆ r()

tmp< volScalarField::Internal > r ( const volScalarField::Internal nur,
const volScalarField::Internal Omega,
const volScalarField::Internal dTilda 
) const
protected

◆ fw()

tmp< volScalarField::Internal > fw ( const volScalarField::Internal Omega,
const volScalarField::Internal dTilda 
) const
protected

Definition at line 149 of file SpalartAllmarasDES.C.

References DimensionedField< Type, GeoMesh >::New(), Foam::pow(), Foam::pow6(), and Foam::typedName().

Here is the call graph for this function:

◆ dTilda()

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

Length scale.

Reimplemented in SpalartAllmarasIDDES< BasicMomentumTransportModel >, and SpalartAllmarasDDES< BasicMomentumTransportModel >.

Definition at line 168 of file SpalartAllmarasDES.C.

References delta, Foam::min(), DimensionedField< Type, GeoMesh >::New(), and Foam::typedName().

Here is the call graph for this function:

◆ cacheLESRegion()

void cacheLESRegion ( const volScalarField::Internal dTilda) const
protectedvirtual

Cache the LES region indicator field.

Definition at line 184 of file SpalartAllmarasDES.C.

References Foam::neg(), DimensionedField< Type, GeoMesh >::New(), and Foam::typedName().

Here is the call graph for this function:

◆ correctNut() [1/2]

void correctNut ( const volScalarField fv1)
protected

Definition at line 201 of file SpalartAllmarasDES.C.

References GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), and dictionary::New().

Here is the call graph for this function:

◆ correctNut() [2/2]

void correctNut
protectedvirtual

◆ TypeName()

TypeName ( "SpalartAllmarasDES< BasicMomentumTransportModel >"  )

Runtime type information.

◆ read()

bool read
virtual

Read model coefficients if they have changed.

Reimplemented from LESeddyViscosity< BasicMomentumTransportModel >.

Reimplemented in SpalartAllmarasIDDES< BasicMomentumTransportModel >.

Definition at line 361 of file SpalartAllmarasDES.C.

References dimensioned< Type >::readIfPresent(), and Foam::sqr().

Here is the call graph for this function:

◆ DnuTildaEff()

tmp< volScalarField > DnuTildaEff

Return the effective diffusivity for nuTilda.

Definition at line 389 of file SpalartAllmarasDES.C.

References GeometricField< Type, PatchField, GeoMesh >::New().

Here is the call graph for this function:

◆ k()

◆ nuTilda()

tmp<volScalarField> nuTilda ( ) const
inline

◆ correct()

◆ operator=()

void operator= ( const SpalartAllmarasDES< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ sigmaNut_

dimensionedScalar sigmaNut_
protected

Definition at line 70 of file SpalartAllmarasDES.H.

◆ kappa_

dimensionedScalar kappa_
protected

Definition at line 71 of file SpalartAllmarasDES.H.

◆ Cb1_

dimensionedScalar Cb1_
protected

Definition at line 73 of file SpalartAllmarasDES.H.

◆ Cb2_

dimensionedScalar Cb2_
protected

Definition at line 74 of file SpalartAllmarasDES.H.

◆ Cw1_

dimensionedScalar Cw1_
protected

Definition at line 75 of file SpalartAllmarasDES.H.

◆ Cw2_

dimensionedScalar Cw2_
protected

Definition at line 76 of file SpalartAllmarasDES.H.

◆ Cw3_

dimensionedScalar Cw3_
protected

Definition at line 77 of file SpalartAllmarasDES.H.

◆ Cv1_

dimensionedScalar Cv1_
protected

Definition at line 78 of file SpalartAllmarasDES.H.

◆ Cs_

dimensionedScalar Cs_
protected

Definition at line 79 of file SpalartAllmarasDES.H.

◆ CDES_

dimensionedScalar CDES_
protected

Definition at line 80 of file SpalartAllmarasDES.H.

◆ ck_

dimensionedScalar ck_
protected

Definition at line 81 of file SpalartAllmarasDES.H.

◆ nuTilda_

volScalarField nuTilda_
protected

◆ y_

const volScalarField& y_
protected

Wall distance.

Note: different to wall distance in parent RASModel which is for near-wall cells only

Definition at line 90 of file SpalartAllmarasDES.H.


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