Lien and Leschziner low-Reynolds number k-epsilon turbulence model for incompressible flows. More...
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 &type=typeName) | |
Construct from components. More... | |
virtual | ~LienLeschziner () |
Destructor. More... | |
virtual bool | read () |
Read RASProperties dictionary. More... | |
tmp< volScalarField > | DkEff () const |
Return the effective diffusivity for k. More... | |
tmp< volScalarField > | DepsilonEff () const |
Return the effective diffusivity for epsilon. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy. More... | |
virtual tmp< volScalarField > | epsilon () 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 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< volScalarField > | nut () const |
Return the turbulence viscosity. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual tmp< volSymmTensorField > | sigma () 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 transportModel &transport) | |
Construct from components. More... | |
virtual | ~linearViscousStress () |
Destructor. More... | |
virtual tmp< volSymmTensorField > | devTau () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
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. 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 |
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 72 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 & | type = typeName |
||
) |
Construct from components.
Definition at line 89 of file LienLeschziner.C.
References Foam::bound(), LienLeschziner::epsilon_, and LienLeschziner::k_.
Referenced by LienLeschziner::correctNut().
|
inlinevirtual |
Destructor.
Definition at line 136 of file LienLeschziner.H.
References LienLeschziner::read().
|
protected |
Definition at line 47 of file LienLeschziner.C.
References LienLeschziner::Aeps_, LienLeschziner::Anu_, Foam::exp(), LienLeschziner::k_, Foam::sqrt(), and LienLeschziner::y_.
Referenced by LienLeschziner::correctNut().
|
protected |
Definition at line 57 of file LienLeschziner.C.
References LienLeschziner::epsilon_, Foam::exp(), LienLeschziner::k_, and Foam::sqr().
Referenced by LienLeschziner::correct().
|
protected |
Definition at line 65 of file LienLeschziner.C.
References LienLeschziner::AE_, LienLeschziner::Aeps_, LienLeschziner::Ceps2_, LienLeschziner::Cmu_, LienLeschziner::epsilon_, Foam::exp(), LienLeschziner::k_, LienLeschziner::kappa_, Foam::pow(), Foam::sqr(), Foam::sqrt(), and LienLeschziner::y_.
Referenced by LienLeschziner::correct().
|
protectedvirtual |
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 79 of file LienLeschziner.C.
References LienLeschziner::Cmu_, GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), LienLeschziner::epsilon_, LienLeschziner::fMu(), LienLeschziner::k_, LienLeschziner::LienLeschziner(), eddyViscosity< incompressible::RASModel >::nut_, and Foam::sqr().
Referenced by LienLeschziner::correct().
TypeName | ( | "LienLeschziner" | ) |
|
virtual |
Read RASProperties dictionary.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 232 of file LienLeschziner.C.
References LienLeschziner::AE_, LienLeschziner::Aeps_, LienLeschziner::Anu_, LienLeschziner::Ceps1_, LienLeschziner::Ceps2_, LienLeschziner::Cmu_, LienLeschziner::kappa_, dimensioned< Type >::readIfPresent(), LienLeschziner::sigmaEps_, and LienLeschziner::sigmak_.
Referenced by LienLeschziner::~LienLeschziner().
|
inline |
Return the effective diffusivity for k.
Definition at line 146 of file LienLeschziner.H.
References GeometricField< scalar, fvPatchField, volMesh >::New(), and eddyViscosity< incompressible::RASModel >::nut_.
Referenced by LienLeschziner::correct().
|
inline |
Return the effective diffusivity for epsilon.
Definition at line 156 of file LienLeschziner.H.
References GeometricField< scalar, fvPatchField, volMesh >::New(), and eddyViscosity< incompressible::RASModel >::nut_.
Referenced by LienLeschziner::correct().
|
inlinevirtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 166 of file LienLeschziner.H.
References LienLeschziner::k_.
|
inlinevirtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 172 of file LienLeschziner.H.
References LienLeschziner::correct(), and LienLeschziner::epsilon_.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 255 of file LienLeschziner.C.
References Foam::bound(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), LienLeschziner::Ceps1_, LienLeschziner::Ceps2_, tmp< T >::clear(), eddyViscosity< BasicMomentumTransportModel >::correct(), LienLeschziner::correctNut(), Foam::fvm::ddt(), LienLeschziner::DepsilonEff(), Foam::fvm::div(), LienLeschziner::DkEff(), LienLeschziner::E(), LienLeschziner::epsilon_, LienLeschziner::f2(), Foam::constant::universal::G, Foam::fvc::grad(), LienLeschziner::k_, Foam::fvm::laplacian(), eddyViscosity< incompressible::RASModel >::nut_, tmp< T >::ref(), Foam::solve(), Foam::fvm::Sp(), and Foam::twoSymm().
Referenced by LienLeschziner::epsilon().
|
protected |
Definition at line 83 of file LienLeschziner.H.
Referenced by LienLeschziner::correct(), and LienLeschziner::read().
|
protected |
Definition at line 84 of file LienLeschziner.H.
Referenced by LienLeschziner::correct(), LienLeschziner::E(), and LienLeschziner::read().
|
protected |
Definition at line 85 of file LienLeschziner.H.
Referenced by LienLeschziner::read().
|
protected |
Definition at line 86 of file LienLeschziner.H.
Referenced by LienLeschziner::read().
|
protected |
Definition at line 88 of file LienLeschziner.H.
Referenced by LienLeschziner::correctNut(), LienLeschziner::E(), and LienLeschziner::read().
|
protected |
Definition at line 89 of file LienLeschziner.H.
Referenced by LienLeschziner::E(), and LienLeschziner::read().
|
protected |
Definition at line 91 of file LienLeschziner.H.
Referenced by LienLeschziner::fMu(), and LienLeschziner::read().
|
protected |
Definition at line 92 of file LienLeschziner.H.
Referenced by LienLeschziner::E(), LienLeschziner::fMu(), and LienLeschziner::read().
|
protected |
Definition at line 93 of file LienLeschziner.H.
Referenced by LienLeschziner::E(), and LienLeschziner::read().
|
protected |
Definition at line 98 of file LienLeschziner.H.
Referenced by LienLeschziner::correct(), LienLeschziner::correctNut(), LienLeschziner::E(), LienLeschziner::f2(), LienLeschziner::fMu(), LienLeschziner::k(), and LienLeschziner::LienLeschziner().
|
protected |
Definition at line 99 of file LienLeschziner.H.
Referenced by LienLeschziner::correct(), LienLeschziner::correctNut(), LienLeschziner::E(), LienLeschziner::epsilon(), LienLeschziner::f2(), and LienLeschziner::LienLeschziner().
|
protected |
Wall distance.
Note: different to wall distance in parent RASModel which is for near-wall cells only
Definition at line 104 of file LienLeschziner.H.
Referenced by LienLeschziner::E(), and LienLeschziner::fMu().