Lam and Bremhorst low-Reynolds number k-epsilon turbulence model for incompressible flows. More...
Public Member Functions | |
TypeName ("LamBremhorstKE") | |
Runtime type information. More... | |
LamBremhorstKE (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. More... | |
virtual | ~LamBremhorstKE ()=default |
Destructor. More... | |
virtual bool | read () |
Re-read model coefficients if they have changed. 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, const word &propertiesName) | |
Construct from components. More... | |
virtual | ~eddyViscosity ()=default |
Destructor. More... | |
virtual bool | read ()=0 |
Re-read model coefficients if they have changed. 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< volScalarField > | k () const=0 |
Return the turbulence kinetic energy. More... | |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor. More... | |
virtual void | validate () |
Validate the turbulence fields after construction. More... | |
virtual void | correct ()=0 |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
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. More... | |
virtual | ~linearViscousStress ()=default |
Destructor. More... | |
virtual bool | read ()=0 |
Re-read model coefficients if they have changed. More... | |
virtual tmp< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor. More... | |
virtual tmp< volSymmTensorField > | devRhoReff (const volVectorField &U) const |
Return the effective stress tensor based on a given velocity field. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual void | correct ()=0 |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
Protected Member Functions | |
virtual void | correctNut () |
virtual void | correctNut ()=0 |
Protected Attributes | |
dimensionedScalar | Cmu_ |
dimensionedScalar | Ceps1_ |
dimensionedScalar | Ceps2_ |
dimensionedScalar | sigmaEps_ |
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 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 |
Lam and Bremhorst low-Reynolds number k-epsilon turbulence model for incompressible flows.
This turbulence model is described in:
Lam, C. K. G., & Bremhorst, K. (1981). A modified form of the k-ε model for predicting wall turbulence. Journal of Fluids Engineering, 103(3), 456-460.
Definition at line 67 of file LamBremhorstKE.H.
LamBremhorstKE | ( | 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 92 of file LamBremhorstKE.C.
References Foam::bound(), LamBremhorstKE::epsilon_, LamBremhorstKE::k_, and Foam::type().
|
virtualdefault |
Destructor.
|
protectedvirtual |
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 84 of file LamBremhorstKE.C.
References LamBremhorstKE::correctNut().
Referenced by LamBremhorstKE::correct(), and LamBremhorstKE::correctNut().
TypeName | ( | "LamBremhorstKE" | ) |
Runtime type information.
|
virtual |
Re-read model coefficients if they have changed.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 193 of file LamBremhorstKE.C.
References LamBremhorstKE::Ceps1_, LamBremhorstKE::Ceps2_, LamBremhorstKE::Cmu_, dimensioned< Type >::readIfPresent(), and LamBremhorstKE::sigmaEps_.
|
inline |
Return the effective diffusivity for k.
Definition at line 141 of file LamBremhorstKE.H.
References nu, and eddyViscosity< incompressible::RASModel >::nut_.
Referenced by LamBremhorstKE::correct().
|
inline |
Return the effective diffusivity for epsilon.
Definition at line 150 of file LamBremhorstKE.H.
References nu, eddyViscosity< incompressible::RASModel >::nut_, and LamBremhorstKE::sigmaEps_.
Referenced by LamBremhorstKE::correct().
|
inlinevirtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 159 of file LamBremhorstKE.H.
References LamBremhorstKE::k_.
|
inlinevirtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 165 of file LamBremhorstKE.H.
References LamBremhorstKE::epsilon_.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements eddyViscosity< incompressible::RASModel >.
Definition at line 209 of file LamBremhorstKE.C.
References Foam::bound(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), LamBremhorstKE::Ceps1_, LamBremhorstKE::Ceps2_, tmp< T >::clear(), eddyViscosity< BasicTurbulenceModel >::correct(), LamBremhorstKE::correctNut(), Foam::fvm::ddt(), LamBremhorstKE::DepsilonEff(), Foam::fvm::div(), LamBremhorstKE::DkEff(), LamBremhorstKE::epsilon_, Foam::fvc::grad(), LamBremhorstKE::k_, Foam::fvm::laplacian(), eddyViscosity< incompressible::RASModel >::nut_, tmp< T >::ref(), solve(), Foam::fvm::Sp(), Foam::twoSymm(), and GeometricBoundaryField< Type, PatchField, GeoMesh >::updateCoeffs().
|
protected |
Definition at line 90 of file LamBremhorstKE.H.
Referenced by LamBremhorstKE::read().
|
protected |
Definition at line 91 of file LamBremhorstKE.H.
Referenced by LamBremhorstKE::correct(), and LamBremhorstKE::read().
|
protected |
Definition at line 92 of file LamBremhorstKE.H.
Referenced by LamBremhorstKE::correct(), and LamBremhorstKE::read().
|
protected |
Definition at line 93 of file LamBremhorstKE.H.
Referenced by LamBremhorstKE::DepsilonEff(), and LamBremhorstKE::read().
|
protected |
Definition at line 95 of file LamBremhorstKE.H.
Referenced by LamBremhorstKE::correct(), LamBremhorstKE::k(), and LamBremhorstKE::LamBremhorstKE().
|
protected |
Definition at line 96 of file LamBremhorstKE.H.
Referenced by LamBremhorstKE::correct(), LamBremhorstKE::epsilon(), and LamBremhorstKE::LamBremhorstKE().
|
protected |
Wall distance.
Note: different to wall distance in parent RASModel which is for near-wall cells only
Definition at line 101 of file LamBremhorstKE.H.