OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

kEpsilon Class Reference

Standard k-epsilon turbulence model for incompressible flows. More...

Inheritance diagram for kEpsilon:
Collaboration diagram for kEpsilon:

List of all members.


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.

Detailed Description

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;
        sigmaEps    1.3;
    }

Source files

Definition at line 59 of file kEpsilon.H.


Constructor & Destructor Documentation

kEpsilon ( const volVectorField &  U,
const surfaceScalarField &  phi,
transportModel &  transport 
)

Construct from components.

Definition at line 40 of file kEpsilon.C.

virtual ~kEpsilon (  )  [inline, virtual]

Destructor.

Definition at line 97 of file kEpsilon.H.


Member Function Documentation

TypeName ( "kEpsilon"   ) 

Runtime type information.

virtual tmp<volScalarField> nut (  )  const [inline, virtual]

Return the turbulence viscosity.

Implements RASModel.

Definition at line 104 of file kEpsilon.H.

Referenced by kEpsilon::DkEff().

Here is the caller graph for this function:

tmp<volScalarField> DkEff (  )  const [inline]

Return the effective diffusivity for k.

Definition at line 110 of file kEpsilon.H.

References kEpsilon::nut().

Here is the call graph for this function:

tmp<volScalarField> DepsilonEff (  )  const [inline]

Return the effective diffusivity for epsilon.

Definition at line 119 of file kEpsilon.H.

virtual tmp<volScalarField> k (  )  const [inline, virtual]

Return the turbulence kinetic energy.

Implements RASModel.

Definition at line 128 of file kEpsilon.H.

virtual tmp<volScalarField> epsilon (  )  const [inline, virtual]

Return the turbulence kinetic energy dissipation rate.

Implements RASModel.

Definition at line 134 of file kEpsilon.H.

tmp< volSymmTensorField > R (  )  const [virtual]

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 131 of file kEpsilon.C.

References RASModel::epsilonSmall_, and RASModel::printCoeffs().

Here is the call graph for this function:

tmp< volSymmTensorField > devReff (  )  const [virtual]

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 152 of file kEpsilon.C.

tmp< fvVectorMatrix > divDevReff ( volVectorField &  U  )  const [virtual]

Return the source term for the momentum equation.

Implements RASModel.

Definition at line 172 of file kEpsilon.C.

References RASModel::nuEff().

Here is the call graph for this function:

void correct (  )  [virtual]

Solve the turbulence equations and correct the turbulence viscosity.

Implements RASModel.

Definition at line 200 of file kEpsilon.C.

bool read (  )  [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 182 of file kEpsilon.C.

References Foam::dev(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), RASModel::nuEff(), and Foam::T().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
  • src/turbulenceModels/incompressible/RAS/kEpsilon/kEpsilon.H
  • src/turbulenceModels/incompressible/RAS/kEpsilon/kEpsilon.C
Copyright © 2000-2009 OpenCFD Ltd