Standard k-epsilon turbulence model for compressible flows. More...
#include <compressibleRASModels/kEpsilon.H>
Standard k-epsilon turbulence model for compressible flows.
The default model coefficients correspond to the following:
kEpsilonCoeffs { Cmu 0.09; C1 1.44; C2 1.92; C3 -0.33; // only for compressible sigmak 1.0;// only for compressible sigmaEps1.3; Prt 1.0;// only for compressible }
Definition at line 68 of file kEpsilon.H.
Public Member Functions | |
TypeName ("kEpsilon") | |
Runtime type information.
| |
kEpsilon (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel) | |
Construct from components.
| |
virtual | ~kEpsilon () |
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.
|
kEpsilon | ( | const volScalarField & | rho, |
const volVectorField & | U, | ||
const surfaceScalarField & | phi, | ||
const basicThermo & | thermophysicalModel | ||
) |
virtual ~kEpsilon | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 110 of file kEpsilon.H.
TypeName | ( | "kEpsilon" | ) |
Runtime type information.
tmp<volScalarField> DkEff | ( | ) | const [inline]
|
Return the effective diffusivity for k.
Definition at line 117 of file kEpsilon.H.
References kEpsilon::DkEff(), and mu.
Referenced by kEpsilon::DkEff().
tmp<volScalarField> DepsilonEff | ( | ) | const [inline]
|
Return the effective diffusivity for epsilon.
Definition at line 126 of file kEpsilon.H.
References kEpsilon::DepsilonEff(), and mu.
Referenced by kEpsilon::DepsilonEff().
virtual tmp<volScalarField> mut | ( | ) | const [inline, virtual]
|
Return the turbulence viscosity.
Implements RASModel.
Definition at line 135 of file kEpsilon.H.
References kEpsilon::mut().
Referenced by kEpsilon::mut().
virtual tmp<volScalarField> alphaEff | ( | ) | const [inline, virtual]
|
Return the effective turbulent thermal diffusivity.
Implements RASModel.
Definition at line 141 of file kEpsilon.H.
References turbulenceModel::alpha(), and kEpsilon::alphaEff().
Referenced by kEpsilon::alphaEff().
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy.
Implements RASModel.
Definition at line 150 of file kEpsilon.H.
virtual tmp<volScalarField> epsilon | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy dissipation rate.
Implements RASModel.
Definition at line 156 of file kEpsilon.H.
References kEpsilon::epsilon().
Referenced by kEpsilon::epsilon().
tmp< volSymmTensorField > R | ( | ) | const [virtual]
|
Return the Reynolds stress tensor.
Implements RASModel.
Definition at line 182 of file kEpsilon.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 203 of file kEpsilon.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 223 of file kEpsilon.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 254 of file kEpsilon.C.
References Foam::bound(), tmp< T >::clear(), correct(), Foam::fvm::ddt(), Foam::dev(), Foam::fvm::div(), Foam::resError::div(), Foam::fvc::grad(), Foam::fvc::interpolate(), Foam::fvm::laplacian(), Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::fvm::SuSp(), and Foam::twoSymm().
bool read | ( | ) | [virtual]
|