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

LaunderGibsonRSTM Class Reference

Launder-Gibson Reynolds stress turbulence model for compressible flows. More...

#include <compressibleRASModels/LaunderGibsonRSTM.H>


Detailed Description

Launder-Gibson Reynolds stress turbulence model for compressible flows.

The default model coefficients correspond to the following:

LaunderGibsonRSTMCoeffs
{
Cmu 0.09;
kappa   0.41;
Clg11.8;
Clg20.6;
C1  1.44;
C2  1.92;
C1Ref   0.5;
C2Ref   0.3;
Cs  0.25;
Ceps0.15;
sigmah  1.0;// only for compressible
sigmaEps1.3;
sigmaR  0.81967;
couplingFactor  0.0;
}
Source files

Definition at line 76 of file LaunderGibsonRSTM.H.

Inheritance diagram for LaunderGibsonRSTM:
Collaboration diagram for LaunderGibsonRSTM:

List of all members.

Public Member Functions

 TypeName ("LaunderGibsonRSTM")
 Runtime type information.
 LaunderGibsonRSTM (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel)
 Construct from components.
virtual  ~LaunderGibsonRSTM ()
 Destructor.
tmp< volScalarField >  DREff () const
 Return the effective diffusivity for R.
tmp< volScalarField >  DepsilonEff () const
 Return the effective diffusivity for epsilon.
virtual tmp< volScalarField >  mut () const
 Return the turbulence viscosity.
virtual tmp< volScalarField >  alphaEff () const
 Return the effective turbulent thermal diffusivity.
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 >  devRhoReff () const
 Return the effective stress tensor including the laminar stress.
virtual tmp< fvVectorMatrix >  divDevRhoReff (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

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

Construct from components.

Definition at line 49 of file LaunderGibsonRSTM.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::nl, and Foam::sqr().

virtual ~LaunderGibsonRSTM (  ) [inline, virtual]

Destructor.

Definition at line 134 of file LaunderGibsonRSTM.H.


Member Function Documentation

TypeName ( "LaunderGibsonRSTM"    )

Runtime type information.

tmp<volScalarField> DREff (  ) const [inline]

Return the effective diffusivity for R.

Definition at line 141 of file LaunderGibsonRSTM.H.

References LaunderGibsonRSTM::DREff(), and mu.

Referenced by LaunderGibsonRSTM::DREff().

tmp<volScalarField> DepsilonEff (  ) const [inline]

Return the effective diffusivity for epsilon.

Definition at line 150 of file LaunderGibsonRSTM.H.

References LaunderGibsonRSTM::DepsilonEff(), and mu.

Referenced by LaunderGibsonRSTM::DepsilonEff().

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 159 of file LaunderGibsonRSTM.H.

References LaunderGibsonRSTM::mut().

Referenced by LaunderGibsonRSTM::mut().

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

Return the effective turbulent thermal diffusivity.

Implements RASModel.

Definition at line 165 of file LaunderGibsonRSTM.H.

References turbulenceModel::alpha(), and LaunderGibsonRSTM::alphaEff().

Referenced by LaunderGibsonRSTM::alphaEff().

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

Return the turbulence kinetic energy.

Implements RASModel.

Definition at line 174 of file LaunderGibsonRSTM.H.

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

Return the turbulence kinetic energy dissipation rate.

Implements RASModel.

Definition at line 180 of file LaunderGibsonRSTM.H.

References LaunderGibsonRSTM::epsilon().

Referenced by LaunderGibsonRSTM::epsilon().

virtual tmp<volSymmTensorField> R (  ) const [inline, virtual]

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 186 of file LaunderGibsonRSTM.H.

References LaunderGibsonRSTM::R().

Referenced by LaunderGibsonRSTM::R().

tmp< volSymmTensorField > devRhoReff (  ) const [virtual]

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 272 of file LaunderGibsonRSTM.C.

References Foam::dev(), Foam::fvc::grad(), mu, IOobject::NO_READ, IOobject::NO_WRITE, and Foam::twoSymm().

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

Return the source term for the momentum equation.

Implements RASModel.

Definition at line 292 of file LaunderGibsonRSTM.C.

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

void correct (  ) [virtual]
bool read (  ) [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 317 of file LaunderGibsonRSTM.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and Foam::nl.


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