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

SpalartAllmaras Class Reference

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, const word &modelName=typeName)
 Construct from components.
virtual ~SpalartAllmaras ()
 Destructor.
virtual tmp< volScalarField > k () const
 Return SGS kinetic energy.
virtual tmp< volScalarField > epsilon () const
 Return sub-grid disipation rate.
tmp< volScalarField > nuTilda () const
virtual tmp< volScalarField > nuSgs () const
 Return SGS viscosity.
virtual tmp< volSymmTensorField > B () const
 Return the sub-grid stress tensor.
virtual tmp< volSymmTensorField > devBeff () const
 Return the effective sub-grid turbulence stress tensor.
virtual tmp< fvVectorMatrix > divDevBeff (volVectorField &U) const
 Return the deviatoric part of the divergence of Beff.
virtual void correct (const tmp< volTensorField > &gradU)
 Correct nuTilda and related properties.
virtual bool read ()
 Read LESProperties dictionary.

Protected Member Functions

virtual tmp< volScalarField > fv1 () const
virtual tmp< volScalarField > fv2 () const
virtual tmp< volScalarField > fv3 () const
virtual tmp< volScalarField > S (const volTensorField &gradU) const
virtual tmp< volScalarField > STilda (const volScalarField &S, const volScalarField &dTilda) const
virtual tmp< volScalarField > r (const volScalarField &visc, const volScalarField &S, const volScalarField &dTilda) const
virtual tmp< volScalarField > fw (const volScalarField &S, const volScalarField &dTilda) const
virtual tmp< volScalarField > dTilda (const volScalarField &S) const
 Length scale.

Protected Attributes

dimensionedScalar sigmaNut_
dimensionedScalar kappa_
dimensionedScalar Cb1_
dimensionedScalar Cb2_
dimensionedScalar Cv1_
dimensionedScalar Cv2_
dimensionedScalar CDES_
dimensionedScalar ck_
dimensionedScalar Cw1_
dimensionedScalar Cw2_
dimensionedScalar Cw3_
wallDist y_
volScalarField nuTilda_
volScalarField nuSgs_

Detailed Description

Definition at line 50 of file SpalartAllmaras.H.


Constructor & Destructor Documentation

SpalartAllmaras ( const volVectorField &  U,
const surfaceScalarField &  phi,
transportModel &  transport,
const word &  modelName = typeName 
)

Construct from components.

Definition at line 140 of file SpalartAllmaras.C.

References SpalartAllmaras::CDES_, LESModel::delta(), Foam::min(), and SpalartAllmaras::y_.

Here is the call graph for this function:

virtual ~SpalartAllmaras (  )  [inline, virtual]

Destructor.

Definition at line 141 of file SpalartAllmaras.H.


Member Function Documentation

tmp< volScalarField > fv1 (  )  const [protected, virtual]

tmp< volScalarField > fv2 (  )  const [protected, virtual]

Definition at line 53 of file SpalartAllmaras.C.

References SpalartAllmaras::Cv1_, nu, SpalartAllmaras::nuTilda_, and Foam::pow3().

Referenced by SpalartAllmaras::r().

Here is the call graph for this function:

Here is the caller graph for this function:

tmp< volScalarField > fv3 (  )  const [protected, virtual]

Definition at line 59 of file SpalartAllmaras.C.

Referenced by SpalartAllmaras::r().

Here is the caller graph for this function:

tmp< volScalarField > S ( const volTensorField &  gradU  )  const [protected, virtual]

Definition at line 72 of file SpalartAllmaras.C.

References SpalartAllmaras::fv1().

Here is the call graph for this function:

tmp< volScalarField > STilda ( const volScalarField &  S,
const volScalarField &  dTilda 
) const [protected, virtual]

Definition at line 79 of file SpalartAllmaras.C.

References Foam::mag(), Foam::skew(), and Foam::sqrt().

Here is the call graph for this function:

tmp< volScalarField > r ( const volScalarField &  visc,
const volScalarField &  S,
const volScalarField &  dTilda 
) const [protected, virtual]

Definition at line 89 of file SpalartAllmaras.C.

