Loading...
Searching...
No Matches
ShihQuadraticKE Class Reference

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

#include <ShihQuadraticKE.H>

Inheritance diagram for ShihQuadraticKE:
Collaboration diagram for ShihQuadraticKE:

Public Member Functions

 TypeName ("ShihQuadraticKE")
 Runtime type information.
 ShihQuadraticKE (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.
virtual ~ShihQuadraticKE ()=default
 Destructor.
virtual bool read ()
 Re-read model coefficients if they have changed.
tmp< volScalarFieldDkEff () const
 Return the effective diffusivity for k.
tmp< volScalarFieldDepsilonEff () const
 Return the effective diffusivity for epsilon.
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy.
virtual tmp< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate.
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity.
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, const word &propertiesName)
 Construct from components.
virtual ~nonlinearEddyViscosity ()=default
 Destructor.
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor.
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor.
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation.
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.
virtual ~eddyViscosity ()=default
 Destructor.
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity.
virtual void validate ()
 Validate the turbulence fields after construction.
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.
virtual ~linearViscousStress ()=default
 Destructor.

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 68 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 & propertiesName = turbulenceModel::propertiesName,
const word & type = typeName )

◆ ~ShihQuadraticKE()

virtual ~ShihQuadraticKE ( )
virtualdefault

Destructor.

Member Function Documentation

◆ correctNut()

void correctNut ( )
protectedvirtual

Implements eddyViscosity< incompressible::RASModel >.

Definition at line 43 of file ShihQuadraticKE.C.

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

Here is the call graph for this function:

◆ correctNonlinearStress()

void correctNonlinearStress ( const volTensorField & gradU)
protectedvirtual

◆ TypeName()

TypeName ( "ShihQuadraticKE" )

◆ read()

bool read ( )
virtual

Re-read model coefficients if they have changed.

Implements eddyViscosity< incompressible::RASModel >.

Definition at line 227 of file ShihQuadraticKE.C.

References Cbeta1_, Cbeta2_, Cbeta3_, Cbeta_, Ceps1_, Ceps2_, Cmu1_, Cmu2_, eddyViscosity< BasicTurbulenceModel >::read(), sigmaEps_, and sigmak_.

Here is the call graph for this function:

◆ DkEff()

tmp< volScalarField > DkEff ( ) const
inline

Return the effective diffusivity for k.

Definition at line 145 of file ShihQuadraticKE.H.

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

Referenced by correct().

Here is the caller graph for this function:

◆ DepsilonEff()

tmp< volScalarField > DepsilonEff ( ) const
inline

Return the effective diffusivity for epsilon.

Definition at line 156 of file ShihQuadraticKE.H.

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

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

References k_.

◆ epsilon()

virtual tmp< volScalarField > epsilon ( ) const
inlinevirtual

Return the turbulence kinetic energy dissipation rate.

Definition at line 175 of file ShihQuadraticKE.H.

References epsilon_.

◆ correct()

Member Data Documentation

◆ Ceps1_

dimensionedScalar Ceps1_
protected

Definition at line 79 of file ShihQuadraticKE.H.

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

◆ Ceps2_

dimensionedScalar Ceps2_
protected

Definition at line 80 of file ShihQuadraticKE.H.

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

◆ sigmak_

dimensionedScalar sigmak_
protected

Definition at line 81 of file ShihQuadraticKE.H.

Referenced by DkEff(), read(), and ShihQuadraticKE().

◆ sigmaEps_

dimensionedScalar sigmaEps_
protected

Definition at line 82 of file ShihQuadraticKE.H.

Referenced by DepsilonEff(), read(), and ShihQuadraticKE().

◆ Cmu1_

dimensionedScalar Cmu1_
protected

Definition at line 83 of file ShihQuadraticKE.H.

Referenced by correctNonlinearStress(), read(), and ShihQuadraticKE().

◆ Cmu2_

dimensionedScalar Cmu2_
protected

Definition at line 84 of file ShihQuadraticKE.H.

Referenced by correctNonlinearStress(), read(), and ShihQuadraticKE().

◆ Cbeta_

dimensionedScalar Cbeta_
protected

Definition at line 85 of file ShihQuadraticKE.H.

Referenced by correctNonlinearStress(), read(), and ShihQuadraticKE().

◆ Cbeta1_

dimensionedScalar Cbeta1_
protected

Definition at line 86 of file ShihQuadraticKE.H.

Referenced by correctNonlinearStress(), read(), and ShihQuadraticKE().

◆ Cbeta2_

dimensionedScalar Cbeta2_
protected

Definition at line 87 of file ShihQuadraticKE.H.

Referenced by correctNonlinearStress(), read(), and ShihQuadraticKE().

◆ Cbeta3_

dimensionedScalar Cbeta3_
protected

Definition at line 88 of file ShihQuadraticKE.H.

Referenced by correctNonlinearStress(), read(), and ShihQuadraticKE().

◆ k_

volScalarField k_
protected

Definition at line 93 of file ShihQuadraticKE.H.

Referenced by correct(), correctNonlinearStress(), k(), and ShihQuadraticKE().

◆ epsilon_

volScalarField epsilon_
protected

Definition at line 94 of file ShihQuadraticKE.H.

Referenced by correct(), correctNonlinearStress(), epsilon(), and ShihQuadraticKE().


The documentation for this class was generated from the following files:
  • src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/ShihQuadraticKE/ShihQuadraticKE.H
  • src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/ShihQuadraticKE/ShihQuadraticKE.C