SpalartAllmaras for compressible flows. More...
#include <compressibleLESModels/SpalartAllmaras.H>
SpalartAllmaras for compressible flows.
Definition at line 54 of file SpalartAllmaras.H.
Public Member Functions | |
TypeName ("SpalartAllmaras") | |
Runtime type information.
| |
SpalartAllmaras (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel) | |
Constructor from components.
| |
virtual | ~SpalartAllmaras () |
Destructor.
| |
tmp< volScalarField > | nuTilda () const |
virtual tmp< volScalarField > | k () const |
Return SGS kinetic energy.
| |
virtual tmp< volScalarField > | epsilon () const |
Return sub-grid disipation rate.
| |
virtual tmp< volScalarField > | muSgs () const |
Return SGS viscosity.
| |
virtual tmp< volScalarField > | alphaSgs () const |
Return SGS thermal diffusivity.
| |
virtual tmp< volScalarField > | alphaEff () const |
Return thermal conductivity.
| |
virtual tmp< volSymmTensorField > | B () const |
Return the sub-grid stress tensor.
| |
virtual tmp< volSymmTensorField > | devRhoBeff () const |
Return the deviatoric part of the effective sub-grid.
| |
virtual tmp< fvVectorMatrix > | divDevRhoBeff (volVectorField &U) const |
Returns div(rho*dev(B)).
| |
virtual void | correct (const tmp< volTensorField > &gradU) |
Correct nuTilda and related properties.
| |
virtual bool | read () |
Read LESProperties dictionary.
|
SpalartAllmaras | ( | const volScalarField & | rho, |
const volVectorField & | U, | ||
const surfaceScalarField & | phi, | ||
const basicThermo & | thermoPhysicalModel | ||
) |
Constructor from components.
Definition at line 105 of file SpalartAllmaras.C.
virtual ~SpalartAllmaras | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 119 of file SpalartAllmaras.H.
TypeName | ( | "SpalartAllmaras" | ) |
Runtime type information.
tmp<volScalarField> nuTilda | ( | ) | const [inline]
|
Definition at line 125 of file SpalartAllmaras.H.
References SpalartAllmaras::nuTilda().
Referenced by SpalartAllmaras::nuTilda().
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return SGS kinetic energy.
Implements LESModel.
Definition at line 131 of file SpalartAllmaras.H.
References SpalartAllmaras::muSgs(), rho, and Foam::sqr().
tmp< volScalarField > epsilon | ( | ) | const [virtual]
|
Return sub-grid disipation rate.
Implements LESModel.
Definition at line 276 of file SpalartAllmaras.C.
References Foam::fvc::grad(), Foam::magSqr(), muEff(), rho, Foam::symm(), and U.
virtual tmp<volScalarField> muSgs | ( | ) | const [inline, virtual]
|
Return SGS viscosity.
Implements LESModel.
Definition at line 140 of file SpalartAllmaras.H.
References SpalartAllmaras::muSgs().
Referenced by SpalartAllmaras::k(), and SpalartAllmaras::muSgs().
virtual tmp<volScalarField> alphaSgs | ( | ) | const [inline, virtual]
|
Return SGS thermal diffusivity.
Implements LESModel.
Definition at line 146 of file SpalartAllmaras.H.
References SpalartAllmaras::alphaSgs().
Referenced by SpalartAllmaras::alphaSgs().
virtual tmp<volScalarField> alphaEff | ( | ) | const [inline, virtual]
|
Return thermal conductivity.
Implements LESModel.
Definition at line 152 of file SpalartAllmaras.H.
References turbulenceModel::alpha(), and SpalartAllmaras::alphaEff().
Referenced by SpalartAllmaras::alphaEff().
tmp< volSymmTensorField > B | ( | ) | const [virtual]
|
Return the sub-grid stress tensor.
Implements LESModel.
Definition at line 264 of file SpalartAllmaras.C.
References Foam::dev(), Foam::fvc::grad(), Foam::I, k(), rho, Foam::twoSymm(), and U.
tmp< volSymmTensorField > devRhoBeff | ( | ) | const [virtual]
|
Return the deviatoric part of the effective sub-grid.
turbulence stress tensor including the laminar stress
Implements LESModel.
Definition at line 270 of file SpalartAllmaras.C.
References Foam::dev(), Foam::fvc::grad(), muEff(), Foam::twoSymm(), and U.
tmp< fvVectorMatrix > divDevRhoBeff | ( | volVectorField & | U ) | const [virtual]
|
Returns div(rho*dev(B)).
This is the additional term due to the filtering of the NSE.
Implements LESModel.
Definition at line 282 of file SpalartAllmaras.C.
References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), muEff(), and Foam::T().
void correct | ( | const tmp< volTensorField > & | gradU ) | [virtual]
|
Correct nuTilda and related properties.
Reimplemented from LESModel.
Definition at line 291 of file SpalartAllmaras.C.
References Foam::bound(), correct(), Foam::fvm::ddt(), Foam::fvm::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), Foam::mag(), Foam::magSqr(), Foam::min(), mu, phi, rho, Foam::skew(), Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::sqrt(), and y.
bool read | ( | ) | [virtual]
|
Read LESProperties dictionary.
Implements LESModel.
Definition at line 327 of file SpalartAllmaras.C.
References dimensioned< Type >::readIfPresent(), and Foam::sqr().