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 incompressible flows. More...

Inheritance diagram for LaunderSharmaKE:
Collaboration diagram for LaunderSharmaKE:

List of all members.


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.

Detailed Description

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

Source files

Definition at line 61 of file LaunderSharmaKE.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 56 of file LaunderSharmaKE.C.

virtual ~LaunderSharmaKE (  )  [inline, virtual]

Destructor.

Definition at line 105 of file LaunderSharmaKE.H.


Member Function Documentation

TypeName ( "LaunderSharmaKE"   ) 

Runtime type information.

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 112 of file LaunderSharmaKE.H.

Referenced by LaunderSharmaKE::DkEff().

Here is the caller graph for this function:

tmp<volScalarField> DkEff (  )  const [inline]

Return the effective diffusivity for k.

Definition at line 118 of file LaunderSharmaKE.H.

References LaunderSharmaKE::nut().

Here is the call graph for this function:

tmp<volScalarField> DepsilonEff (  )  const [inline]

Return the effective diffusivity for epsilon.

Definition at line 127 of file LaunderSharmaKE.H.

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

Return the turbulence kinetic energy.

Implements RASModel.

Definition at line 136 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 RASModel.

Definition at line 145 of file LaunderSharmaKE.H.

tmp< volSymmTensorField > R (  )  const [virtual]

Return the Reynolds stress tensor.

Implements RASModel.

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

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

Return the source term for the momentum equation.

Implements RASModel.

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

bool read (  )  [virtual]

Read RASProperties dictionary.

Implements RASModel.

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