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

SpalartAllmaras Class Reference

SpalartAllmaras for compressible flows. More...

#include <compressibleLESModels/SpalartAllmaras.H>


Detailed Description

SpalartAllmaras for compressible flows.

Source files

Definition at line 54 of file SpalartAllmaras.H.

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< volScalarField >  nuTilda () const
virtual tmp< volScalarField >  k () const
 Return SGS kinetic energy.
virtual tmp< volScalarField >  epsilon () const
 Return sub-grid disipation rate.
virtual tmp< volScalarField >  muSgs () const
 Return SGS viscosity.
virtual tmp< volScalarField >  alphaSgs () const
 Return SGS thermal diffusivity.
virtual tmp< volScalarField >  alphaEff () const
 Return thermal conductivity.
virtual tmp< volSymmTensorField >  B () const
 Return the sub-grid stress tensor.
virtual tmp< volSymmTensorField >  devRhoBeff () const
 Return the deviatoric part of the effective sub-grid.
virtual tmp< fvVectorMatrix >  divDevRhoBeff (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.

Constructor & Destructor Documentation

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

Constructor from components.

Definition at line 105 of file SpalartAllmaras.C.

virtual ~SpalartAllmaras (  ) [inline, virtual]

Destructor.

Definition at line 119 of file SpalartAllmaras.H.


Member Function Documentation

TypeName ( "SpalartAllmaras"    )

Runtime type information.

tmp<volScalarField> nuTilda (  ) const [inline]

Definition at line 125 of file SpalartAllmaras.H.

References SpalartAllmaras::nuTilda().

Referenced by SpalartAllmaras::nuTilda().

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

Return SGS kinetic energy.

Implements LESModel.

Definition at line 131 of file SpalartAllmaras.H.

References SpalartAllmaras::muSgs(), rho, and Foam::sqr().

tmp< volScalarField > epsilon (  ) const [virtual]

Return sub-grid disipation rate.

Implements LESModel.

Definition at line 276 of file SpalartAllmaras.C.

References Foam::fvc::grad(), Foam::magSqr(), muEff(), rho, Foam::symm(), and U.

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

Return SGS viscosity.

Implements LESModel.

Definition at line 140 of file SpalartAllmaras.H.

References SpalartAllmaras::muSgs().

Referenced by SpalartAllmaras::k(), and SpalartAllmaras::muSgs().

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

Return SGS thermal diffusivity.

Implements LESModel.

Definition at line 146 of file SpalartAllmaras.H.

References SpalartAllmaras::alphaSgs().

Referenced by SpalartAllmaras::alphaSgs().

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

Return thermal conductivity.

Implements LESModel.

Definition at line 152 of file SpalartAllmaras.H.

References turbulenceModel::alpha(), and SpalartAllmaras::alphaEff().

Referenced by SpalartAllmaras::alphaEff().

tmp< volSymmTensorField > B (  ) const [virtual]

Return the sub-grid stress tensor.

Implements LESModel.

Definition at line 264 of file SpalartAllmaras.C.

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

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

References Foam::dev(), Foam::fvc::grad(), muEff(), Foam::twoSymm(), and U.

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

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

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

Read LESProperties dictionary.

Implements LESModel.

Definition at line 327 of file SpalartAllmaras.C.

References dimensioned< Type >::readIfPresent(), and Foam::sqr().


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