References SpalartAllmaras::fv2(), SpalartAllmaras::fv3(), SpalartAllmaras::kappa_, SpalartAllmaras::nuTilda_, and Foam::sqr().

Referenced by SpalartAllmaras::dTilda().

Here is the call graph for this function:

Here is the caller graph for this function:

tmp< volScalarField > fw ( const volScalarField &  S,
const volScalarField &  dTilda 
) const [protected, virtual]

Definition at line 118 of file SpalartAllmaras.C.

tmp< volScalarField > dTilda ( const volScalarField &  S  )  const [protected, virtual]

Length scale.

Reimplemented in SpalartAllmarasDDES, and SpalartAllmarasIDDES.

Definition at line 131 of file SpalartAllmaras.C.

References SpalartAllmaras::Cw2_, SpalartAllmaras::Cw3_, g, SpalartAllmaras::nuTilda_, Foam::pow(), Foam::pow6(), and SpalartAllmaras::r().

Here is the call graph for this function:

TypeName ( "SpalartAllmaras"   ) 

Runtime type information.

tmp< volScalarField > k (  )  const [virtual]

Return SGS kinetic energy.

Implements LESModel.

Definition at line 315 of file SpalartAllmaras.C.

References SpalartAllmaras::nuTilda_.

tmp< volScalarField > epsilon (  )  const [virtual]

Return sub-grid disipation rate.

Implements LESModel.

Definition at line 321 of file SpalartAllmaras.C.

Referenced by SpalartAllmaras::nuTilda().

Here is the caller graph for this function:

tmp<volScalarField> nuTilda (  )  const [inline]

Definition at line 153 of file SpalartAllmaras.H.

References SpalartAllmaras::epsilon().

Referenced by SpalartAllmaras::nuSgs().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Return SGS viscosity.

Implements LESModel.

Definition at line 159 of file SpalartAllmaras.H.

References SpalartAllmaras::nuTilda(), and SpalartAllmaras::nuTilda_.

Here is the call graph for this function:

tmp< volSymmTensorField > B (  )  const [virtual]

Return the sub-grid stress tensor.

Implements LESModel.

Definition at line 327 of file SpalartAllmaras.C.

tmp< volSymmTensorField > devBeff (  )  const [virtual]

Return the effective sub-grid turbulence stress tensor.

including the laminar stress

Implements LESModel.

Definition at line 333 of file SpalartAllmaras.C.

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

Return the deviatoric part of the divergence of Beff.

i.e. the additional term in the filtered NSE.

Implements LESModel.

Definition at line 339 of file SpalartAllmaras.C.

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

Correct nuTilda and related properties.

Reimplemented from LESModel.

Definition at line 275 of file SpalartAllmaras.C.

bool read (  )  [virtual]

Read LESProperties dictionary.

Implements LESModel.

Reimplemented in SpalartAllmarasIDDES.

Definition at line 348 of file SpalartAllmaras.C.

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

Here is the call graph for this function:


Member Data Documentation

dimensionedScalar sigmaNut_ [protected]

Definition at line 68 of file SpalartAllmaras.H.

dimensionedScalar kappa_ [protected]

Definition at line 69 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::r().

dimensionedScalar Cb1_ [protected]

Definition at line 74 of file SpalartAllmaras.H.

dimensionedScalar Cb2_ [protected]

Definition at line 75 of file SpalartAllmaras.H.

dimensionedScalar Cv1_ [protected]

Definition at line 76 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::fv2().

dimensionedScalar Cv2_ [protected]

Definition at line 77 of file SpalartAllmaras.H.

dimensionedScalar CDES_ [protected]

Definition at line 78 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::SpalartAllmaras().

dimensionedScalar ck_ [protected]

Definition at line 79 of file SpalartAllmaras.H.

dimensionedScalar Cw1_ [protected]

Definition at line 80 of file SpalartAllmaras.H.

dimensionedScalar Cw2_ [protected]

Definition at line 81 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::dTilda().

dimensionedScalar Cw3_ [protected]

Definition at line 82 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::dTilda().

wallDist y_ [protected]

Definition at line 87 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::SpalartAllmaras().

volScalarField nuSgs_ [protected]

Definition at line 89 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::fv1().


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