LamBremhorstKE Class Reference

Lam and Bremhorst low-Reynolds number k-epsilon turbulence model for incompressible flows. More...

Inheritance diagram for LamBremhorstKE:
Collaboration diagram for LamBremhorstKE:

Public Member Functions

 TypeName ("LamBremhorstKE")
 Runtime type information. More...
 
 LamBremhorstKE (const geometricOneField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
 Construct from components. More...
 
 LamBremhorstKE (const LamBremhorstKE &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~LamBremhorstKE ()
 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 tmp< volScalarFieldomega () const
 Return the turbulence specific dissipation rate. More...
 
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
void operator= (const LamBremhorstKE &)=delete
 Disallow default bitwise assignment. 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 viscosity &viscosity)
 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< volSymmTensorFieldsigma () const
 Return the Reynolds stress tensor [m^2/s^2]. 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 viscosity &viscosity)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 
virtual tmp< volSymmTensorFielddevTau () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevTau (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevTau (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 

Protected Member Functions

virtual void correctNut ()
 

Protected Attributes

dimensionedScalar Cmu_
 
dimensionedScalar Ceps1_
 
dimensionedScalar Ceps2_
 
dimensionedScalar sigmaEps_
 
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
 
- Public Types inherited from linearViscousStress< incompressible::RASModel >
typedef incompressible::RASModel ::alphaField alphaField
 
typedef incompressible::RASModel ::rhoField rhoField
 

Detailed Description

Lam and Bremhorst low-Reynolds number k-epsilon turbulence model for incompressible flows.

This turbulence model is described in:

    Lam, C. K. G., & Bremhorst, K. (1981).
    A modified form of the k-ε model for predicting wall turbulence.
    Journal of Fluids Engineering, 103(3), 456-460.
Source files

Definition at line 61 of file LamBremhorstKE.H.

Constructor & Destructor Documentation

◆ LamBremhorstKE() [1/2]

LamBremhorstKE ( const geometricOneField alpha,
const geometricOneField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const viscosity viscosity,
const word type = typeName 
)

Construct from components.

Definition at line 90 of file LamBremhorstKE.C.

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

Referenced by LamBremhorstKE::correctNut().

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

◆ LamBremhorstKE() [2/2]

LamBremhorstKE ( const LamBremhorstKE )
delete

Disallow default bitwise copy construction.

◆ ~LamBremhorstKE()

virtual ~LamBremhorstKE ( )
inlinevirtual

Destructor.

Definition at line 122 of file LamBremhorstKE.H.

References LamBremhorstKE::read().

Here is the call graph for this function:

Member Function Documentation

◆ correctNut()

void correctNut ( )
protectedvirtual

Implements eddyViscosity< incompressible::RASModel >.

Definition at line 81 of file LamBremhorstKE.C.

References LamBremhorstKE::LamBremhorstKE().

Referenced by LamBremhorstKE::correct().

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

◆ TypeName()

TypeName ( "LamBremhorstKE"  )

Runtime type information.

◆ read()

bool read ( )
virtual

Read RASProperties dictionary.

Implements eddyViscosity< incompressible::RASModel >.

Definition at line 188 of file LamBremhorstKE.C.

References LamBremhorstKE::Ceps1_, LamBremhorstKE::Ceps2_, LamBremhorstKE::Cmu_, dimensioned< Type >::readIfPresent(), and LamBremhorstKE::sigmaEps_.

Referenced by LamBremhorstKE::~LamBremhorstKE().

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

◆ DkEff()

tmp<volScalarField> DkEff ( ) const
inline

Return the effective diffusivity for k.

Definition at line 132 of file LamBremhorstKE.H.

References GeometricField< scalar, fvPatchField, volMesh >::New(), and eddyViscosity< incompressible::RASModel >::nut_.

Referenced by LamBremhorstKE::correct().

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

◆ DepsilonEff()

tmp<volScalarField> DepsilonEff ( ) const
inline

Return the effective diffusivity for epsilon.

Definition at line 142 of file LamBremhorstKE.H.

References GeometricField< scalar, fvPatchField, volMesh >::New(), and eddyViscosity< incompressible::RASModel >::nut_.

Referenced by LamBremhorstKE::correct().

Here is the call graph for this function:
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 152 of file LamBremhorstKE.H.

References LamBremhorstKE::k_.

◆ epsilon()

virtual tmp<volScalarField> epsilon ( ) const
inlinevirtual

Return the turbulence kinetic energy dissipation rate.

Definition at line 158 of file LamBremhorstKE.H.

References LamBremhorstKE::epsilon_.

◆ omega()

virtual tmp<volScalarField> omega ( ) const
inlinevirtual

◆ correct()

◆ operator=()

void operator= ( const LamBremhorstKE )
delete

Disallow default bitwise assignment.

Referenced by LamBremhorstKE::omega().

Here is the caller graph for this function:

Member Data Documentation

◆ Cmu_

dimensionedScalar Cmu_
protected

Definition at line 78 of file LamBremhorstKE.H.

Referenced by LamBremhorstKE::read().

◆ Ceps1_

dimensionedScalar Ceps1_
protected

Definition at line 79 of file LamBremhorstKE.H.

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

◆ Ceps2_

dimensionedScalar Ceps2_
protected

Definition at line 80 of file LamBremhorstKE.H.

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

◆ sigmaEps_

dimensionedScalar sigmaEps_
protected

Definition at line 81 of file LamBremhorstKE.H.

Referenced by LamBremhorstKE::read().

◆ k_

◆ epsilon_

◆ 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 89 of file LamBremhorstKE.H.


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