FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

scaleSimilarity Class Reference

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

#include <incompressibleLESModels/scaleSimilarity.H>


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 58 of file scaleSimilarity.H.

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.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 44 of file scaleSimilarity.C.

virtual ~scaleSimilarity (  ) [inline, virtual]

Destructor.

Definition at line 92 of file scaleSimilarity.H.


Member Function Documentation

TypeName ( "scaleSimilarity"    )

Runtime type information.

tmp< volScalarField > k (  ) const [virtual]

Return the SGS turbulent kinetic energy.

Implements incompressible::LESModel.

Reimplemented in mixedSmagorinsky.

Definition at line 60 of file scaleSimilarity.C.

References Foam::magSqr(), and incompressible::turbulenceModel::U().

Referenced by mixedSmagorinsky::k().

tmp< volScalarField > epsilon (  ) const [virtual]

Return the SGS turbulent dissipation.

Implements incompressible::LESModel.

Reimplemented in mixedSmagorinsky.

Definition at line 66 of file scaleSimilarity.C.

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

Referenced by mixedSmagorinsky::epsilon().

tmp< volSymmTensorField > B (  ) const [virtual]

Return the sub-grid stress tensor.

Implements incompressible::LESModel.

Reimplemented in mixedSmagorinsky.

Definition at line 74 of file scaleSimilarity.C.

References Foam::sqr(), and incompressible::turbulenceModel::U().

Referenced by mixedSmagorinsky::B(), and scaleSimilarity::devBeff().

tmp< volSymmTensorField > devBeff (  ) const [virtual]

Return the deviatoric part of the effective sub-grid.

turbulence stress tensor including the laminar stress

Implements incompressible::LESModel.

Reimplemented in mixedSmagorinsky.

Definition at line 80 of file scaleSimilarity.C.

References scaleSimilarity::B(), and Foam::dev().

Referenced by mixedSmagorinsky::devBeff(), and scaleSimilarity::divDevBeff().

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 incompressible::LESModel.

Reimplemented in mixedSmagorinsky.

Definition at line 86 of file scaleSimilarity.C.

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

Referenced by mixedSmagorinsky::divDevBeff().

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

Correct Eddy-Viscosity and related properties.

Reimplemented from incompressible::LESModel.

Reimplemented in mixedSmagorinsky.

Definition at line 92 of file scaleSimilarity.C.

bool read (  ) [virtual]

Read LESProperties dictionary.

Implements incompressible::LESModel.

Reimplemented in mixedSmagorinsky.

Definition at line 96 of file scaleSimilarity.C.

References incompressible::LESModel::coeffDict(), and LESfilter::read().


The documentation for this class was generated from the following files: