Standard k-epsilon turbulence model for incompressible flows. More...
#include <incompressibleRASModels/kEpsilon.H>
Standard k-epsilon turbulence model for incompressible flows.
The default model coefficients correspond to the following:
kEpsilonCoeffs { Cmu 0.09; C1 1.44; C2 1.92; sigmaEps1.3; }
Definition at line 64 of file kEpsilon.H.
Public Member Functions | |
TypeName ("kEpsilon") | |
Runtime type information.
| |
kEpsilon (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport) | |
Construct from components.
| |
virtual | ~kEpsilon () |
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 |
Return the turbulence kinetic energy dissipation rate.
| |
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.
|
kEpsilon | ( | const volVectorField & | U, |
const surfaceScalarField & | phi, | ||
transportModel & | transport | ||
) |
virtual ~kEpsilon | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 102 of file kEpsilon.H.
TypeName | ( | "kEpsilon" | ) |
Runtime type information.
virtual tmp<volScalarField> nut | ( | ) | const [inline, virtual]
|
Return the turbulence viscosity.
Implements incompressible::RASModel.
Definition at line 109 of file kEpsilon.H.
tmp<volScalarField> DkEff | ( | ) | const [inline]
|
Return the effective diffusivity for k.
Definition at line 115 of file kEpsilon.H.
References incompressible::turbulenceModel::nu().
Referenced by kEpsilon::correct().
tmp<volScalarField> DepsilonEff | ( | ) | const [inline]
|
Return the effective diffusivity for epsilon.
Definition at line 124 of file kEpsilon.H.
References incompressible::turbulenceModel::nu().
Referenced by kEpsilon::correct().
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy.
Implements incompressible::RASModel.
Definition at line 133 of file kEpsilon.H.
virtual tmp<volScalarField> epsilon | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy dissipation rate.
Implements incompressible::RASModel.
Definition at line 139 of file kEpsilon.H.
tmp< volSymmTensorField > R | ( | ) | const [virtual]
|
Return the Reynolds stress tensor.
Implements incompressible::RASModel.
Definition at line 139 of file kEpsilon.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 160 of file kEpsilon.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 180 of file kEpsilon.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 208 of file kEpsilon.C.
References Foam::bound(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::fvm::ddt(), kEpsilon::DepsilonEff(), Foam::fvc::div(), Foam::fvm::div(), kEpsilon::DkEff(), incompressible::RASModel::epsilon0_, Foam::fvc::grad(), incompressible::RASModel::k0_, Foam::fvm::laplacian(), Foam::magSqr(), incompressible::turbulenceModel::phi_, Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::symm(), incompressible::RASModel::turbulence_, and incompressible::turbulenceModel::U_.
bool read | ( | ) | [virtual]
|
Read RASProperties dictionary.
Implements incompressible::RASModel.
Definition at line 190 of file kEpsilon.C.
References incompressible::RASModel::coeffDict(), and dimensioned< Type >::readIfPresent().