SpalartAllmarasDES DES turbulence model for incompressible and compressible flows. More...
Public Types | |
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 ("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... | |
virtual bool | read () |
Read model coefficients if they have changed. More... | |
tmp< volScalarField > | DnuTildaEff () const |
Return the effective diffusivity for nuTilda. More... | |
virtual tmp< volScalarField > | k () const |
Return SGS kinetic energy. More... | |
tmp< volScalarField > | nuTilda () const |
virtual tmp< volScalarField > | LESRegion () const |
Return the LES field indicator. More... | |
virtual void | correct () |
Correct nuTilda and related properties. 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 () |
Destructor. More... | |
virtual tmp< volScalarField > | epsilon () 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... | |
volScalarField & | evNut () |
Return non-const access to the turbulence viscosity. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual tmp< volSymmTensorField > | R () 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< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (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 dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
const dimensionedScalar & | kMin () const |
Return the lower allowable limit for k (default: SMALL) More... | |
dimensionedScalar & | kMin () |
Allow kMin to be changed. More... | |
const volScalarField & | delta () const |
Access function to filter width. More... | |
virtual tmp< volScalarField > | nuEff () const |
Return the effective viscosity. More... | |
virtual tmp< scalarField > | nuEff (const label patchi) const |
Return the effective viscosity on patch. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from LESModel< BasicTurbulenceModel > | |
static autoPtr< LESModel > | New (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... | |
SpalartAllmarasDES DES turbulence model for incompressible and compressible flows.
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.
Definition at line 63 of file SpalartAllmarasDES.H.
typedef BasicTurbulenceModel::alphaField alphaField |
Definition at line 154 of file SpalartAllmarasDES.H.
typedef BasicTurbulenceModel::rhoField rhoField |
Definition at line 155 of file SpalartAllmarasDES.H.
typedef BasicTurbulenceModel::transportModel transportModel |
Definition at line 156 of file SpalartAllmarasDES.H.
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.
Definition at line 191 of file SpalartAllmarasDES.C.
|
inlinevirtual |
Destructor.
Definition at line 180 of file SpalartAllmarasDES.H.
References SpalartAllmarasDES< BasicTurbulenceModel >::DnuTildaEff(), SpalartAllmarasDES< BasicTurbulenceModel >::k(), and SpalartAllmarasDES< BasicTurbulenceModel >::read().
|
protected |
Definition at line 39 of file SpalartAllmarasDES.C.
References SpalartAllmarasDES< BasicTurbulenceModel >::fv1(), and nu.
|
protected |
Definition at line 47 of file SpalartAllmarasDES.C.
References SpalartAllmarasDES< BasicTurbulenceModel >::fv2(), and Foam::pow3().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::chi().
|
protected |
Definition at line 58 of file SpalartAllmarasDES.C.
References SpalartAllmarasDES< BasicTurbulenceModel >::S().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::fv1().
|
protected |
Definition at line 69 of file SpalartAllmarasDES.C.
References Foam::mag(), SpalartAllmarasDES< BasicTurbulenceModel >::Omega(), Foam::sqrt(), and Foam::symm().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::fv2().
|
protected |
Definition at line 79 of file SpalartAllmarasDES.C.
References Foam::mag(), Foam::skew(), Foam::sqrt(), and SpalartAllmarasDES< BasicTurbulenceModel >::Stilda().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::S().
|
protected |
Definition at line 89 of file SpalartAllmarasDES.C.
References Foam::max(), SpalartAllmarasDES< BasicTurbulenceModel >::r(), and Foam::sqr().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::Omega().
|
protected |
Definition at line 110 of file SpalartAllmarasDES.C.
References DimensionedField< Type, GeoMesh >::dimensions(), SpalartAllmarasDES< BasicTurbulenceModel >::fw(), Foam::max(), Foam::min(), tmp< T >::ref(), Foam::sqr(), and Foam::tr().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::Stilda().
|
protected |
Definition at line 140 of file SpalartAllmarasDES.C.
References SpalartAllmarasDES< BasicTurbulenceModel >::dTilda(), g, Foam::pow(), and Foam::pow6().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::r().
|
protectedvirtual |
Length scale.
Reimplemented in SpalartAllmarasIDDES< BasicTurbulenceModel >, and SpalartAllmarasDDES< BasicTurbulenceModel >.
Definition at line 154 of file SpalartAllmarasDES.C.
References SpalartAllmarasDES< BasicTurbulenceModel >::correctNut(), delta, Foam::min(), and tmp< T >::ref().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::fw().
|
protected |
Definition at line 168 of file SpalartAllmarasDES.C.
References optionList::correct(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), and options::New().
|
protectedvirtual |
Implements eddyViscosity< LESModel< BasicTurbulenceModel > >.
Definition at line 181 of file SpalartAllmarasDES.C.
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::dTilda().
TypeName | ( | "SpalartAllmarasDES< BasicTurbulenceModel >" | ) |
Runtime type information.
|
virtual |
Read model coefficients if they have changed.
Reimplemented from LESeddyViscosity< BasicTurbulenceModel >.
Reimplemented in SpalartAllmarasIDDES< BasicTurbulenceModel >.
Definition at line 331 of file SpalartAllmarasDES.C.
References SpalartAllmarasDES< BasicTurbulenceModel >::DnuTildaEff(), dimensioned< Type >::readIfPresent(), and Foam::sqr().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::~SpalartAllmarasDES().
tmp< volScalarField > DnuTildaEff | ( | ) | const |
Return the effective diffusivity for nuTilda.
Definition at line 360 of file SpalartAllmarasDES.C.
References nu.
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::read(), and SpalartAllmarasDES< BasicTurbulenceModel >::~SpalartAllmarasDES().
|
virtual |
Return SGS kinetic energy.
Implements eddyViscosity< LESModel< BasicTurbulenceModel > >.
Definition at line 370 of file SpalartAllmarasDES.C.
References Foam::fvc::grad(), nut, and Foam::sqr().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::~SpalartAllmarasDES().
|
inline |
Definition at line 195 of file SpalartAllmarasDES.H.
References SpalartAllmarasDES< BasicTurbulenceModel >::correct(), SpalartAllmarasDES< BasicTurbulenceModel >::LESRegion(), and SpalartAllmarasDES< BasicTurbulenceModel >::nuTilda_.
|
virtual |
Return the LES field indicator.
Definition at line 379 of file SpalartAllmarasDES.C.
References Foam::fvc::grad(), Foam::neg(), IOobject::NO_READ, and IOobject::NO_WRITE.
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::nuTilda().
|
virtual |
Correct nuTilda and related properties.
Implements eddyViscosity< LESModel< BasicTurbulenceModel > >.
Definition at line 405 of file SpalartAllmarasDES.C.
References Foam::bound(), optionList::constrain(), eddyViscosity< LESModel< BasicTurbulenceModel > >::correct(), optionList::correct(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::fvm::ddt(), Foam::fvm::div(), fvOptions, Foam::fvc::grad(), Foam::fvm::laplacian(), Foam::magSqr(), options::New(), tmp< T >::ref(), Foam::solve(), Foam::fvm::Sp(), and Foam::sqr().
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::nuTilda().
|
protected |
Definition at line 80 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 81 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 83 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 84 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 85 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 86 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 87 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 88 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 89 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 90 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 91 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 95 of file SpalartAllmarasDES.H.
Referenced by SpalartAllmarasDES< BasicTurbulenceModel >::nuTilda().
|
protected |
Wall distance.
Note: different to wall distance in parent RASModel which is for near-wall cells only
Definition at line 100 of file SpalartAllmarasDES.H.