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

RNGkEpsilon Class Reference

Renormalisation group k-epsilon turbulence model for compressible flows. More...

Inheritance diagram for RNGkEpsilon:
Collaboration diagram for RNGkEpsilon:

List of all members.


Public Member Functions

 TypeName ("RNGkEpsilon")
 Runtime type information.
 RNGkEpsilon (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel)
 Construct from components.
virtual ~RNGkEpsilon ()
 Destructor.
tmp< volScalarFieldDkEff () const
 Return the effective diffusivity for k.
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 effective stress tensor including the laminar stress.
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity.
virtual bool read ()
 Read RASProperties dictionary.

Detailed Description

Renormalisation group k-epsilon turbulence model for compressible flows.

The default model coefficients correspond to the following:

    RNGkEpsilonCoeffs
    {
        Cmu         0.0845;
        C1          1.42;
        C2          1.68;
        C3          -0.33;  // only for compressible
        Prt         1.0;    // only for compressible
        sigmak      0.71942;
        sigmaEps    0.71942;
        eta0        4.38;
        beta        0.012;
    }

Source files

Definition at line 65 of file RNGkEpsilon.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 40 of file RNGkEpsilon.C.

References RASModel::epsilonSmall_, and turbulenceModel::rho_.

virtual ~RNGkEpsilon (  )  [inline, virtual]

Destructor.

Definition at line 109 of file RNGkEpsilon.H.


Member Function Documentation

TypeName ( "RNGkEpsilon"   ) 

Runtime type information.

tmp<volScalarField> DkEff (  )  const [inline]

Return the effective diffusivity for k.

Definition at line 116 of file RNGkEpsilon.H.

tmp<volScalarField> DepsilonEff (  )  const [inline]

Return the effective diffusivity for epsilon.

Definition at line 125 of file RNGkEpsilon.H.

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 134 of file RNGkEpsilon.H.

Referenced by RNGkEpsilon::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 140 of file RNGkEpsilon.H.

References RNGkEpsilon::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 149 of file RNGkEpsilon.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 155 of file RNGkEpsilon.H.

tmp< volSymmTensorField > R (  )  const [virtual]

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 192 of file RNGkEpsilon.C.

References RASModel::printCoeffs().

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 213 of file RNGkEpsilon.C.

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

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 233 of file RNGkEpsilon.C.

void correct (  )  [virtual]

Solve the turbulence equations and correct the turbulence viscosity.

Implements RASModel.

Definition at line 265 of file RNGkEpsilon.C.

bool read (  )  [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 242 of file RNGkEpsilon.C.

References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), muEff(), 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