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

GenSGSStress Class Reference

General base class for all compressible 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 volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel)
 Constructor from components.
virtual ~GenSGSStress ()
 Destructor.
virtual tmp< volScalarFieldk () const
 Return the SGS turbulent kinetic energy.
virtual tmp< volScalarFieldepsilon () const
 Return the SGS turbulent dissipation.
virtual tmp< volScalarFieldmuSgs () const
 Return the SGS viscosity.
virtual tmp< volScalarFieldalphaSgs () const
 Return the SGS thermal diffusivity.
virtual tmp< volScalarFieldalphaEff () const
 Return thermal conductivity.
virtual tmp< volSymmTensorFieldB () const
 Return the sub-grid stress tensor.
virtual tmp< volSymmTensorFielddevRhoBeff () const
 Return the deviatoric part of the effective sub-grid.
virtual tmp< fvVectorMatrixdivDevRhoBeff (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_

Detailed Description

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).

Source files

Definition at line 53 of file GenSGSStress.H.


Constructor & Destructor Documentation

GenSGSStress ( const volScalarField rho,
const volVectorField U,
const surfaceScalarField phi,
const basicThermo thermoPhysicalModel 
)

Constructor from components.

Definition at line 32 of file GenSGSStress.C.

References IOobject::AUTO_WRITE, IOobject::MUST_READ, phi, rho, and U.

virtual ~GenSGSStress (  )  [inline, virtual]

Destructor.

Definition at line 93 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 100 of file GenSGSStress.H.

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

Return the SGS turbulent dissipation.

Implements LESModel.

Definition at line 106 of file GenSGSStress.H.

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

Here is the call graph for this function:

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

Return the SGS viscosity.

Implements LESModel.

Definition at line 113 of file GenSGSStress.H.

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

Referenced by GenSGSStress::alphaSgs().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Return the SGS thermal diffusivity.

Implements LESModel.

Definition at line 119 of file GenSGSStress.H.

References GenSGSStress::muSgs(), and GenSGSStress::muSgs_.

Referenced by GenSGSStress::alphaEff().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Return thermal conductivity.

Implements LESModel.

Definition at line 125 of file GenSGSStress.H.

References GenSGSStress::alphaSgs(), and GenSGSStress::alphaSgs_.

Here is the call graph for this function:

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

Return the sub-grid stress tensor.

Implements LESModel.

Definition at line 134 of file GenSGSStress.H.

References turbulenceModel::alpha().

Here is the call graph for this function:

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 111 of file GenSGSStress.C.

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 131 of file GenSGSStress.C.

References GenSGSStress::B_.

void correct ( const tmp< volTensorField > &  gradU  )  [virtual]

Correct Eddy-Viscosity and related properties.

Reimplemented from LESModel.

Reimplemented in DeardorffDiffStress.

Definition at line 143 of file GenSGSStress.C.

bool read (  )  [virtual]

Read LESProperties dictionary.

Implements LESModel.

Reimplemented in DeardorffDiffStress.

Definition at line 149 of file GenSGSStress.C.


Member Data Documentation

dimensionedScalar ce_ [protected]

Definition at line 68 of file GenSGSStress.H.

Referenced by GenSGSStress::muSgs().

dimensionedScalar Prt_ [protected]

Definition at line 69 of file GenSGSStress.H.

volSymmTensorField B_ [protected]

Definition at line 73 of file GenSGSStress.H.

Referenced by GenSGSStress::divDevRhoBeff(), and GenSGSStress::epsilon().

volScalarField muSgs_ [protected]

Definition at line 74 of file GenSGSStress.H.

Referenced by GenSGSStress::alphaSgs().

volScalarField alphaSgs_ [protected]

Definition at line 75 of file GenSGSStress.H.

Referenced by GenSGSStress::alphaEff().


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