SpalartAllmarasDES DES turbulence model for incompressible and compressible flows. More...
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< 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 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< volScalarField > | epsilon () const |
Return sub-grid disipation rate. More... | |
virtual tmp< volScalarField > | omega () 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< 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 > | sigma () 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< volSymmTensorField > | devTau () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
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_ |
Protected Attributes inherited from LESeddyViscosity< BasicMomentumTransportModel > | |
dimensionedScalar | Ck_ |
dimensionedScalar | Ce_ |
Protected Attributes inherited from eddyViscosity< LESModel< BasicMomentumTransportModel > > | |
volScalarField | nut_ |
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.
Definition at line 60 of file SpalartAllmarasDES.H.
typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 146 of file SpalartAllmarasDES.H.
typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 147 of file SpalartAllmarasDES.H.
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().
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 173 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 40 of file SpalartAllmarasDES.C.
References GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::typedName().
|
protected |
Definition at line 51 of file SpalartAllmarasDES.C.
References GeometricField< Type, PatchField, GeoMesh >::New(), Foam::pow3(), and Foam::typedName().
|
protected |
Definition at line 67 of file SpalartAllmarasDES.C.
References DimensionedField< Type, GeoMesh >::New(), and Foam::typedName().
|
protected |
Definition at line 83 of file SpalartAllmarasDES.C.
References Foam::mag(), DimensionedField< Type, GeoMesh >::New(), Foam::skew(), Foam::sqrt(), and Foam::typedName().
|
protected |
Definition at line 98 of file SpalartAllmarasDES.C.
References Foam::max(), DimensionedField< Type, GeoMesh >::New(), Foam::sqr(), and Foam::typedName().
|
protected |
Definition at line 120 of file SpalartAllmarasDES.C.
References DimensionedField< Type, GeoMesh >::dimensions(), Foam::max(), Foam::min(), DimensionedField< Type, GeoMesh >::New(), Foam::sqr(), and Foam::typedName().
|
protected |
Definition at line 149 of file SpalartAllmarasDES.C.
References DimensionedField< Type, GeoMesh >::New(), Foam::pow(), Foam::pow6(), and Foam::typedName().
|
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(), Foam::typedName(), and y.
|
protectedvirtual |
Cache the LES region indicator field.
Definition at line 184 of file SpalartAllmarasDES.C.
References Foam::neg(), DimensionedField< Type, GeoMesh >::New(), Foam::typedName(), and y.
|
protected |
Definition at line 201 of file SpalartAllmarasDES.C.
References GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), and dictionary::New().
|
protectedvirtual |
Implements eddyViscosity< LESModel< BasicMomentumTransportModel > >.
Definition at line 213 of file SpalartAllmarasDES.C.
TypeName | ( | "SpalartAllmarasDES< BasicMomentumTransportModel >" | ) |
Runtime type information.
|
virtual |
Read model coefficients if they have changed.
Reimplemented from LESeddyViscosity< BasicMomentumTransportModel >.
Reimplemented in SpalartAllmarasIDDES< BasicMomentumTransportModel >.
Definition at line 359 of file SpalartAllmarasDES.C.
References dimensioned< Type >::readIfPresent(), and Foam::sqr().
tmp< volScalarField > DnuTildaEff |
Return the effective diffusivity for nuTilda.
Definition at line 387 of file SpalartAllmarasDES.C.
References GeometricField< Type, PatchField, GeoMesh >::New().
|
virtual |
Return SGS kinetic energy.
Implements eddyViscosity< LESModel< BasicMomentumTransportModel > >.
Definition at line 399 of file SpalartAllmarasDES.C.
References GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::dimLength, forAll, Foam::fvc::grad(), GeometricField< Type, PatchField, GeoMesh >::internalFieldRef(), GeometricField< Type, PatchField, GeoMesh >::New(), nut, patches, patchi, tmp< T >::ref(), Foam::sqr(), and Foam::typedName().
|
inline |
Definition at line 188 of file SpalartAllmarasDES.H.
References SpalartAllmarasDES< BasicMomentumTransportModel >::nuTilda_.
|
virtual |
Correct nuTilda and related properties.
Implements eddyViscosity< LESModel< BasicMomentumTransportModel > >.
Definition at line 445 of file SpalartAllmarasDES.C.
References alpha(), Foam::bound(), tmp< T >::clear(), fvConstraints::constrain(), eddyViscosity< LESModel< BasicMomentumTransportModel > >::correct(), Foam::fvm::ddt(), Foam::fvm::div(), fvConstraints(), fvModels(), Foam::fvc::grad(), Foam::fvm::laplacian(), Foam::magSqr(), dictionary::New(), tmp< T >::ref(), rho, Foam::solve(), fvModels::source(), Foam::fvm::Sp(), Foam::sqr(), and U.
|
delete |
Disallow default bitwise assignment.
|
protected |
Definition at line 70 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 71 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 73 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 74 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 75 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 76 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 77 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 78 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 79 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 80 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 81 of file SpalartAllmarasDES.H.
|
protected |
Definition at line 85 of file SpalartAllmarasDES.H.
Referenced by SpalartAllmarasDES< BasicMomentumTransportModel >::nuTilda().