General base class for all compressible models that directly solve for the SGS stress tensor B. More...
#include <compressibleLESModels/GenSGSStress.H>
General base class for all compressible models that directly solve for the SGS stress tensor B.
Contains tensor fields B (the SGS stress tensor) as well as scalar fields for k (SGS turbulent energy) gamma (SGS viscosity) and epsilon (SGS dissipation).
Definition at line 58 of file GenSGSStress.H.
Public Member Functions | |
GenSGSStress (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel) | |
Constructor from components.
| |
virtual | ~GenSGSStress () |
Destructor.
| |
virtual tmp< volScalarField > | k () const |
Return the SGS turbulent kinetic energy.
| |
virtual tmp< volScalarField > | epsilon () const |
Return the SGS turbulent dissipation.
| |
virtual tmp< volScalarField > | muSgs () const |
Return the SGS viscosity.
| |
virtual tmp< volScalarField > | alphaSgs () const |
Return the SGS thermal diffusivity.
| |
virtual tmp< volScalarField > | alphaEff () const |
Return thermal conductivity.
| |
virtual tmp< volSymmTensorField > | B () const |
Return the sub-grid stress tensor.
| |
virtual tmp< volSymmTensorField > | devRhoBeff () const |
Return the deviatoric part of the effective sub-grid.
| |
virtual tmp< fvVectorMatrix > | divDevRhoBeff (volVectorField &U) const |
Returns divergence of B : i.e. the additional term in the.
| |
virtual void | correct (const tmp< volTensorField > &gradU) |
Correct Eddy-Viscosity and related properties.
| |
virtual bool | read () |
Read LESProperties dictionary.
| |
Protected Attributes | |
dimensionedScalar | ce_ |
dimensionedScalar | Prt_ |
volSymmTensorField | B_ |
volScalarField | muSgs_ |
volScalarField | alphaSgs_ |
GenSGSStress | ( | const volScalarField & | rho, |
const volVectorField & | U, | ||
const surfaceScalarField & | phi, | ||
const basicThermo & | thermoPhysicalModel | ||
) |
Constructor from components.
Definition at line 40 of file GenSGSStress.C.
virtual ~GenSGSStress | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 98 of file GenSGSStress.H.
virtual tmp<volScalarField> k | ( | ) | const [inline, virtual]
|
Return the SGS turbulent kinetic energy.
Implements LESModel.
Definition at line 105 of file GenSGSStress.H.
References GenSGSStress::B_, and Foam::tr().
virtual tmp<volScalarField> epsilon | ( | ) | const [inline, virtual]
|
Return the SGS turbulent dissipation.
Implements LESModel.
Definition at line 111 of file GenSGSStress.H.
References GenSGSStress::ce_, LESModel::delta(), GenSGSStress::epsilon(), k(), K, and Foam::sqrt().
Referenced by GenSGSStress::epsilon().
virtual tmp<volScalarField> muSgs | ( | ) | const [inline, virtual]
|
Return the SGS viscosity.
Implements LESModel.
Definition at line 118 of file GenSGSStress.H.
References GenSGSStress::muSgs(), and GenSGSStress::muSgs_.
Referenced by GenSGSStress::muSgs().
virtual tmp<volScalarField> alphaSgs | ( | ) | const [inline, virtual]
|
Return the SGS thermal diffusivity.
Implements LESModel.
Definition at line 124 of file GenSGSStress.H.
References GenSGSStress::alphaSgs(), and GenSGSStress::alphaSgs_.
Referenced by GenSGSStress::alphaSgs().
virtual tmp<volScalarField> alphaEff | ( | ) | const [inline, virtual]
|
Return thermal conductivity.
Implements LESModel.
Definition at line 130 of file GenSGSStress.H.
References turbulenceModel::alpha(), GenSGSStress::alphaEff(), and GenSGSStress::alphaSgs_.
Referenced by GenSGSStress::alphaEff().
virtual tmp<volSymmTensorField> B | ( | ) | const [inline, virtual]
|
Return the sub-grid stress tensor.
Implements LESModel.
Definition at line 139 of file GenSGSStress.H.
References GenSGSStress::B(), and GenSGSStress::B_.
Referenced by GenSGSStress::B().
tmp< volSymmTensorField > devRhoBeff | ( | ) | const [virtual]
|
Return the deviatoric part of the effective sub-grid.
turbulence stress tensor including the laminar stress
Implements LESModel.
Definition at line 119 of file GenSGSStress.C.
References Foam::dev(), Foam::fvc::grad(), mu, IOobject::NO_READ, IOobject::NO_WRITE, rho, Foam::twoSymm(), and U.
tmp< fvVectorMatrix > divDevRhoBeff | ( | volVectorField & | U ) | const [virtual]
|
Returns divergence of B : i.e. the additional term in the.
filtered NSE
Implements LESModel.
Definition at line 139 of file GenSGSStress.C.
References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), Foam::fvc::laplacian(), mu, muEff(), rho, and Foam::T().
void correct | ( | const tmp< volTensorField > & | gradU ) | [virtual]
|
Correct Eddy-Viscosity and related properties.
Reimplemented from LESModel.
Reimplemented in DeardorffDiffStress.
Definition at line 151 of file GenSGSStress.C.
References correct().
bool read | ( | ) | [virtual]
|
Read LESProperties dictionary.
Implements LESModel.
Reimplemented in DeardorffDiffStress.
Definition at line 157 of file GenSGSStress.C.
dimensionedScalar ce_ [protected]
|
Definition at line 73 of file GenSGSStress.H.
Referenced by GenSGSStress::epsilon().
dimensionedScalar Prt_ [protected]
|
Definition at line 74 of file GenSGSStress.H.
volSymmTensorField B_ [protected]
|
Definition at line 78 of file GenSGSStress.H.
Referenced by GenSGSStress::B(), and GenSGSStress::k().
volScalarField muSgs_ [protected]
|
Definition at line 79 of file GenSGSStress.H.
Referenced by DeardorffDiffStress::DBEff(), and GenSGSStress::muSgs().
volScalarField alphaSgs_ [protected]
|
Definition at line 80 of file GenSGSStress.H.
Referenced by GenSGSStress::alphaEff(), and GenSGSStress::alphaSgs().