ShihQuadraticKE Class Reference

Shih's quadratic algebraic Reynolds stress k-epsilon turbulence model for incompressible flows. More...

Inheritance diagram for ShihQuadraticKE:
Collaboration diagram for ShihQuadraticKE:

Public Member Functions

 TypeName ("ShihQuadraticKE")
 Runtime type information. More...
 
 ShihQuadraticKE (const geometricOneField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &type=typeName)
 Construct from components. More...
 
virtual ~ShihQuadraticKE ()
 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 nonlinearEddyViscosity< incompressible::RASModel >
 nonlinearEddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
 Construct from components. More...
 
virtual ~nonlinearEddyViscosity ()
 Destructor. More...
 
virtual tmp< volSymmTensorFieldsigma () const
 Return the Reynolds stress tensor [m^2/s^2]. 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...
 
- 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)
 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 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)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 

Protected Member Functions

virtual void correctNut ()
 
virtual void correctNonlinearStress (const volTensorField &gradU)
 

Protected Attributes

dimensionedScalar Ceps1_
 
dimensionedScalar Ceps2_
 
dimensionedScalar sigmak_
 
dimensionedScalar sigmaEps_
 
dimensionedScalar Cmu1_
 
dimensionedScalar Cmu2_
 
dimensionedScalar Cbeta_
 
dimensionedScalar Cbeta1_
 
dimensionedScalar Cbeta2_
 
dimensionedScalar Cbeta3_
 
volScalarField k_
 
volScalarField epsilon_
 
- Protected Attributes inherited from nonlinearEddyViscosity< incompressible::RASModel >
volSymmTensorField nonlinearStress_
 
- Protected Attributes inherited from eddyViscosity< incompressible::RASModel >
volScalarField nut_
 

Additional Inherited Members

- Public Types inherited from nonlinearEddyViscosity< incompressible::RASModel >
typedef incompressible::RASModel ::alphaField alphaField
 
typedef incompressible::RASModel ::rhoField rhoField
 
typedef incompressible::RASModel ::transportModel transportModel
 
- 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

Shih's quadratic algebraic Reynolds stress k-epsilon turbulence model for incompressible flows.

This turbulence model is described in:

    Shih, T. H., Zhu, J., & Lumley, J. L. (1993).
    A realizable Reynolds stress algebraic equation model.
    NASA technical memorandum 105993.

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

Source files

Definition at line 66 of file ShihQuadraticKE.H.

Constructor & Destructor Documentation

◆ ShihQuadraticKE()

ShihQuadraticKE ( const geometricOneField alpha,
const geometricOneField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word type = typeName 
)

Construct from components.

Definition at line 80 of file ShihQuadraticKE.C.

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

Referenced by ShihQuadraticKE::correctNonlinearStress().

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

◆ ~ShihQuadraticKE()

virtual ~ShihQuadraticKE ( )
inlinevirtual

Destructor.

Definition at line 123 of file ShihQuadraticKE.H.

References ShihQuadraticKE::read().

Here is the call graph for this function:

Member Function Documentation

◆ correctNut()

void correctNut ( )
protectedvirtual

Implements eddyViscosity< incompressible::RASModel >.

Definition at line 48 of file ShihQuadraticKE.C.

References ShihQuadraticKE::correctNonlinearStress(), and Foam::fvc::grad().

Here is the call graph for this function:

◆ correctNonlinearStress()

◆ TypeName()

TypeName ( "ShihQuadraticKE"  )

Runtime type information.

◆ read()

◆ DkEff()

tmp<volScalarField> DkEff ( ) const
inline

Return the effective diffusivity for k.

Definition at line 133 of file ShihQuadraticKE.H.

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

Referenced by ShihQuadraticKE::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 143 of file ShihQuadraticKE.H.

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

Referenced by ShihQuadraticKE::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 153 of file ShihQuadraticKE.H.

References ShihQuadraticKE::k_.

◆ epsilon()

virtual tmp<volScalarField> epsilon ( ) const
inlinevirtual

Return the turbulence kinetic energy dissipation rate.

Definition at line 159 of file ShihQuadraticKE.H.

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

Here is the call graph for this function:

◆ correct()

Member Data Documentation

◆ Ceps1_

dimensionedScalar Ceps1_
protected

Definition at line 77 of file ShihQuadraticKE.H.

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

◆ Ceps2_

dimensionedScalar Ceps2_
protected

Definition at line 78 of file ShihQuadraticKE.H.

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

◆ sigmak_

dimensionedScalar sigmak_
protected

Definition at line 79 of file ShihQuadraticKE.H.

Referenced by ShihQuadraticKE::read().

◆ sigmaEps_

dimensionedScalar sigmaEps_
protected

Definition at line 80 of file ShihQuadraticKE.H.

Referenced by ShihQuadraticKE::read().

◆ Cmu1_

dimensionedScalar Cmu1_
protected

◆ Cmu2_

dimensionedScalar Cmu2_
protected

◆ Cbeta_

dimensionedScalar Cbeta_
protected

◆ Cbeta1_

dimensionedScalar Cbeta1_
protected

◆ Cbeta2_

dimensionedScalar Cbeta2_
protected

◆ Cbeta3_

dimensionedScalar Cbeta3_
protected

◆ k_

◆ epsilon_


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