Launder and Sharma low-Reynolds k-epsilon turbulence model for incompressible and compressible and combusting flows including rapid distortion theory (RDT) based compression term. More...
#include <LaunderSharmaKE.H>


Public Types | |
| typedef BasicTurbulenceModel::alphaField | alphaField |
| typedef BasicTurbulenceModel::rhoField | rhoField |
| typedef BasicTurbulenceModel::transportModel | transportModel |
| Public Types inherited from eddyViscosity< RASModel< BasicTurbulenceModel > > | |
| typedef BasicTurbulenceModel::alphaField | alphaField |
| typedef BasicTurbulenceModel::rhoField | rhoField |
| typedef BasicTurbulenceModel::transportModel | transportModel |
| Public Types inherited from linearViscousStress< BasicTurbulenceModel > | |
| typedef BasicTurbulenceModel::alphaField | alphaField |
| typedef BasicTurbulenceModel::rhoField | rhoField |
| typedef BasicTurbulenceModel::transportModel | transportModel |
Public Member Functions | |
| TypeName ("LaunderSharmaKE") | |
| Runtime type information. | |
| LaunderSharmaKE (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) | |
| Construct from components. | |
| virtual | ~LaunderSharmaKE ()=default |
| Destructor. | |
| virtual bool | read () |
| Re-read model coefficients if they have changed. | |
| tmp< volScalarField > | DkEff () const |
| Return the effective diffusivity for k. | |
| tmp< volScalarField > | DepsilonEff () const |
| Return the effective diffusivity for epsilon. | |
| virtual tmp< volScalarField > | k () const |
| Return the turbulence kinetic energy. | |
| virtual tmp< volScalarField > | epsilon () 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 eddyViscosity< RASModel< BasicTurbulenceModel > > | |
| 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< volScalarField > | nut () const |
| Return the turbulence viscosity. | |
| virtual tmp< volSymmTensorField > | R () const |
| Return the Reynolds stress tensor. | |
| virtual void | validate () |
| Validate the turbulence fields after construction. | |
| Public Member Functions inherited from linearViscousStress< BasicTurbulenceModel > | |
| 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. | |
| virtual tmp< volSymmTensorField > | devRhoReff () const |
| Return the effective stress tensor. | |
| virtual tmp< volSymmTensorField > | devRhoReff (const volVectorField &U) const |
| Return the effective stress tensor based on a given velocity field. | |
| virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
| Return the source term for the momentum equation. | |
| virtual tmp< fvVectorMatrix > | divDevRhoReff (const volScalarField &rho, volVectorField &U) const |
| Return the source term for the momentum equation. | |
Protected Member Functions | |
| tmp< volScalarField > | fMu () const |
| tmp< volScalarField > | f2 () const |
| virtual void | correctNut () |
| virtual tmp< fvScalarMatrix > | kSource () const |
| virtual tmp< fvScalarMatrix > | epsilonSource () const |
Protected Attributes | |
| dimensionedScalar | Cmu_ |
| dimensionedScalar | C1_ |
| dimensionedScalar | C2_ |
| dimensionedScalar | C3_ |
| dimensionedScalar | sigmak_ |
| dimensionedScalar | sigmaEps_ |
| volScalarField | k_ |
| volScalarField | epsilon_ |
| Protected Attributes inherited from eddyViscosity< RASModel< BasicTurbulenceModel > > | |
| volScalarField | nut_ |
Launder and Sharma low-Reynolds k-epsilon turbulence model for incompressible and compressible and combusting flows including rapid distortion theory (RDT) based compression term.
References:
Launder, B. E., & Sharma, B. I. (1974).
Application of the energy-dissipation model of turbulence to the
calculation of flow near a spinning disc.
Letters in heat and mass transfer, 1(2), 131-137.
For the RDT-based compression term:
El Tahry, S. H. (1983).
k-epsilon equation for compressible reciprocating engine flows.
Journal of Energy, 7(4), 345-353.
The default model coefficients are
LaunderSharmaKECoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
alphah 1.0; // only for compressible
alphahk 1.0; // only for compressible
alphaEps 0.76923;
}
Definition at line 83 of file LaunderSharmaKE.H.
| typedef BasicTurbulenceModel::alphaField alphaField |
Definition at line 132 of file LaunderSharmaKE.H.
| typedef BasicTurbulenceModel::rhoField rhoField |
Definition at line 133 of file LaunderSharmaKE.H.
| typedef BasicTurbulenceModel::transportModel transportModel |
Definition at line 134 of file LaunderSharmaKE.H.
| LaunderSharmaKE | ( | 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 ) |
Construct from components.
Definition at line 87 of file LaunderSharmaKE.C.
References alpha, Foam::bound(), C1_, C2_, C3_, Cmu_, eddyViscosity< RASModel< BasicTurbulenceModel > >::eddyViscosity(), epsilon_, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, k_, phi, rho, sigmaEps_, sigmak_, timeName, and U.

