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

SpalartAllmaras Class Reference

Spalart-Allmaras one-eqn mixing-length model for compressible external 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)
 Construct from components.
virtual ~SpalartAllmaras ()
 Destructor.
tmp< volScalarField > DnuTildaEff () const
 Return the effective diffusivity for nuTilda.
virtual tmp< volScalarField > mut () const
 Return the turbulence viscosity.
virtual tmp< volScalarField > alphaEff () const
 Return the effective turbulent thermal diffusivity.
virtual tmp< volScalarField > k () const
 Return the turbulence kinetic energy.
virtual tmp< volScalarField > epsilon () const
 Return the turbulence kinetic energy dissipation rate.
virtual tmp< volSymmTensorField > R () const
 Return the Reynolds stress tensor.
virtual tmp< volSymmTensorField > devRhoReff () const
 Return the effective stress tensor including the laminar stress.
virtual tmp< fvVectorMatrix > divDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation.
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity.
virtual bool read ()
 Read RASProperties dictionary.

Detailed Description

Spalart-Allmaras one-eqn mixing-length model for compressible external flows.

Reference:

    "A One-Equation Turbulence Model for Aerodynamic Flows"
    P.R. Spalart,
    S.R. Allmaras,
    La Recherche A´rospatiale, No. 1, 1994, pp. 5–21.

    Extended according to:

    "An Unstructured Grid Generation and Adaptive Solution Technique
    for High Reynolds Number Compressible Flows"
    G.A. Ashford,
    Ph.D. thesis, University of Michigan, 1996.

The default model coefficients correspond to the following:

    SpalartAllmarasCoeffs
    {
        Cb1         0.1355;
        Cb2         0.622;
        Cw2         0.3;
        Cw3         2.0;
        Cv1         7.1;
        Cv2         5.0;
        sigmaNut    0.66666;
        Prt         1.0;    // only for compressible
        kappa       0.41;
    }

Source files

Definition at line 82 of file SpalartAllmaras.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 100 of file SpalartAllmaras.C.

virtual ~SpalartAllmaras (  )  [inline, virtual]

Destructor.

Definition at line 150 of file SpalartAllmaras.H.


Member Function Documentation

TypeName ( "SpalartAllmaras"   ) 

Runtime type information.

tmp<volScalarField> DnuTildaEff (  )  const [inline]

Return the effective diffusivity for nuTilda.

Definition at line 157 of file SpalartAllmaras.H.

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 170 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::alphaEff().

Here is the caller graph for this function:

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

Return the effective turbulent thermal diffusivity.

Implements RASModel.

Definition at line 176 of file SpalartAllmaras.H.

References SpalartAllmaras::mut().

Here is the call graph for this function:

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

Return the turbulence kinetic energy.

Implements RASModel.

Definition at line 185 of file SpalartAllmaras.H.

References turbulenceModel::alpha().

Here is the call graph for this function:

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

Return the turbulence kinetic energy dissipation rate.

Implements RASModel.

Definition at line 204 of file SpalartAllmaras.H.

tmp< volSymmTensorField > R (  )  const [virtual]

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 243 of file SpalartAllmaras.C.

References RASModel::printCoeffs().

Here is the call graph for this function:

tmp< volSymmTensorField > devRhoReff (  )  const [virtual]

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 263 of file SpalartAllmaras.C.

References turbulenceModel::rho_.

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

Return the source term for the momentum equation.

Implements RASModel.

Definition at line 283 of file SpalartAllmaras.C.

void correct (  )  [virtual]

Solve the turbulence equations and correct the turbulence viscosity.

Implements RASModel.

Definition at line 320 of file SpalartAllmaras.C.

bool read (  )  [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 295 of file SpalartAllmaras.C.


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