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

scaleSimilarity Class Reference

General base class for all scale similarity models for incompressible flows. More...

Inheritance diagram for scaleSimilarity:
Collaboration diagram for scaleSimilarity:

List of all members.


Public Member Functions

 TypeName ("scaleSimilarity")
 Runtime type information.
 scaleSimilarity (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport)
 Construct from components.
virtual ~scaleSimilarity ()
 Destructor.
virtual tmp< volScalarField > k () const
 Return the SGS turbulent kinetic energy.
virtual tmp< volScalarField > epsilon () const
 Return the SGS turbulent dissipation.
virtual tmp< volSymmTensorField > B () const
 Return the sub-grid stress tensor.
virtual tmp< volSymmTensorField > devBeff () const
 Return the deviatoric part of the effective sub-grid.
virtual tmp< fvVectorMatrix > divDevBeff (volVectorField &U) const
 Return the deviatoric part of the divergence of Beff.
virtual void correct (const tmp< volTensorField > &)
 Correct Eddy-Viscosity and related properties.
virtual bool read ()
 Read LESProperties dictionary.

Detailed Description

General base class for all scale similarity models for incompressible flows.

Since such models do not work without additional eddy viscosity terms, this class must be combined with an eddy viscosity model of some form.

Source files

Definition at line 53 of file scaleSimilarity.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 36 of file scaleSimilarity.C.

References Foam::incompressible::LESModels::defineTypeNameAndDebug(), phi, and U.

Here is the call graph for this function:

virtual ~scaleSimilarity (  )  [inline, virtual]

Destructor.

Definition at line 87 of file scaleSimilarity.H.


Member Function Documentation

TypeName ( "scaleSimilarity"   ) 

Runtime type information.

tmp< volScalarField > k (  )  const [virtual]

Return the SGS turbulent kinetic energy.

Implements LESModel.

Reimplemented in dynMixedSmagorinsky, and mixedSmagorinsky.

Definition at line 52 of file scaleSimilarity.C.

tmp< volScalarField > epsilon (  )  const [virtual]

Return the SGS turbulent dissipation.

Implements LESModel.

Reimplemented in dynMixedSmagorinsky, and mixedSmagorinsky.

Definition at line 58 of file scaleSimilarity.C.

References Foam::magSqr(), and U.

Here is the call graph for this function:

tmp< volSymmTensorField > B (  )  const [virtual]

Return the sub-grid stress tensor.

Implements LESModel.

Reimplemented in dynMixedSmagorinsky, and mixedSmagorinsky.

Definition at line 66 of file scaleSimilarity.C.

References Foam::fvc::grad(), Foam::sqr(), Foam::symm(), and U.

Here is the call graph for this function:

tmp< volSymmTensorField > devBeff (  )  const [virtual]

Return the deviatoric part of the effective sub-grid.

turbulence stress tensor including the laminar stress

Implements LESModel.

Reimplemented in dynMixedSmagorinsky, and mixedSmagorinsky.

Definition at line 72 of file scaleSimilarity.C.

Referenced by scaleSimilarity::read().

Here is the caller graph for this function:

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

Return the deviatoric part of the divergence of Beff.

i.e. the additional term in the filtered NSE.

Implements LESModel.

Reimplemented in dynMixedSmagorinsky, and mixedSmagorinsky.

Definition at line 78 of file scaleSimilarity.C.

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

Correct Eddy-Viscosity and related properties.

Reimplemented from LESModel.

Reimplemented in dynMixedSmagorinsky, and mixedSmagorinsky.

Definition at line 84 of file scaleSimilarity.C.

bool read (  )  [virtual]

Read LESProperties dictionary.

Implements LESModel.

Reimplemented in dynMixedSmagorinsky, and mixedSmagorinsky.

Definition at line 88 of file scaleSimilarity.C.

References scaleSimilarity::devBeff(), Foam::fvc::div(), and Foam::fvc::Su().

Here is the call graph for this function:


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