OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

GenSGSStress Class Reference

General base class for all incompressible models that directly solve for the SGS stress tensor B. More...

Inheritance diagram for GenSGSStress:
Collaboration diagram for GenSGSStress:

List of all members.


Public Member Functions

 GenSGSStress (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport)
 Construct 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 > nuSgs () const
 Return the SGS viscosity.
virtual tmp< volSymmTensorField > B () const
 Return the sub-grid stress tensor.
virtual tmp< volSymmTensorField > devBeff () const
 Return the effective sub-grid turbulence stress tensor.
virtual tmp< fvVectorMatrix > divDevBeff (volVectorField &U) const
 Returns div(B).
virtual bool read ()
 Read LESProperties dictionary.

Protected Attributes

dimensionedScalar ce_
dimensionedScalar couplingFactor_
volSymmTensorField B_
volScalarField nuSgs_

Detailed Description

General base class for all incompressible 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).

Source files

Definition at line 53 of file GenSGSStress.H.


Constructor & Destructor Documentation

GenSGSStress ( const volVectorField &  U,
const surfaceScalarField &  phi,
transportModel &  transport 
)

Construct from components.

Definition at line 32 of file GenSGSStress.C.

References IOobject::AUTO_WRITE, FatalErrorIn, IOobject::MUST_READ, IOobject::NO_READ, IOobject::NO_WRITE, nu, phi, and U.

virtual ~GenSGSStress (  )  [inline, virtual]

Destructor.

Definition at line 88 of file GenSGSStress.H.


Member Function Documentation

virtual tmp<volScalarField> k (  )  const [inline, virtual]

Return the SGS turbulent kinetic energy.

Implements LESModel.

Definition at line 95 of file GenSGSStress.H.

virtual tmp<volScalarField> epsilon (  )  const [inline, virtual]

Return the SGS turbulent dissipation.

Implements LESModel.

Definition at line 101 of file GenSGSStress.H.

References GenSGSStress::B_, and Foam::tr().

Here is the call graph for this function:

virtual tmp<volScalarField> nuSgs (  )  const [inline, virtual]

Return the SGS viscosity.

Implements LESModel.

Definition at line 108 of file GenSGSStress.H.

References GenSGSStress::ce_, LESModel::delta(), K, k(), and Foam::sqrt().

Referenced by GenSGSStress::B().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual tmp<volSymmTensorField> B (  )  const [inline, virtual]

Return the sub-grid stress tensor.

Implements LESModel.

Definition at line 114 of file GenSGSStress.H.

References GenSGSStress::nuSgs(), and GenSGSStress::nuSgs_.

Here is the call graph for this function:

tmp< volSymmTensorField > devBeff (  )  const [virtual]

Return the effective sub-grid turbulence stress tensor.

including the laminar stress

Implements LESModel.

Definition at line 103 of file GenSGSStress.C.

tmp< fvVectorMatrix > divDevBeff ( volVectorField &  U  )  const [virtual]

Returns div(B).

This is the additional term due to the filtering of the NSE.

Implements LESModel.

Definition at line 124 of file GenSGSStress.C.

bool read (  )  [virtual]

Read LESProperties dictionary.

Implements LESModel.

Reimplemented in DeardorffDiffStress, and LRRDiffStress.

Definition at line 152 of file GenSGSStress.C.

References LESModel::nuEff().

Here is the call graph for this function:


Member Data Documentation

dimensionedScalar ce_ [protected]

Definition at line 66 of file GenSGSStress.H.

Referenced by GenSGSStress::nuSgs().

dimensionedScalar couplingFactor_ [protected]

Definition at line 68 of file GenSGSStress.H.

volSymmTensorField B_ [protected]

Definition at line 70 of file GenSGSStress.H.

Referenced by GenSGSStress::epsilon().

volScalarField nuSgs_ [protected]

Definition at line 71 of file GenSGSStress.H.

Referenced by GenSGSStress::B().


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd