Lien and Leschziner low-Reynolds number k-epsilon turbulence model for incompressible flows. More...
#include <LienLeschziner.H>


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. | |
| virtual | ~LienLeschziner ()=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< 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< 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< 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. | |
| virtual tmp< volSymmTensorField > | devRhoReff () const |
| Return the effective stress tensor. | |
| virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
| Return the source term for the momentum equation. | |
Protected Member Functions | |
| tmp< volScalarField > | fMu () const |
| tmp< volScalarField > | f2 () const |
| tmp< volScalarField > | E (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 volScalarField & | y_ |
| Wall distance. | |
| 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 |
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.
Definition at line 74 of file LienLeschziner.H.
| 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 84 of file LienLeschziner.C.
References AE_, Aeps_, alpha, Anu_, Foam::bound(), Ceps1_, Ceps2_, Cmu_, eddyViscosity< incompressible::RASModel >::eddyViscosity(), epsilon_, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, k_, kappa_, Foam::incompressible::New(), phi, rho, sigmaEps_, sigmak_, timeName, U, y, and y_.

|
virtualdefault |
Destructor.
|
protected |
Definition at line 43 of file LienLeschziner.C.
References Aeps_, Anu_, Foam::exp(), k_, nu, Foam::sqrt(), and y_.
Referenced by correctNut().


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


|
protected |
Definition at line 61 of file LienLeschziner.C.
References AE_, Aeps_, Ceps2_, Cmu_, epsilon_, Foam::exp(), f2(), k_, kappa_, nu, Foam::pow(), Foam::sqr(), Foam::sqrt(), and y_.
Referenced by correct().


|
protectedvirtual |
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 75 of file LienLeschziner.C.
References Cmu_, epsilon_, fMu(), k_, eddyViscosity< incompressible::RASModel >::nut_, and Foam::sqr().
Referenced by correct().


| TypeName | ( | "LienLeschziner" | ) |
References alpha, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, phi, turbulenceModel::propertiesName, rho, and U.
|
virtual |
Re-read model coefficients if they have changed.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 230 of file LienLeschziner.C.
References AE_, Aeps_, Anu_, Ceps1_, Ceps2_, Cmu_, kappa_, eddyViscosity< BasicTurbulenceModel >::read(), sigmaEps_, and sigmak_.

|
inline |
Return the effective diffusivity for k.
Definition at line 159 of file LienLeschziner.H.
References nu, eddyViscosity< incompressible::RASModel >::nut_, and sigmak_.
Referenced by correct().

|
inline |
Return the effective diffusivity for epsilon.
Definition at line 170 of file LienLeschziner.H.
References nu, eddyViscosity< incompressible::RASModel >::nut_, and sigmaEps_.
Referenced by correct().

|
inlinevirtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 181 of file LienLeschziner.H.
References k_.
|
inlinevirtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 189 of file LienLeschziner.H.
References epsilon_.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 251 of file LienLeschziner.C.
References Foam::bound(), Ceps1_, Ceps2_, tmp< T >::clear(), eddyViscosity< BasicTurbulenceModel >::correct(), correctNut(), Foam::fvm::ddt(), DepsilonEff(), Foam::fvm::div(), DkEff(), E(), epsilon_, f2(), Foam::fvc::grad(), k_, Foam::fvm::laplacian(), eddyViscosity< incompressible::RASModel >::nut_, tmp< T >::ref(), solve(), Foam::fvm::Sp(), and Foam::twoSymm().

|
protected |
Definition at line 85 of file LienLeschziner.H.
Referenced by correct(), LienLeschziner(), and read().
|
protected |
Definition at line 86 of file LienLeschziner.H.
Referenced by correct(), E(), LienLeschziner(), and read().
|
protected |
Definition at line 87 of file LienLeschziner.H.
Referenced by DkEff(), LienLeschziner(), and read().
|
protected |
Definition at line 88 of file LienLeschziner.H.
Referenced by DepsilonEff(), LienLeschziner(), and read().
|
protected |
Definition at line 90 of file LienLeschziner.H.
Referenced by correctNut(), E(), LienLeschziner(), and read().
|
protected |
Definition at line 91 of file LienLeschziner.H.
Referenced by E(), LienLeschziner(), and read().
|
protected |
Definition at line 93 of file LienLeschziner.H.
Referenced by fMu(), LienLeschziner(), and read().
|
protected |
Definition at line 94 of file LienLeschziner.H.
Referenced by E(), fMu(), LienLeschziner(), and read().
|
protected |
Definition at line 95 of file LienLeschziner.H.
Referenced by E(), LienLeschziner(), and read().
|
protected |
Definition at line 100 of file LienLeschziner.H.
Referenced by correct(), correctNut(), E(), f2(), fMu(), k(), and LienLeschziner().
|
protected |
Definition at line 101 of file LienLeschziner.H.
Referenced by correct(), correctNut(), E(), epsilon(), f2(), and LienLeschziner().
|
protected |
Wall distance.
Note: different to wall distance in parent RASModel which is for near-wall cells only
Definition at line 109 of file LienLeschziner.H.
Referenced by E(), fMu(), and LienLeschziner().