Realizable k-epsilon turbulence model for incompressible and compressible flows. More...
#include <realizableKE.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 ("realizableKE") | |
| Runtime type information. | |
| realizableKE (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 | ~realizableKE ()=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 > | rCmu (const volTensorField &gradU, const volScalarField &S2, const volScalarField &magS) |
| virtual void | correctNut (const volTensorField &gradU, const volScalarField &S2, const volScalarField &magS) |
| virtual void | correctNut () |
| virtual tmp< fvScalarMatrix > | kSource () const |
| virtual tmp< fvScalarMatrix > | epsilonSource () const |
Protected Attributes | |
| dimensionedScalar | A0_ |
| dimensionedScalar | C2_ |
| dimensionedScalar | sigmak_ |
| dimensionedScalar | sigmaEps_ |
| volScalarField | k_ |
| volScalarField | epsilon_ |
| Protected Attributes inherited from eddyViscosity< RASModel< BasicTurbulenceModel > > | |
| volScalarField | nut_ |
Realizable k-epsilon turbulence model for incompressible and compressible flows.
References:
Shih, T. H., Liou, W. W., Shabbir, A., Yang, Z., & Zhu, J. (1994).
A new k-epsilon eddy viscosity model for high Reynolds number
turbulent flows: Model development and validation.
NASA STI/Recon Technical Report N, 95, 11442.
Shih, T. H., Liou, W. W., Shabbir, A., Yang, Z., & Zhu, J. (1995).
A New k-epsilon Eddy Viscosity Model for High Reynolds Number
Turbulent Flows.
Computers and Fluids, 24(3), 227-238.
The default model coefficients are
realizableKECoeffs
{
A0 4.0;
C2 1.9;
sigmak 1.0;
sigmaEps 1.2;
}
Definition at line 79 of file realizableKE.H.
| typedef BasicTurbulenceModel::alphaField alphaField |
Definition at line 125 of file realizableKE.H.
| typedef BasicTurbulenceModel::rhoField rhoField |
Definition at line 126 of file realizableKE.H.
| typedef BasicTurbulenceModel::transportModel transportModel |
Definition at line 127 of file realizableKE.H.
| realizableKE | ( | 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 119 of file realizableKE.C.
References A0_, alpha, Foam::bound(), C2_, 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 realizableKE.C.
References A0_, Foam::acos(), Foam::clamp(), tmp< T >::clear(), Foam::cos(), Foam::devSymm(), epsilon_, k_, Foam::magSqr(), phis(), Foam::skew(), Foam::sqrt(), and Us.
Referenced by correctNut().


|
protectedvirtual |
Definition at line 69 of file realizableKE.C.
References optionList::correct(), epsilon_, k_, options::New(), eddyViscosity< RASModel< BasicTurbulenceModel > >::nut_, rCmu(), and Foam::sqr().
Referenced by correct(), and correctNut().


|
protectedvirtual |
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 85 of file realizableKE.C.
References correctNut(), Foam::devSymm(), Foam::fvc::grad(), Foam::magSqr(), and Foam::sqrt().

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


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


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


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

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

|
inlinevirtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 199 of file realizableKE.H.
|
inlinevirtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 207 of file realizableKE.H.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements eddyViscosity< RASModel< BasicTurbulenceModel > >.
Definition at line 234 of file realizableKE.C.
References Foam::fvc::absolute(), alpha, Foam::bound(), C2_, correct(), correctNut(), Foam::fvm::ddt(), DepsilonEff(), Foam::devSymm(), Foam::devTwoSymm(), Foam::fvc::div(), Foam::fvm::div(), divU, DkEff(), eddyViscosity< RASModel< BasicTurbulenceModel > >::eddyViscosity(), epsilon_, epsilonSource(), fvOptions, Foam::fvc::grad(), k_, kSource(), Foam::fvm::laplacian(), Foam::magSqr(), Foam::max(), 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(), U, and Foam::Zero.

|
protected |
Definition at line 90 of file realizableKE.H.
Referenced by rCmu(), read(), and realizableKE().
|
protected |
Definition at line 91 of file realizableKE.H.
Referenced by correct(), read(), and realizableKE().
|
protected |
Definition at line 92 of file realizableKE.H.
Referenced by read(), and realizableKE().
|
protected |
Definition at line 93 of file realizableKE.H.
Referenced by read(), and realizableKE().
|
protected |
Definition at line 98 of file realizableKE.H.
Referenced by correct(), correctNut(), kSource(), rCmu(), and realizableKE().
|
protected |
Definition at line 99 of file realizableKE.H.
Referenced by correct(), correctNut(), epsilonSource(), rCmu(), and realizableKE().