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

#include <src/turbulenceModels/incompressible/LES/SpalartAllmaras/SpalartAllmaras.H>


Detailed Description

Definition at line 55 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, 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_

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 148 of file SpalartAllmaras.C.

virtual ~SpalartAllmaras (  ) [inline, virtual]

Destructor.

Definition at line 146 of file SpalartAllmaras.H.


Member Function Documentation

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

Reimplemented in SpalartAllmarasDDES.

Definition at line 80 of file SpalartAllmaras.C.

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

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

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

Definition at line 87 of file SpalartAllmaras.C.

References Foam::sqr().

Referenced by SpalartAllmaras::correct().

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

Definition at line 126 of file SpalartAllmaras.C.

References Foam::pow(), and Foam::pow6().

Referenced by SpalartAllmaras::correct().

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

Runtime type information.

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

Definition at line 158 of file SpalartAllmaras.H.

References SpalartAllmaras::nuTilda_.

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

Return SGS viscosity.

Implements incompressible::LESModel.

Definition at line 164 of file SpalartAllmaras.H.

References SpalartAllmaras::nuSgs_.

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

tmp< volSymmTensorField > B (  ) const [virtual]
tmp< volSymmTensorField > devBeff (  ) const [virtual]

Return the effective sub-grid turbulence stress tensor.

including the laminar stress

Implements incompressible::LESModel.

Definition at line 341 of file SpalartAllmaras.C.

References Foam::dev(), Foam::fvc::grad(), incompressible::LESModel::nuEff(), Foam::twoSymm(), and incompressible::turbulenceModel::U().

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 incompressible::LESModel.

Definition at line 347 of file SpalartAllmaras.C.

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


Member Data Documentation

Definition at line 73 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::correct(), and SpalartAllmaras::read().

Definition at line 74 of file SpalartAllmaras.H.

Referenced by SpalartAllmarasIDDES::dTilda(), and SpalartAllmaras::read().

dimensionedScalar Cb2_ [protected]

Definition at line 80 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::correct(), and SpalartAllmaras::read().

dimensionedScalar Cv1_ [protected]

Definition at line 81 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::fv1(), and SpalartAllmaras::read().

dimensionedScalar ck_ [protected]

Definition at line 84 of file SpalartAllmaras.H.

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

dimensionedScalar Cw2_ [protected]

Definition at line 86 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::read().

dimensionedScalar Cw3_ [protected]

Definition at line 87 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::read().

volScalarField nuSgs_ [protected]

Definition at line 94 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::nuSgs().


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