Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LRR< BasicTurbulenceModel > Class Template Reference

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

Inheritance diagram for LRR< BasicTurbulenceModel >:
Inheritance graph
[legend]
Collaboration diagram for LRR< BasicTurbulenceModel >:
Collaboration graph
[legend]

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from ReynoldsStress< RASModel< BasicTurbulenceModel > >
typedef RASModel< BasicTurbulenceModel > ::alphaField alphaField
 
typedef RASModel< BasicTurbulenceModel > ::rhoField rhoField
 
typedef RASModel< BasicTurbulenceModel > ::transportModel transportModel
 
- Public Types inherited from RASModel< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 

Public Member Functions

 TypeName ("LRR")
 
 LRR (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
 
virtual ~LRR ()=default
 
virtual bool read ()
 
virtual tmp< volScalarFieldk () const
 
virtual tmp< volScalarFieldepsilon () const
 
tmp< volSymmTensorFieldDREff () const
 
tmp< volSymmTensorFieldDepsilonEff () const
 
virtual void correct ()
 
- Public Member Functions inherited from ReynoldsStress< RASModel< BasicTurbulenceModel > >
Foam::tmp< Foam::fvVectorMatrixDivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const
 
 ReynoldsStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~ReynoldsStress ()=default
 
virtual tmp< volScalarFieldnut () const
 
virtual tmp< scalarFieldnut (const label patchi) const
 
virtual tmp< volScalarFieldk () const
 
virtual tmp< volSymmTensorFieldR () const
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 
virtual tmp< volSymmTensorFielddevRhoReff (const volVectorField &U) const
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 
virtual void validate ()
 
- Public Member Functions inherited from RASModel< BasicTurbulenceModel >
 TypeName ("RAS")
 
 declareRunTimeSelectionTable (autoPtr, RASModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName))
 
 RASModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~RASModel ()=default
 
const dimensionedScalarkMin () const
 
const dimensionedScalarepsilonMin () const
 
const dimensionedScalaromegaMin () const
 
dimensionedScalarkMin ()
 
dimensionedScalarepsilonMin ()
 
dimensionedScalaromegaMin ()
 
virtual const dictionarycoeffDict () const
 
virtual tmp< volScalarFieldnuEff () const
 
virtual tmp< scalarFieldnuEff (const label patchi) const
 
virtual tmp< volScalarFieldomega () const
 

Protected Member Functions

virtual void correctNut ()
 
- Protected Member Functions inherited from ReynoldsStress< RASModel< BasicTurbulenceModel > >
void boundNormalStress (volSymmTensorField &R) const
 
void correctWallShearStress (volSymmTensorField &R) const
 
tmp< fvVectorMatrixDivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const
 
- Protected Member Functions inherited from RASModel< BasicTurbulenceModel >
virtual void printCoeffs (const word &type)
 
 RASModel (const RASModel &)=delete
 
void operator= (const RASModel &)=delete
 

Protected Attributes

dimensionedScalar Cmu_
 
dimensionedScalar C1_
 
dimensionedScalar C2_
 
dimensionedScalar Ceps1_
 
dimensionedScalar Ceps2_
 
dimensionedScalar Cs_
 
dimensionedScalar Ceps_
 
Switch wallReflection_
 
dimensionedScalar kappa_
 
dimensionedScalar Cref1_
 
dimensionedScalar Cref2_
 
volScalarField k_
 
volScalarField epsilon_
 
- Protected Attributes inherited from ReynoldsStress< RASModel< BasicTurbulenceModel > >
dimensionedScalar couplingFactor_
 
volSymmTensorField R_
 
volScalarField nut_
 
- Protected Attributes inherited from RASModel< BasicTurbulenceModel >
dictionary RASDict_
 
Switch turbulence_
 
Switch printCoeffs_
 
dictionary coeffDict_
 
dimensionedScalar kMin_
 
dimensionedScalar epsilonMin_
 
dimensionedScalar omegaMin_
 

Additional Inherited Members

