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

kEpsilon Class Reference

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

Inheritance diagram for kEpsilon:
Collaboration diagram for kEpsilon:

List of all members.


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< volScalarFieldDkEff () const
 Return the effective diffusivity for k.
tmp< volScalarFieldDepsilonEff () const
 Return the effective diffusivity for epsilon.
virtual tmp< volScalarFieldmut () const
 Return the turbulence viscosity.
virtual tmp< volScalarFieldalphaEff () const
 Return the effective turbulent thermal diffusivity.
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy.
virtual tmp< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate.
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor.
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor including the laminar stress.
virtual tmp< fvVectorMatrixdivDevRhoReff (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 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
        sigmaEps    1.3;
        Prt         1.0;    // only for compressible
    }

Source files

Definition at line 63 of file kEpsilon.H.


Constructor & Destructor Documentation

kEpsilon ( const volScalarField rho,
const volVectorField U,
const surfaceScalarField phi,
const basicThermo thermophysicalModel 
)

Construct from components.

Definition at line 40 of file kEpsilon.C.

References RASModel::epsilonSmall_, and turbulenceModel::rho_.

virtual ~kEpsilon (  )  [inline, virtual]

Destructor.

Definition at line 105 of file kEpsilon.H.


Member Function Documentation

TypeName ( "kEpsilon"   ) 

Runtime type information.

tmp<volScalarField> DkEff (  )  const [inline]

Return the effective diffusivity for k.

Definition at line 112 of file kEpsilon.H.

tmp<volScalarField> DepsilonEff (  )  const [inline]

Return the effective diffusivity for epsilon.

Definition at line 121 of file kEpsilon.H.

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 130 of file kEpsilon.H.

Referenced by kEpsilon::alphaEff().

Here is the caller graph for this function:

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

Return the effective turbulent thermal diffusivity.

Implements RASModel.

Definition at line 136 of file kEpsilon.H.

References kEpsilon::mut().

Here is the call graph for this function:

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

Return the turbulence kinetic energy.

Implements RASModel.

Definition at line 145 of file kEpsilon.H.

References turbulenceModel::alpha().

Here is the call graph for this function:

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

Return the turbulence kinetic energy dissipation rate.

Implements RASModel.

Definition at line 151 of file kEpsilon.H.

tmp< volSymmTensorField > R (  )  const [virtual]

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 174 of file kEpsilon.C.

References RASModel::printCoeffs().

Here is the call graph for this function:

tmp< volSymmTensorField > devRhoReff (  )  const [virtual]

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 195 of file kEpsilon.C.

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

Return the source term for the momentum equation.

Implements RASModel.

Definition at line 215 of file kEpsilon.C.

void correct (  )  [virtual]

Solve the turbulence equations and correct the turbulence viscosity.

Implements RASModel.

Definition at line 246 of file kEpsilon.C.

bool read (  )  [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 225 of file kEpsilon.C.

References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), muEff(), and Foam::T().

Here is the call graph for this function:


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