SpalartAllmaras Class Reference
Inheritance diagram for SpalartAllmaras:
Collaboration diagram for SpalartAllmaras:

Public Member Functions

 TypeName ("SpalartAllmaras")
 Runtime type information. More...
 SpalartAllmaras (const fvMesh &mesh, const solverControl &SolverControl)
 Construct from components. More...
virtual ~SpalartAllmaras ()=default
 Destructor. More...
virtual tmp< volScalarFieldnutJacobianVar1 (const singlePhaseTransportModel &laminarTransport) const
 return nut Jacobian wrt the TM vars More...
- Public Member Functions inherited from RASModelVariables
 TypeName ("RASModelVariables")
 Runtime type information. More...
 declareRunTimeSelectionTable (autoPtr, RASModelVariables, dictionary,(const fvMesh &mesh, const solverControl &SolverControl),(mesh, SolverControl))
 RASModelVariables (const fvMesh &mesh, const solverControl &SolverControl)
 Construct from components. More...
 RASModelVariables (const RASModelVariables &rmv)
 Copy constructor. More...
autoPtr< RASModelVariablesclone () const
 Clone. More...
virtual ~RASModelVariables ()=default
const wordTMVar1BaseName () const
 Turbulence field names. More...
const wordTMVar2BaseName () const
const wordnutBaseName () const
bool hasTMVar1 () const
 Bools to idenify which turbulent fields are present. More...
bool hasTMVar2 () const
bool hasNut () const
bool hasDist () const
const volScalarFieldTMVar1 () const
 Return references to turbulence fields. More...
volScalarFieldTMVar1 ()
const volScalarFieldTMVar2 () const
volScalarFieldTMVar2 ()
const volScalarFieldnutRef () const
volScalarFieldnutRef ()
const volScalarFieldd () const
volScalarFieldd ()
const volScalarFieldTMVar1Inst () const
 return references to instantaneous turbulence fields More...
volScalarFieldTMVar1Inst ()
const volScalarFieldTMVar2Inst () const
volScalarFieldTMVar2Inst ()
const volScalarFieldnutRefInst () const
volScalarFieldnutRefInst ()
virtual tmp< volScalarFieldnutJacobianVar2 (const singlePhaseTransportModel &laminarTransport) const
void restoreInitValues ()
 Restore turbulent fields to their initial values. More...
void resetMeanFields ()
 Reset mean fields to zero. More...
void computeMeanFields ()
 Compute mean fields on the fly. More...
tmp< volSymmTensorFielddevReff (const singlePhaseTransportModel &laminarTransport, const volVectorField &U) const
 Return stress tensor based on the mean flow variables. More...
virtual void correctBoundaryConditions (const incompressible::turbulenceModel &turbulence)
 correct bounday conditions of turbulent fields More...
virtual void transfer (RASModelVariables &rmv)
 Transfer turbulence fields from an another object. More...

Additional Inherited Members

- Static Public Member Functions inherited from RASModelVariables
static autoPtr< RASModelVariablesNew (const fvMesh &mesh, const solverControl &SolverControl)
 Return a reference to the selected turbulence model. More...
- Protected Member Functions inherited from RASModelVariables
void allocateInitValues ()
void allocateMeanFields ()
refPtr< volScalarFieldcloneRefPtr (const refPtr< volScalarField > &obj) const
void copyAndRename (volScalarField &f1, volScalarField &f2)
void operator= (const RASModelVariables &)=delete
 No copy assignment. More...
- Protected Attributes inherited from RASModelVariables
const fvMeshmesh_
const solverControlsolverControl_
word TMVar1BaseName_
word TMVar2BaseName_
word nutBaseName_
refPtr< volScalarFieldTMVar1Ptr_
refPtr< volScalarFieldTMVar2Ptr_
refPtr< volScalarFieldnutPtr_
refPtr< volScalarFielddistPtr_
refPtr< volScalarFieldTMVar1InitPtr_
refPtr< volScalarFieldTMVar2InitPtr_
refPtr< volScalarFieldnutInitPtr_
refPtr< volScalarFieldTMVar1MeanPtr_
refPtr< volScalarFieldTMVar2MeanPtr_
refPtr< volScalarFieldnutMeanPtr_

Detailed Description

Source files

Definition at line 56 of file SpalartAllmaras.H.

Constructor & Destructor Documentation

◆ SpalartAllmaras()

SpalartAllmaras ( const fvMesh mesh,
const solverControl SolverControl 

Construct from components.

Definition at line 51 of file SpalartAllmaras.C.

References Foam::dimless, mesh, MeshObject< fvMesh, UpdateableMeshObject, wallDist >::New(), IOobject::NO_READ, IOobject::NO_WRITE, y, and Foam::Zero.

Here is the call graph for this function:

◆ ~SpalartAllmaras()

virtual ~SpalartAllmaras ( )


Member Function Documentation

◆ TypeName()

TypeName ( "SpalartAllmaras"  )

Runtime type information.

◆ nutJacobianVar1()

tmp< volScalarField > nutJacobianVar1 ( const singlePhaseTransportModel laminarTransport) const

return nut Jacobian wrt the TM vars

Reimplemented from RASModelVariables.

Definition at line 97 of file SpalartAllmaras.C.

References Foam::dimless, laminarTransport(), tmp< T >::New(), IOobject::NO_READ, IOobject::NO_WRITE, nu, Foam::pow3(), Foam::sqr(), and Foam::Zero.

Here is the call graph for this function:

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