Launder, Reece and Rodi Reynolds-stress turbulence model for incompressible flows. More...
#include <incompressibleRASModels/LRR.H>
Launder, Reece and Rodi Reynolds-stress turbulence model for incompressible flows.
The default model coefficients correspond to the following:
LRRCoeffs { Cmu 0.09; Clrr1 1.8; Clrr2 0.6; C1 1.44; C2 1.92; Cs 0.25; Ceps0.15; sigmaEps1.3; couplingFactor 0.0;// only for incompressible }
Definition at line 70 of file LRR.H.
Public Member Functions | |
TypeName ("LRR") | |
Runtime type information.
| |
LRR (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport) | |
Construct from components.
| |
virtual | ~LRR () |
Destructor.
| |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity.
| |
tmp< volScalarField > | DREff () const |
Return the effective diffusivity for R.
| |
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 tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor.
| |
virtual tmp< volSymmTensorField > | devReff () const |
Return the effective stress tensor including the laminar stress.
| |
virtual tmp< fvVectorMatrix > | divDevReff (volVectorField &U) const |
Return the source term for the momentum equation.
| |
virtual void | correct () |
Solve the turbulence equations and correct the turbulence viscosity.
| |
virtual bool | read () |
Read RASProperties dictionary.
|
LRR | ( | const volVectorField & | U, |
const surfaceScalarField & | phi, | ||
transportModel & | transport | ||
) |
Construct from components.
Definition at line 49 of file LRR.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::nl, and Foam::sqr().
TypeName | ( | "LRR" | ) |
Runtime type information.
virtual tmp<volScalarField> nut | ( | ) | const [inline, virtual]
|
Return the turbulence viscosity.
Implements incompressible::RASModel.
tmp<volScalarField> DREff | ( | ) | const [inline]
|
Return the effective diffusivity for R.
Definition at line 130 of file LRR.H.
References incompressible::turbulenceModel::nu().
Referenced by LRR::correct().
tmp<volScalarField> DepsilonEff | ( | ) | const [inline]
|
Return the effective diffusivity for epsilon.
Definition at line 139 of file LRR.H.
References incompressible::turbulenceModel::nu().
Referenced by LRR::correct().
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy.
Implements incompressible::RASModel.
virtual tmp<volScalarField> epsilon | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy dissipation rate.
Implements incompressible::RASModel.
virtual tmp<volSymmTensorField> R | ( | ) | const [inline, virtual]
|
Return the Reynolds stress tensor.
Implements incompressible::RASModel.
tmp< volSymmTensorField > devReff | ( | ) | const [virtual]
|
Return the effective stress tensor including the laminar stress.
Implements incompressible::RASModel.
Definition at line 209 of file LRR.C.
References Foam::dev(), Foam::fvc::grad(), incompressible::turbulenceModel::mesh_, IOobject::NO_READ, IOobject::NO_WRITE, incompressible::turbulenceModel::nu(), incompressible::turbulenceModel::runTime_, Time::timeName(), Foam::twoSymm(), and incompressible::turbulenceModel::U_.
tmp< fvVectorMatrix > divDevReff | ( | volVectorField & | U ) | const [virtual]
|
Return the source term for the momentum equation.
Implements incompressible::RASModel.
Definition at line 229 of file LRR.C.
References Foam::fvc::div(), Foam::fvc::grad(), Foam::resError::laplacian(), incompressible::RASModel::nuEff(), and dimensioned< Type >::value().
void correct | ( | ) | [virtual]
|
Solve the turbulence equations and correct the turbulence viscosity.
fvm::laplacian(Ceps*(K/epsilon_)*R, epsilon_)
fvm::laplacian(Cs*(k_/epsilon_)*R_, R_)
Implements incompressible::RASModel.
Definition at line 289 of file LRR.C.
References Foam::bound(), fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::fvm::ddt(), LRR::DepsilonEff(), Foam::dev(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::fvc::div(), Foam::fvm::div(), LRR::DREff(), incompressible::RASModel::epsilon0_, fvPatch::faceCells(), forAll, Foam::fvc::grad(), Foam::I, incompressible::RASModel::k0_, Foam::fvm::laplacian(), Foam::mag(), fvMesh::magSf(), GeometricField< Type, PatchField, GeoMesh >::max(), incompressible::turbulenceModel::mesh_, Foam::min(), patches, incompressible::turbulenceModel::phi_, fvMesh::Sf(), Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::symm(), Foam::tr(), incompressible::RASModel::turbulence_, Foam::twoSymm(), incompressible::turbulenceModel::U_, dimensioned< Type >::value(), Tensor< Cmpt >::xy(), Tensor< Cmpt >::xz(), and Tensor< Cmpt >::yz().
bool read | ( | ) | [virtual]
|
Read RASProperties dictionary.
Implements incompressible::RASModel.
Definition at line 257 of file LRR.C.
References incompressible::RASModel::coeffDict(), Foam::exit(), Foam::FatalError, FatalErrorIn, dimensioned< Type >::readIfPresent(), and dimensioned< Type >::value().