Launder-Gibson Reynolds stress turbulence model for incompressible flows. More...
#include <incompressibleRASModels/LaunderGibsonRSTM.H>
Launder-Gibson Reynolds stress turbulence model for incompressible flows.
The default model coefficients correspond to the following:
LaunderGibsonRSTMCoeffs { Cmu 0.09; kappa 0.41; Clg11.8; Clg20.6; C1 1.44; C2 1.92; C1Ref 0.5; C2Ref 0.3; Cs 0.25; Ceps0.15; sigmaEps1.3; sigmaR 0.81967; couplingFactor 0.0; }
Definition at line 74 of file LaunderGibsonRSTM.H.
Public Member Functions | |
TypeName ("LaunderGibsonRSTM") | |
Runtime type information.
| |
LaunderGibsonRSTM (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport) | |
Construct from components.
| |
virtual | ~LaunderGibsonRSTM () |
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.
|
LaunderGibsonRSTM | ( | const volVectorField & | U, |
const surfaceScalarField & | phi, | ||
transportModel & | transport | ||
) |
Construct from components.
Definition at line 49 of file LaunderGibsonRSTM.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::nl, and Foam::sqr().
virtual ~LaunderGibsonRSTM | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 128 of file LaunderGibsonRSTM.H.
TypeName | ( | "LaunderGibsonRSTM" | ) |
Runtime type information.
virtual tmp<volScalarField> nut | ( | ) | const [inline, virtual]
|
Return the turbulence viscosity.
Implements incompressible::RASModel.
Definition at line 135 of file LaunderGibsonRSTM.H.
tmp<volScalarField> DREff | ( | ) | const [inline]
|
Return the effective diffusivity for R.
Definition at line 141 of file LaunderGibsonRSTM.H.
References incompressible::turbulenceModel::nu().
Referenced by LaunderGibsonRSTM::correct().
tmp<volScalarField> DepsilonEff | ( | ) | const [inline]
|
Return the effective diffusivity for epsilon.
Definition at line 150 of file LaunderGibsonRSTM.H.
References incompressible::turbulenceModel::nu().
Referenced by LaunderGibsonRSTM::correct().
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy.
Implements incompressible::RASModel.
Definition at line 159 of file LaunderGibsonRSTM.H.
virtual tmp<volScalarField> epsilon | ( | ) | const [inline, virtual]
|
Return the turbulence kinetic energy dissipation rate.
Implements incompressible::RASModel.
Definition at line 165 of file LaunderGibsonRSTM.H.
virtual tmp<volSymmTensorField> R | ( | ) | const [inline, virtual]
|
Return the Reynolds stress tensor.
Implements incompressible::RASModel.
Definition at line 171 of file LaunderGibsonRSTM.H.
tmp< volSymmTensorField > devReff | ( | ) | const [virtual]
|
Return the effective stress tensor including the laminar stress.
Implements incompressible::RASModel.
Definition at line 247 of file LaunderGibsonRSTM.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 267 of file LaunderGibsonRSTM.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 325 of file LaunderGibsonRSTM.C.
References Foam::bound(), fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), polyMesh::changing(), wallDistReflection::correct(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::fvm::ddt(), LaunderGibsonRSTM::DepsilonEff(), Foam::dev(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::fvc::div(), Foam::fvm::div(), LaunderGibsonRSTM::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(), reflectionVectors::n(), patches, incompressible::turbulenceModel::phi_, Foam::pow(), 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 290 of file LaunderGibsonRSTM.C.
References incompressible::RASModel::coeffDict(), Foam::exit(), Foam::FatalError, FatalErrorIn, dimensioned< Type >::readIfPresent(), and dimensioned< Type >::value().