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

RNGkEpsilon Class Reference

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

#include <compressibleRASModels/RNGkEpsilon.H>


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;
sigmaEps0.71942;
eta04.38;
beta0.012;
}
Source files

Definition at line 70 of file RNGkEpsilon.H.

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< volScalarField >  DkEff () const
 Return the effective diffusivity for k.
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 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.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 48 of file RNGkEpsilon.C.

References Foam::sqr().

virtual ~RNGkEpsilon (  ) [inline, virtual]

Destructor.

Definition at line 114 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 121 of file RNGkEpsilon.H.

References RNGkEpsilon::DkEff(), and mu.

Referenced by RNGkEpsilon::DkEff().

tmp<volScalarField> DepsilonEff (  ) const [inline]

Return the effective diffusivity for epsilon.

Definition at line 130 of file RNGkEpsilon.H.

References RNGkEpsilon::DepsilonEff(), and mu.

Referenced by RNGkEpsilon::DepsilonEff().

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 139 of file RNGkEpsilon.H.

References RNGkEpsilon::mut().

Referenced by RNGkEpsilon::mut().

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

Return the effective turbulent thermal diffusivity.

Implements RASModel.

Definition at line 145 of file RNGkEpsilon.H.

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

Referenced by RNGkEpsilon::alphaEff().

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

Return the turbulence kinetic energy.

Implements RASModel.

Definition at line 154 of file RNGkEpsilon.H.

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

Return the turbulence kinetic energy dissipation rate.

Implements RASModel.

Definition at line 160 of file RNGkEpsilon.H.

References RNGkEpsilon::epsilon().

Referenced by RNGkEpsilon::epsilon().

tmp< volSymmTensorField > R (  ) const [virtual]

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 200 of file RNGkEpsilon.C.

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

tmp< volSymmTensorField > devRhoReff (  ) const [virtual]

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 221 of file RNGkEpsilon.C.

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

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

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 241 of file RNGkEpsilon.C.

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

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

Read RASProperties dictionary.

Implements RASModel.

Definition at line 250 of file RNGkEpsilon.C.


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