Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LienLeschziner Class Reference

Lien and Leschziner low-Reynolds number k-epsilon turbulence model for incompressible flows. More...

Inheritance diagram for LienLeschziner:
Inheritance graph
[legend]
Collaboration diagram for LienLeschziner:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("LienLeschziner")
 
 LienLeschziner (const geometricOneField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
 Construct from components. More...
 
virtual ~LienLeschziner ()
 Destructor. More...
 
virtual bool read ()
 Read RASProperties dictionary. More...
 
tmp< volScalarFieldDkEff () const
 Return the effective diffusivity for k. More...
 
tmp< volScalarFieldDepsilonEff () const
 Return the effective diffusivity for epsilon. More...
 
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate. More...
 
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
- Public Member Functions inherited from eddyViscosity< incompressible::RASModel >
 eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 Construct from components. More...
 
virtual ~eddyViscosity ()
 Destructor. More...
 
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity. More...
 
virtual tmp< scalarFieldnut (const label patchi) const
 Return the turbulence viscosity on patch. More...
 
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor. More...
 
virtual void validate ()
 Validate the turbulence fields after construction. More...
 
- Public Member Functions inherited from linearViscousStress< incompressible::RASModel >
 linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 

Protected Member Functions

tmp< volScalarFieldfMu () const
 
tmp< volScalarFieldf2 () const
 
tmp< volScalarFieldE (const volScalarField &f2) const
 
virtual void correctNut ()
 

Protected Attributes

dimensionedScalar Ceps1_
 
dimensionedScalar Ceps2_
 
dimensionedScalar sigmak_
 
dimensionedScalar sigmaEps_
 
dimensionedScalar Cmu_
 
dimensionedScalar kappa_
 
dimensionedScalar Anu_
 
dimensionedScalar Aeps_
 
dimensionedScalar AE_
 
volScalarField k_
 
volScalarField epsilon_
 
const volScalarFieldy_
 Wall distance. More...
 
- Protected Attributes inherited from eddyViscosity< incompressible::RASModel >
volScalarField nut_
 

Additional Inherited Members

- Public Types inherited from eddyViscosity< incompressible::RASModel >
typedef incompressible::RASModel ::alphaField alphaField
 
typedef incompressible::RASModel ::rhoField rhoField
 
typedef incompressible::RASModel ::transportModel transportModel
 
- Public Types inherited from linearViscousStress< incompressible::RASModel >
typedef incompressible::RASModel ::alphaField alphaField
 
typedef incompressible::RASModel ::rhoField rhoField
 
typedef incompressible::RASModel ::transportModel transportModel
 

Detailed Description

Lien and Leschziner low-Reynolds number k-epsilon turbulence model for incompressible flows.

This turbulence model is described in:

    Lien, F. S., & Leschziner, M. A. (1993).
    A pressure-velocity solution strategy for compressible flow
    and its application to shock/boundary-layer interaction
    using second-moment turbulence closure.
    Journal of fluids engineering, 115(4), 717-725.

Implemented according to the specification in: Apsley: Turbulence Models 2002

In addition to the low-Reynolds number damping functions support for wall-functions is also included to allow for low- and high-Reynolds number operation.

Source files

Definition at line 75 of file LienLeschziner.H.

Constructor & Destructor Documentation

◆ LienLeschziner()

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

Construct from components.

Definition at line 89 of file LienLeschziner.C.

References Foam::bound(), LienLeschziner::epsilon_, and LienLeschziner::k_.

Referenced by LienLeschziner::correctNut().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~LienLeschziner()

virtual ~LienLeschziner ( )
inlinevirtual

Destructor.

Definition at line 140 of file LienLeschziner.H.

References LienLeschziner::read().

Here is the call graph for this function:

Member Function Documentation

◆ fMu()

tmp< volScalarField > fMu ( ) const
protected

Definition at line 47 of file LienLeschziner.C.

References LienLeschziner::Aeps_, LienLeschziner::Anu_, Foam::exp(), LienLeschziner::k_, nu, Foam::sqrt(), and LienLeschziner::y_.

Referenced by LienLeschziner::correctNut().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f2()

tmp< volScalarField > f2 ( ) const
protected

Definition at line 57 of file LienLeschziner.C.

References LienLeschziner::epsilon_, Foam::exp(), LienLeschziner::k_, nu, and Foam::sqr().

Referenced by LienLeschziner::correct().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ E()

tmp< volScalarField > E ( const volScalarField f2) const
protected

Definition at line 65 of file LienLeschziner.C.

References LienLeschziner::AE_, LienLeschziner::Aeps_, LienLeschziner::Ceps2_, LienLeschziner::Cmu_, LienLeschziner::epsilon_, Foam::exp(), LienLeschziner::k_, LienLeschziner::kappa_, nu, Foam::pow(), Foam::sqr(), Foam::sqrt(), and LienLeschziner::y_.

Referenced by LienLeschziner::correct().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correctNut()

void correctNut ( )
protectedvirtual

◆ TypeName()

TypeName ( "LienLeschziner"  )

◆ read()

bool read ( )
virtual

◆ DkEff()

tmp<volScalarField> DkEff ( ) const
inline

Return the effective diffusivity for k.

Definition at line 150 of file LienLeschziner.H.

References nu, and eddyViscosity< incompressible::RASModel >::nut_.

Referenced by LienLeschziner::correct().

Here is the caller graph for this function:

◆ DepsilonEff()

tmp<volScalarField> DepsilonEff ( ) const
inline

Return the effective diffusivity for epsilon.

Definition at line 159 of file LienLeschziner.H.

References nu, and eddyViscosity< incompressible::RASModel >::nut_.

Referenced by LienLeschziner::correct().

Here is the caller graph for this function:

◆ k()

virtual tmp<volScalarField> k ( ) const
inlinevirtual

Return the turbulence kinetic energy.

Implements eddyViscosity< incompressible::RASModel >.

Definition at line 168 of file LienLeschziner.H.

References LienLeschziner::k_.

◆ epsilon()

virtual tmp<volScalarField> epsilon ( ) const
inlinevirtual

Return the turbulence kinetic energy dissipation rate.

Definition at line 174 of file LienLeschziner.H.

References LienLeschziner::correct(), and LienLeschziner::epsilon_.

Here is the call graph for this function:

◆ correct()

void correct ( )
virtual

Member Data Documentation

◆ Ceps1_

dimensionedScalar Ceps1_
protected

Definition at line 86 of file LienLeschziner.H.

Referenced by LienLeschziner::correct(), and LienLeschziner::read().

◆ Ceps2_

dimensionedScalar Ceps2_
protected

◆ sigmak_

dimensionedScalar sigmak_
protected

Definition at line 88 of file LienLeschziner.H.

Referenced by LienLeschziner::read().

◆ sigmaEps_

dimensionedScalar sigmaEps_
protected

Definition at line 89 of file LienLeschziner.H.

Referenced by LienLeschziner::read().

◆ Cmu_

dimensionedScalar Cmu_
protected

◆ kappa_

dimensionedScalar kappa_
protected

Definition at line 92 of file LienLeschziner.H.

Referenced by LienLeschziner::E(), and LienLeschziner::read().

◆ Anu_

dimensionedScalar Anu_
protected

Definition at line 94 of file LienLeschziner.H.

Referenced by LienLeschziner::fMu(), and LienLeschziner::read().

◆ Aeps_

dimensionedScalar Aeps_
protected

Definition at line 95 of file LienLeschziner.H.

Referenced by LienLeschziner::E(), LienLeschziner::fMu(), and LienLeschziner::read().

◆ AE_

dimensionedScalar AE_
protected

Definition at line 96 of file LienLeschziner.H.

Referenced by LienLeschziner::E(), and LienLeschziner::read().

◆ k_

volScalarField k_
protected

◆ epsilon_

volScalarField epsilon_
protected

◆ y_

const volScalarField& y_
protected

Wall distance.

Note: different to wall distance in parent RASModel which is for near-wall cells only

Definition at line 107 of file LienLeschziner.H.

Referenced by LienLeschziner::E(), and LienLeschziner::fMu().


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