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

SpalartAllmaras Class Reference

SpalartAllmaras for compressible flows. More...

Inheritance diagram for SpalartAllmaras:
Collaboration diagram for SpalartAllmaras:

List of all members.


Public Member Functions

 TypeName ("SpalartAllmaras")
 Runtime type information.
 SpalartAllmaras (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel)
 Constructor from components.
virtual ~SpalartAllmaras ()
 Destructor.
tmp< volScalarFieldnuTilda () const
virtual tmp< volScalarFieldk () const
 Return SGS kinetic energy.
virtual tmp< volScalarFieldepsilon () const
 Return sub-grid disipation rate.
virtual tmp< volScalarFieldmuSgs () const
 Return SGS viscosity.
virtual tmp< volScalarFieldalphaSgs () const
 Return 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 div(rho*dev(B)).
virtual void correct (const tmp< volTensorField > &gradU)
 Correct nuTilda and related properties.
virtual bool read ()
 Read LESProperties dictionary.

Detailed Description

SpalartAllmaras for compressible flows.

Source files

Definition at line 49 of file SpalartAllmaras.H.


Constructor & Destructor Documentation

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

Constructor from components.

Definition at line 97 of file SpalartAllmaras.C.

virtual ~SpalartAllmaras (  )  [inline, virtual]

Destructor.

Definition at line 114 of file SpalartAllmaras.H.


Member Function Documentation

TypeName ( "SpalartAllmaras"   ) 

Runtime type information.

tmp<volScalarField> nuTilda (  )  const [inline]

Definition at line 120 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::k().

Here is the caller graph for this function:

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

Return SGS kinetic energy.

Implements LESModel.

Definition at line 126 of file SpalartAllmaras.H.

References SpalartAllmaras::nuTilda().

Here is the call graph for this function:

tmp< volScalarField > epsilon (  )  const [virtual]

Return sub-grid disipation rate.

Implements LESModel.

Definition at line 268 of file SpalartAllmaras.C.

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

Return SGS viscosity.

Implements LESModel.

Definition at line 135 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::alphaSgs().

Here is the caller graph for this function:

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

Return SGS thermal diffusivity.

Implements LESModel.

Definition at line 141 of file SpalartAllmaras.H.

References SpalartAllmaras::muSgs().

Referenced by SpalartAllmaras::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 147 of file SpalartAllmaras.H.

References SpalartAllmaras::alphaSgs().

Here is the call graph for this function:

tmp< volSymmTensorField > B (  )  const [virtual]

Return the sub-grid stress tensor.

Implements LESModel.

Definition at line 256 of file SpalartAllmaras.C.

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 262 of file SpalartAllmaras.C.

References Foam::dev(), Foam::fvc::grad(), Foam::I, k(), rho, Foam::twoSymm(), and U.

Here is the call graph for this function:

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

Returns div(rho*dev(B)).

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

Implements LESModel.

Definition at line 274 of file SpalartAllmaras.C.

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

Correct nuTilda and related properties.

Reimplemented from LESModel.

Definition at line 283 of file SpalartAllmaras.C.

References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), muEff(), and Foam::T().

Here is the call graph for this function:

bool read (  )  [virtual]

Read LESProperties dictionary.

Implements LESModel.

Definition at line 319 of file SpalartAllmaras.C.


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