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

LRR Class Reference

Launder, Reece and Rodi Reynolds-stress turbulence model for compressible flows. More...

Inheritance diagram for LRR:
Collaboration diagram for LRR:

List of all members.


Public Member Functions

 TypeName ("LRR")
 Runtime type information.
 LRR (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel)
 Construct from components.
virtual ~LRR ()
 Destructor.
tmp< volScalarFieldDREff () const
 Return the effective diffusivity for R.
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, Reece and Rodi Reynolds-stress turbulence model for compressible flows.

The default model coefficients correspond to the following:

    LRRCoeffs
    {
        Cmu         0.09;
        Clrr1       1.8;
        Clrr2       0.6;
        C1          1.44;
        C2          1.92;
        Cs          0.25;
        Ceps        0.15;
        Prt         1.0;        // only for compressible
        sigmaEps    1.3;
        sigmaR      0.81967;    // only for compressible
        couplingFactor  0.0;    // only for incompressible
    }

Source files

Definition at line 68 of file LRR.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 41 of file LRR.C.

virtual ~LRR (  )  [inline, virtual]

Destructor.

Definition at line 120 of file LRR.H.


Member Function Documentation

TypeName ( "LRR"   ) 

Runtime type information.

tmp<volScalarField> DREff (  )  const [inline]

Return the effective diffusivity for R.

Definition at line 127 of file LRR.H.

tmp<volScalarField> DepsilonEff (  )  const [inline]

Return the effective diffusivity for epsilon.

Definition at line 136 of file LRR.H.

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 145 of file LRR.H.

Referenced by LRR::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 151 of file LRR.H.

References LRR::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 160 of file LRR.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 166 of file LRR.H.

Referenced by LRR::R().

Here is the caller graph for this function:

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

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 172 of file LRR.H.

References LRR::epsilon().

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 235 of file LRR.C.

References RASModel::printCoeffs().

Here is the call graph for this function:

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

Return the source term for the momentum equation.

Implements RASModel.

Definition at line 255 of file LRR.C.

void correct (  )  [virtual]

Solve the turbulence equations and correct the turbulence viscosity.

fvm::laplacian(Ceps*rho_*(k_/epsilon_)*R_, epsilon_)

fvm::laplacian(Cs*rho_*(k_/epsilon_)*R_, R_)

Implements RASModel.

Definition at line 313 of file LRR.C.

bool read (  )  [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 280 of file LRR.C.


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