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 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 ()=default |
Destructor. More... | |
virtual bool | read () |
Re-read model coefficients if they have changed. More... | |
virtual tmp< volScalarField > | LESRegion () const |
Return the LES field indicator. More... | |
Protected Member Functions | |
virtual tmp< volScalarField > | psi (const volScalarField &chi, const volScalarField &fv1) const |
Return the low Reynolds number correction function. More... | |
virtual tmp< volScalarField > | lengthScaleLES (const volScalarField &chi, const volScalarField &fv1) const |
Return the LES length scale. More... | |
virtual tmp< volScalarField > | Stilda (const volScalarField &chi, const volScalarField &fv1, const volTensorField &gradU, const volScalarField &dTilda) const |
Return the production term. More... | |
virtual tmp< volScalarField > | dTilda (const volScalarField &chi, const volScalarField &fv1, const volTensorField &gradU) const |
Return the length scale. More... | |
virtual void | correctNut () |
Protected Attributes | |
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_ |
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.
Including the low Reynolds number correction documented in
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
Definition at line 78 of file SpalartAllmarasDES.H.
typedef BasicTurbulenceModel::alphaField alphaField |
Definition at line 163 of file SpalartAllmarasDES.H.
typedef BasicTurbulenceModel::rhoField rhoField |
Definition at line 164 of file SpalartAllmarasDES.H.
typedef BasicTurbulenceModel::transportModel transportModel |
Definition at line 165 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 163 of file SpalartAllmarasDES.C.
References Foam::endl(), dimensioned< Type >::getOrAddToDict(), Foam::type(), and WarningInFunction.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Return the low Reynolds number correction function.
Definition at line 37 of file SpalartAllmarasDES.C.
References Foam::dimless, Foam::constant::electromagnetic::e, Foam::max(), mesh, Foam::min(), tmp< T >::New(), IOobjectOption::NO_READ, IOobjectOption::NO_WRITE, psi, IOobject::scopedName(), Foam::sqr(), Foam::sqrt(), timeName, Foam::type(), and Foam::Zero.
|
protectedvirtual |
Return the LES length scale.
Definition at line 82 of file SpalartAllmarasDES.C.
|
protectedvirtual |
Return the production term.
Reimplemented in SpalartAllmarasDDES< BasicTurbulenceModel >.
Definition at line 93 of file SpalartAllmarasDES.C.
References Foam::max(), Foam::pos(), and Foam::sqr().
|
protectedvirtual |
Return the length scale.
Reimplemented in SpalartAllmarasIDDES< BasicTurbulenceModel >, and SpalartAllmarasDDES< BasicTurbulenceModel >.
Definition at line 133 of file SpalartAllmarasDES.C.
References Foam::min(), and tmp< T >::ref().
|
protectedvirtual |
Definition at line 149 of file SpalartAllmarasDES.C.
TypeName | ( | "SpalartAllmarasDES< BasicTurbulenceModel >" | ) |
Runtime type information.
|
virtual |
Re-read model coefficients if they have changed.
Reimplemented in SpalartAllmarasIDDES< BasicTurbulenceModel >, and SpalartAllmarasDDES< BasicTurbulenceModel >.
Definition at line 242 of file SpalartAllmarasDES.C.
References Foam::read().
|
virtual |
Return the LES field indicator.
Definition at line 260 of file SpalartAllmarasDES.C.
References Foam::fvc::grad(), Foam::neg(), tmp< T >::New(), IOobjectOption::NO_READ, IOobjectOption::NO_WRITE, and IOobject::scopedName().
|
protected |
Switch to activate grey-area enhanced sigma-(D)DES.
Definition at line 102 of file SpalartAllmarasDES.H.
|
protected |
DES coefficient.
Definition at line 109 of file SpalartAllmarasDES.H.
|
protected |
Flag for low Reynolds number correction.
Definition at line 114 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 115 of file SpalartAllmarasDES.H.