Launder and Sharma low-Reynolds k-epsilon turbulence model for incompressible flows. More...
#include <incompressibleRASModels/LaunderSharmaKE.H>
Launder and Sharma low-Reynolds k-epsilon turbulence model for incompressible flows.
The default model coefficients correspond to the following:
LaunderSharmaKECoeffs { Cmu 0.09; C1 1.44; C2 1.92; C3 -0.33; sigmaEps1.3; }
Definition at line 66 of file LaunderSharmaKE.H.
Public Member Functions | |
TypeName ("LaunderSharmaKE") | |
Runtime type information.
| |
LaunderSharmaKE (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport) | |
Construct from components.
| |
virtual | ~LaunderSharmaKE () |
Destructor.
| |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity.
| |
tmp< volScalarField > | DkEff () const |
Return the effective diffusivity for k.
| |
tmp< volScalarField > | DepsilonEff () const |
Return the effective diffusivity for epsilon.
| |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy.
| |
virtual tmp< volScalarField > | epsilon () const |
Note that epsilonTilda is returned as epsilon.
| |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor.
| |
virtual tmp< volSymmTensorField > | devReff () const |
Return the effective stress tensor including the laminar stress.
| |
virtual tmp< fvVectorMatrix > | divDevReff (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 volVectorField & | U, |
const surfaceScalarField & | phi, | ||
transportModel & | transport | ||
) |
virtual ~LaunderSharmaKE | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 110 of file LaunderSharmaKE.H.
TypeName | ( | "LaunderSharmaKE" | ) |
Runtime type information.
virtual tmp<volScalarField> nut | ( | ) | const [inline, virtual]
|
Return the turbulence viscosity.
Implements incompressible::RASModel.
Definition at line 117 of file LaunderSharmaKE.H.
tmp<volScalarField> DkEff | ( | ) | const [inline]
|
Return the effective diffusivity for k.
Definition at line 123 of file LaunderSharmaKE.H.
References incompressible::turbulenceModel::nu().
Referenced by LaunderSharmaKE::correct().
tmp<volScalarField> DepsilonEff | ( | ) | const [inline]
|
Return the effective diffusivity for epsilon.
Definition at line 132 of file LaunderSharmaKE.H.
References incompressible::turbulenceModel::nu().
Referenced by LaunderSharmaKE::correct().
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy.
Implements incompressible::RASModel.
Definition at line 141 of file LaunderSharmaKE.H.
virtual tmp<volScalarField> epsilon | ( | ) | const [inline, virtual]
|
Note that epsilonTilda is returned as epsilon.
This is the appropriate variable for most purposes.
Implements incompressible::RASModel.
Definition at line 148 of file LaunderSharmaKE.H.
tmp< volSymmTensorField > R | ( | ) | const [virtual]
|
Return the Reynolds stress tensor.
Implements incompressible::RASModel.
Definition at line 157 of file LaunderSharmaKE.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::fvc::grad(), Foam::I, incompressible::turbulenceModel::mesh_, IOobject::NO_READ, IOobject::NO_WRITE, incompressible::turbulenceModel::runTime_, Time::timeName(), Foam::twoSymm(), and incompressible::turbulenceModel::U_.
tmp< volSymmTensorField > devReff | ( | ) | const [virtual]
|
Return the effective stress tensor including the laminar stress.
Implements incompressible::RASModel.
Definition at line 178 of file LaunderSharmaKE.C.
References Foam::dev(), Foam::fvc::grad(), incompressible::turbulenceModel::mesh_, IOobject::NO_READ, IOobject::NO_WRITE, incompressible::RASModel::nuEff(), incompressible::turbulenceModel::runTime_, Time::timeName(), Foam::twoSymm(), and incompressible::turbulenceModel::U_.
tmp< fvVectorMatrix > divDevReff | ( | volVectorField & | U ) | const [virtual]
|
Return the source term for the momentum equation.
Implements incompressible::RASModel.
Definition at line 198 of file LaunderSharmaKE.C.
References Foam::dev(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), incompressible::RASModel::nuEff(), and Foam::T().
void correct | ( | ) | [virtual]
|
Solve the turbulence equations and correct the turbulence viscosity.
Implements incompressible::RASModel.
Definition at line 226 of file LaunderSharmaKE.C.
References Foam::bound(), Foam::fvm::ddt(), LaunderSharmaKE::DepsilonEff(), Foam::fvm::div(), LaunderSharmaKE::DkEff(), E(), incompressible::RASModel::epsilon0_, Foam::fvc::grad(), incompressible::RASModel::k0_, Foam::fvm::laplacian(), Foam::magSqr(), Foam::fvc::magSqrGradGrad(), incompressible::turbulenceModel::nu(), incompressible::turbulenceModel::phi_, Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::sqrt(), Foam::symm(), incompressible::RASModel::turbulence_, and incompressible::turbulenceModel::U_.
bool read | ( | ) | [virtual]
|
Read RASProperties dictionary.
Implements incompressible::RASModel.
Definition at line 208 of file LaunderSharmaKE.C.
References incompressible::RASModel::coeffDict(), and dimensioned< Type >::readIfPresent().