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

LaunderSharmaKE Class Reference

Launder and Sharma low-Reynolds k-epsilon turbulence model for compressible and combusting flows. More...

Inheritance diagram for LaunderSharmaKE:
Collaboration diagram for LaunderSharmaKE:

List of all members.


Public Member Functions

 TypeName ("LaunderSharmaKE")
 Runtime type information.
 LaunderSharmaKE (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel)
 Construct from components.
virtual ~LaunderSharmaKE ()
 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

Launder and Sharma low-Reynolds k-epsilon turbulence model for compressible and combusting flows.

The default model coefficients correspond to the following:

    LaunderSharmaKECoeffs
    {
        Cmu         0.09;
        C1          1.44;
        C2          1.92;
        C3          -0.33;
        alphah      1.0;    // only for compressible
        alphahk     1.0;    // only for compressible
        alphaEps    0.76923;
    }

Source files

Definition at line 64 of file LaunderSharmaKE.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 56 of file LaunderSharmaKE.C.

virtual ~LaunderSharmaKE (  )  [inline, virtual]

Destructor.

Definition at line 113 of file LaunderSharmaKE.H.


Member Function Documentation

TypeName ( "LaunderSharmaKE"   ) 

Runtime type information.

tmp<volScalarField> DkEff (  )  const [inline]

Return the effective diffusivity for k.

Definition at line 120 of file LaunderSharmaKE.H.

tmp<volScalarField> DepsilonEff (  )  const [inline]

Return the effective diffusivity for epsilon.

Definition at line 129 of file LaunderSharmaKE.H.

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 138 of file LaunderSharmaKE.H.

Referenced by LaunderSharmaKE::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 144 of file LaunderSharmaKE.H.

References LaunderSharmaKE::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 153 of file LaunderSharmaKE.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 159 of file LaunderSharmaKE.H.

tmp< volSymmTensorField > R (  )  const [virtual]

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 193 of file LaunderSharmaKE.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 214 of file LaunderSharmaKE.C.

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

Return the source term for the momentum equation.

Implements RASModel.

Definition at line 234 of file LaunderSharmaKE.C.

void correct (  )  [virtual]

Solve the turbulence equations and correct the turbulence viscosity.

Implements RASModel.

Definition at line 264 of file LaunderSharmaKE.C.

bool read (  )  [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 243 of file LaunderSharmaKE.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:
Copyright © 2000-2009 OpenCFD Ltd