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

SpalartAllmaras Class Reference

Spalart-Allmaras 1-eqn mixing-length model for incompressible 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 volVectorField &U, const surfaceScalarField &phi, transportModel &transport)
 Construct from components.
virtual ~SpalartAllmaras ()
 Destructor.
virtual tmp< volScalarField > nut () const
 Return the turbulence viscosity.
tmp< volScalarField > DnuTildaEff () const
 Return the effective diffusivity for nuTilda.
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 > devReff () const
 Return the effective stress tensor including the laminar stress.
virtual tmp< fvVectorMatrix > divDevReff (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 1-eqn mixing-length model for incompressible external flows.

References:

    "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;
        kappa       0.41;
    }

Source files

Definition at line 80 of file SpalartAllmaras.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 99 of file SpalartAllmaras.C.

virtual ~SpalartAllmaras (  )  [inline, virtual]

Destructor.

Definition at line 147 of file SpalartAllmaras.H.


Member Function Documentation

TypeName ( "SpalartAllmaras"   ) 

Runtime type information.

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

Return the turbulence viscosity.

Implements RASModel.

Definition at line 154 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::devReff().

Here is the caller graph for this function:

tmp< volScalarField > DnuTildaEff (  )  const

Return the effective diffusivity for nuTilda.

Definition at line 216 of file SpalartAllmaras.C.

tmp< volScalarField > k (  )  const [virtual]

Return the turbulence kinetic energy.

Implements RASModel.

Definition at line 225 of file SpalartAllmaras.C.

References nu.

tmp< volScalarField > epsilon (  )  const [virtual]

Return the turbulence kinetic energy dissipation rate.

Implements RASModel.

Definition at line 244 of file SpalartAllmaras.C.

References turbulenceModel::mesh_.

tmp< volSymmTensorField > R (  )  const [virtual]

Return the Reynolds stress tensor.

Implements RASModel.

Definition at line 263 of file SpalartAllmaras.C.

References turbulenceModel::mesh_.

tmp< volSymmTensorField > devReff (  )  const [virtual]

Return the effective stress tensor including the laminar stress.

Implements RASModel.

Definition at line 283 of file SpalartAllmaras.C.

References SpalartAllmaras::nut().

Here is the call graph for this function:

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

Return the source term for the momentum equation.

Implements RASModel.

Definition at line 303 of file SpalartAllmaras.C.

References RASModel::nuEff().

Here is the call graph for this function:

void correct (  )  [virtual]

Solve the turbulence equations and correct the turbulence viscosity.

Implements RASModel.

Definition at line 338 of file SpalartAllmaras.C.

bool read (  )  [virtual]

Read RASProperties dictionary.

Implements RASModel.

Definition at line 315 of file SpalartAllmaras.C.


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