- Static Public Member Functions inherited from RASModel< BasicTurbulenceModel >
static autoPtr< RASModelNew (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::RASModels::LRR< BasicTurbulenceModel >

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

Reference:

    Launder, B. E., Reece, G. J., & Rodi, W. (1975).
    Progress in the development of a Reynolds-stress turbulence closure.
    Journal of fluid mechanics, 68(03), 537-566.

Including the recommended generalized gradient diffusion model of Daly and Harlow:

    Daly, B. J., & Harlow, F. H. (1970).
    Transport equations in turbulence.
    Physics of Fluids (1958-1988), 13(11), 2634-2649.

Optional Gibson-Launder wall-reflection is also provided:

    Gibson, M. M., & Launder, B. E. (1978).
    Ground effects on pressure fluctuations in the
    atmospheric boundary layer.
    Journal of Fluid Mechanics, 86(03), 491-511.

The default model coefficients are:

    LRRCoeffs
    {
        Cmu             0.09;
        C1              1.8;
        C2              0.6;
        Ceps1           1.44;
        Ceps2           1.92;
        Cs              0.25;
        Ceps            0.15;

        wallReflection  yes;
        kappa           0.41
        Cref1           0.5;
        Cref2           0.3;

        couplingFactor  0.0;
    }
Source files

Definition at line 99 of file LRR.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 151 of file LRR.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 152 of file LRR.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 153 of file LRR.H.

Constructor & Destructor Documentation

◆ LRR()

LRR ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word propertiesName = turbulenceModel::propertiesName,
const word type = typeName 
)

Definition at line 50 of file LRR.C.

References Foam::bound(), Foam::tr(), and Foam::type().

Here is the call graph for this function:

◆ ~LRR()

virtual ~LRR ( )
virtualdefault

Member Function Documentation

◆ correctNut()

void correctNut
protectedvirtual

Implements ReynoldsStress< RASModel< BasicTurbulenceModel > >.

Definition at line 36 of file LRR.C.

References optionList::correct(), options::New(), and Foam::sqr().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "LRR< BasicTurbulenceModel >"  )

◆ read()

bool read
virtual

Implements ReynoldsStress< RASModel< BasicTurbulenceModel > >.

Definition at line 213 of file LRR.C.

References Foam::read().

Here is the call graph for this function:

◆ k()

virtual tmp<volScalarField> k ( ) const
inlinevirtual

Definition at line 186 of file LRR.H.

References LRR< BasicTurbulenceModel >::k_.

◆ epsilon()

virtual tmp<volScalarField> epsilon ( ) const
inlinevirtual

Reimplemented from RASModel< BasicTurbulenceModel >.

Definition at line 192 of file LRR.H.

References LRR< BasicTurbulenceModel >::epsilon_.

◆ DREff()

Definition at line 238 of file LRR.C.

References Foam::I, and nu.

◆ DepsilonEff()

tmp< volSymmTensorField > DepsilonEff

Definition at line 252 of file LRR.C.

References Foam::I, and nu.

◆ correct()

void correct
virtual

Member Data Documentation

◆ Cmu_

dimensionedScalar Cmu_
protected

Definition at line 118 of file LRR.H.

◆ C1_

dimensionedScalar C1_
protected

Definition at line 120 of file LRR.H.

◆ C2_

dimensionedScalar C2_
protected

Definition at line 121 of file LRR.H.

◆ Ceps1_

dimensionedScalar Ceps1_
protected

Definition at line 123 of file LRR.H.

◆ Ceps2_

dimensionedScalar Ceps2_
protected

Definition at line 124 of file LRR.H.

◆ Cs_

dimensionedScalar Cs_
protected

Definition at line 125 of file LRR.H.

◆ Ceps_

dimensionedScalar Ceps_
protected

Definition at line 126 of file LRR.H.

◆ wallReflection_

Switch wallReflection_
protected

Definition at line 131 of file LRR.H.

◆ kappa_

dimensionedScalar kappa_
protected

Definition at line 132 of file LRR.H.

◆ Cref1_

dimensionedScalar Cref1_
protected

Definition at line 133 of file LRR.H.

◆ Cref2_

dimensionedScalar Cref2_
protected

Definition at line 134 of file LRR.H.

◆ k_

volScalarField k_
protected

Definition at line 139 of file LRR.H.

Referenced by LRR< BasicTurbulenceModel >::k().

◆ epsilon_

volScalarField epsilon_
protected

Definition at line 140 of file LRR.H.

Referenced by LRR< BasicTurbulenceModel >::epsilon().


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