FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

LaunderSharmaKE Class Reference

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

#include <incompressibleRASModels/LaunderSharmaKE.H>


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;
sigmaEps1.3;
}
Source files

Definition at line 66 of file LaunderSharmaKE.H.

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.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 64 of file LaunderSharmaKE.C.

References Foam::sqr().

virtual ~LaunderSharmaKE (  ) [inline, virtual]

Destructor.

Definition at line 110 of file LaunderSharmaKE.H.


Member Function Documentation

TypeName ( "LaunderSharmaKE"    )

Runtime type information.

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

Return the turbulence viscosity.

Implements incompressible::RASModel.

Definition at line 117 of file LaunderSharmaKE.H.

tmp<volScalarField> DkEff (  ) const [inline]

Return the effective diffusivity for k.

Definition at line 123 of file LaunderSharmaKE.H.

References incompressible::turbulenceModel::nu().

Referenced by LaunderSharmaKE::correct().

tmp<volScalarField> DepsilonEff (  ) const [inline]

Return the effective diffusivity for epsilon.

Definition at line 132 of file LaunderSharmaKE.H.

References incompressible::turbulenceModel::nu().

Referenced by LaunderSharmaKE::correct().

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

Return the turbulence kinetic energy.

Implements incompressible::RASModel.

Definition at line 141 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 incompressible::RASModel.

Definition at line 148 of file LaunderSharmaKE.H.

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

Return the source term for the momentum equation.

Implements incompressible::RASModel.

Definition at line 198 of file LaunderSharmaKE.C.

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

bool read (  ) [virtual]

Read RASProperties dictionary.

Implements incompressible::RASModel.

Definition at line 208 of file LaunderSharmaKE.C.

References incompressible::RASModel::coeffDict(), and dimensioned< Type >::readIfPresent().


The documentation for this class was generated from the following files: