Launder and Sharma low-Reynolds k-epsilon turbulence model for compressible and combusting flows. More...
#include <compressibleRASModels/LaunderSharmaKE.H>
Launder and Sharma low-Reynolds k-epsilon turbulence model for compressible and combusting flows.
The default model coefficients correspond to the following:
LaunderSharmaKECoeffs { Cmu 0.09; C1 1.44; C2 1.92; C3 -0.33; alphah 1.0;// only for compressible alphahk 1.0;// only for compressible alphaEps0.76923; }
Definition at line 69 of file LaunderSharmaKE.H.
Public Member Functions | |
TypeName ("LaunderSharmaKE") | |
Runtime type information.
| |
LaunderSharmaKE (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel) | |
Construct from components.
| |
virtual | ~LaunderSharmaKE () |
Destructor.
| |
tmp< volScalarField > | DkEff () const |
Return the effective diffusivity for k.
| |
tmp< volScalarField > | DepsilonEff () const |
Return the effective diffusivity for epsilon.
| |
virtual tmp< volScalarField > | mut () const |
Return the turbulence viscosity.
| |
virtual tmp< volScalarField > | alphaEff () const |
Return the effective turbulent thermal diffusivity.
| |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy.
| |
virtual tmp< volScalarField > | epsilon () const |
Return the turbulence kinetic energy dissipation rate.
| |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor.
| |
virtual tmp< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor including the laminar stress.
| |
virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
Return the source term for the momentum equation.
| |
virtual void | correct () |
Solve the turbulence equations and correct the turbulence viscosity.
| |
virtual bool | read () |
Read RASProperties dictionary.
|
LaunderSharmaKE | ( | const volScalarField & | rho, |
const volVectorField & | U, | ||
const surfaceScalarField & | phi, | ||
const basicThermo & | thermophysicalModel | ||
) |
virtual ~LaunderSharmaKE | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 118 of file LaunderSharmaKE.H.
TypeName | ( | "LaunderSharmaKE" | ) |
Runtime type information.
tmp<volScalarField> DkEff | ( | ) | const [inline]
|
Return the effective diffusivity for k.
Definition at line 125 of file LaunderSharmaKE.H.
References LaunderSharmaKE::DkEff(), and mu.
Referenced by LaunderSharmaKE::DkEff().
tmp<volScalarField> DepsilonEff | ( | ) | const [inline]
|
Return the effective diffusivity for epsilon.
Definition at line 134 of file LaunderSharmaKE.H.
References LaunderSharmaKE::DepsilonEff(), and mu.
Referenced by LaunderSharmaKE::DepsilonEff().
virtual tmp<volScalarField> mut | ( | ) | const [inline, virtual]
|
Return the turbulence viscosity.
Implements RASModel.
Definition at line 143 of file LaunderSharmaKE.H.
References LaunderSharmaKE::mut().
Referenced by LaunderSharmaKE::mut().
virtual tmp<volScalarField> alphaEff | ( | ) | const [inline, virtual]
|
Return the effective turbulent thermal diffusivity.
Implements RASModel.
Definition at line 149 of file LaunderSharmaKE.H.
References turbulenceModel::alpha(), and LaunderSharmaKE::alphaEff().
Referenced by LaunderSharmaKE::alphaEff().
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy.
Implements RASModel.
Definition at line 158 of file LaunderSharmaKE.H.
virtual tmp<volScalarField> epsilon | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy dissipation rate.
Implements RASModel.
Definition at line 164 of file LaunderSharmaKE.H.
References LaunderSharmaKE::epsilon().
Referenced by LaunderSharmaKE::epsilon().
tmp< volSymmTensorField > R | ( | ) | const [virtual]
|
Return the Reynolds stress tensor.
Implements RASModel.
Definition at line 201 of file LaunderSharmaKE.C.
References Foam::dev(), Foam::fvc::grad(), Foam::I, IOobject::NO_READ, IOobject::NO_WRITE, and Foam::twoSymm().
tmp< volSymmTensorField > devRhoReff | ( | ) | const [virtual]
|
Return the effective stress tensor including the laminar stress.
Implements RASModel.
Definition at line 222 of file LaunderSharmaKE.C.
References Foam::dev(), Foam::fvc::grad(), muEff(), IOobject::NO_READ, IOobject::NO_WRITE, and Foam::twoSymm().
tmp< fvVectorMatrix > divDevRhoReff | ( | volVectorField & | U ) | const [virtual]
|
Return the source term for the momentum equation.
Implements RASModel.
Definition at line 242 of file LaunderSharmaKE.C.
References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), muEff(), and Foam::T().
void correct | ( | ) | [virtual]
|
Solve the turbulence equations and correct the turbulence viscosity.
Implements RASModel.
Definition at line 272 of file LaunderSharmaKE.C.
References Foam::bound(), tmp< T >::clear(), correct(), Foam::fvm::ddt(), Foam::dev(), Foam::fvm::div(), Foam::resError::div(), E(), Foam::fvc::grad(), Foam::fvc::interpolate(), Foam::fvm::laplacian(), Foam::magSqr(), Foam::fvc::magSqrGradGrad(), mu, Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::sqrt(), Foam::fvm::SuSp(), and Foam::twoSymm().
bool read | ( | ) | [virtual]
|
Read RASProperties dictionary.
Implements RASModel.
Definition at line 251 of file LaunderSharmaKE.C.