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

Spalart-Allmaras 1-eqn mixing-length model for incompressible external flows. More...

#include <incompressibleRASModels/SpalartAllmaras.H>


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 Aerospatiale, 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;
sigmaNut0.66666;
kappa   0.41;
}
Source files

Definition at line 85 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 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.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 106 of file SpalartAllmaras.C.

virtual ~SpalartAllmaras (  ) [inline, virtual]

Destructor.

Definition at line 152 of file SpalartAllmaras.H.


Member Function Documentation

TypeName ( "SpalartAllmaras"    )

Runtime type information.

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

Return the turbulence viscosity.

Implements incompressible::RASModel.

Definition at line 159 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::R().

tmp< volScalarField > DnuTildaEff (  ) const

Return the effective diffusivity for nuTilda.

Definition at line 223 of file SpalartAllmaras.C.

References incompressible::turbulenceModel::nu().

Referenced by SpalartAllmaras::correct().

tmp< volScalarField > k (  ) const [virtual]

Return the turbulence kinetic energy.

Implements incompressible::RASModel.

Definition at line 232 of file SpalartAllmaras.C.

References incompressible::turbulenceModel::mesh_, incompressible::turbulenceModel::runTime_, and Time::timeName().

Referenced by SpalartAllmaras::R().

tmp< volScalarField > epsilon (  ) const [virtual]

Return the turbulence kinetic energy dissipation rate.

Implements incompressible::RASModel.

Definition at line 251 of file SpalartAllmaras.C.

References incompressible::turbulenceModel::mesh_, incompressible::turbulenceModel::runTime_, and Time::timeName().

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

Return the source term for the momentum equation.

Implements incompressible::RASModel.

Definition at line 310 of file SpalartAllmaras.C.

References Foam::dev(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), incompressible::RASModel::nuEff(), and Foam::T().

bool read (  ) [virtual]

Read RASProperties dictionary.

Implements incompressible::RASModel.

Definition at line 322 of file SpalartAllmaras.C.

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


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