|
virtualdefault |
Destructor.
|
protected |
Definition at line 36 of file LaunderSharmaKE.C.
References epsilon_, Foam::exp(), k_, nu, and Foam::sqr().
Referenced by correctNut().


|
protected |
Definition at line 43 of file LaunderSharmaKE.C.
References epsilon_, Foam::exp(), k_, Foam::min(), nu, and Foam::sqr().
Referenced by correct().


|
protectedvirtual |
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 52 of file LaunderSharmaKE.C.
References Cmu_, optionList::correct(), epsilon_, fMu(), k_, options::New(), eddyViscosity< RASModel< BasicTurbulenceModel > >::nut_, and Foam::sqr().
Referenced by correct().


|
protectedvirtual |
Definition at line 63 of file LaunderSharmaKE.C.
References Foam::dimTime, Foam::dimVolume, k_, and tmp< T >::New().
Referenced by correct().


|
protectedvirtual |
Definition at line 74 of file LaunderSharmaKE.C.
References Foam::dimTime, Foam::dimVolume, epsilon_, and tmp< T >::New().
Referenced by correct().


| TypeName | ( | "LaunderSharmaKE< BasicTurbulenceModel >" | ) |
Runtime type information.
|
virtual |
Re-read model coefficients if they have changed.
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 205 of file LaunderSharmaKE.C.
References C1_, C2_, C3_, Cmu_, eddyViscosity< RASModel< BasicTurbulenceModel > >::eddyViscosity(), read(), sigmaEps_, and sigmak_.
Referenced by read().


|
inline |
Return the effective diffusivity for k.
Definition at line 177 of file LaunderSharmaKE.H.
Referenced by correct().

|
inline |
Return the effective diffusivity for epsilon.
Definition at line 192 of file LaunderSharmaKE.H.
Referenced by correct().

|
inlinevirtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 207 of file LaunderSharmaKE.H.
|
inlinevirtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 215 of file LaunderSharmaKE.H.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 224 of file LaunderSharmaKE.C.
References Foam::fvc::absolute(), alpha, Foam::bound(), C1_, C2_, C3_, tmp< T >::clear(), correct(), correctNut(), D, Foam::fvm::ddt(), DepsilonEff(), Foam::devTwoSymm(), Foam::fvc::div(), Foam::fvm::div(), divU, DkEff(), eddyViscosity< RASModel< BasicTurbulenceModel > >::eddyViscosity(), epsilon_, epsilonSource(), f2(), fvOptions, Foam::fvc::grad(), k_, kSource(), Foam::fvm::laplacian(), Foam::magSqr(), Foam::fvc::magSqrGradGrad(), options::New(), nu, eddyViscosity< RASModel< BasicTurbulenceModel > >::nut(), eddyViscosity< RASModel< BasicTurbulenceModel > >::nut_, phi, tmp< T >::ref(), rho, solve(), Foam::fvm::Sp(), Foam::sqrt(), Foam::fvm::SuSp(), and U.

|
protected |
Definition at line 106 of file LaunderSharmaKE.H.
Referenced by correctNut(), LaunderSharmaKE(), and read().
|
protected |
Definition at line 107 of file LaunderSharmaKE.H.
Referenced by correct(), LaunderSharmaKE(), and read().
|
protected |
Definition at line 108 of file LaunderSharmaKE.H.
Referenced by correct(), LaunderSharmaKE(), and read().
|
protected |
Definition at line 109 of file LaunderSharmaKE.H.
Referenced by correct(), LaunderSharmaKE(), and read().
|
protected |
Definition at line 110 of file LaunderSharmaKE.H.
Referenced by LaunderSharmaKE(), and read().
|
protected |
Definition at line 111 of file LaunderSharmaKE.H.
Referenced by LaunderSharmaKE(), and read().
|
protected |
Definition at line 116 of file LaunderSharmaKE.H.
Referenced by correct(), correctNut(), f2(), fMu(), kSource(), and LaunderSharmaKE().
|
protected |
Definition at line 117 of file LaunderSharmaKE.H.
Referenced by correct(), correctNut(), epsilonSource(), f2(), fMu(), and LaunderSharmaKE().