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

LRR Class Reference

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

#include <compressibleRASModels/LRR.H>


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;
Ceps0.15;
Prt 1.0;// only for compressible
sigmaEps1.3;
sigmaR  0.81967;// only for compressible
couplingFactor  0.0;// only for incompressible
}
Source files

Definition at line 73 of file LRR.H.

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< 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

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

Construct from components.

Definition at line 49 of file LRR.C.

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

virtual ~LRR (  ) [inline, virtual]

Destructor.

Definition at line 125 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 132 of file LRR.H.

References LRR::DREff(), and mu.

Referenced by LRR::DREff().

tmp<volScalarField> DepsilonEff (  ) const [inline]

Return the effective diffusivity for epsilon.

Definition at line 141 of file LRR.H.

References LRR::DepsilonEff(), and mu.

Referenced by LRR::DepsilonEff().

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 150 of file LRR.H.

References LRR::mut().

Referenced by LRR::mut().

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

Return the effective turbulent thermal diffusivity.

Implements RASModel.

Definition at line 156 of file LRR.H.

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

Referenced by LRR::alphaEff().

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

Return the turbulence kinetic energy.

Implements RASModel.

Definition at line 165 of file LRR.H.

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

Return the turbulence kinetic energy dissipation rate.

Implements RASModel.

Definition at line 171 of file LRR.H.

References LRR::epsilon().

Referenced by LRR::epsilon().

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

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 177 of file LRR.H.

References LRR::R().

Referenced by LRR::R().

tmp< volSymmTensorField > devRhoReff (  ) const [virtual]

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 243 of file LRR.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 263 of file LRR.C.

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

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

References Foam::bound(), correct(), Foam::fvm::ddt(), Foam::dev(), Foam::fvm::div(), fvPatch::faceCells(), forAll, Foam::fvc::grad(), Foam::I, Foam::fvm::laplacian(), Foam::mag(), Foam::min(), patches, Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::symm(), Foam::tr(), Foam::twoSymm(), Tensor< Cmpt >::xy(), Tensor< Cmpt >::xz(), and Tensor< Cmpt >::yz().

bool read (  ) [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 288 of file LRR.C.

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


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