SpalartAllmaras DES (SA + LES) turbulence model for incompressible flows. More...

Inheritance diagram for SpalartAllmaras:
Collaboration diagram for SpalartAllmaras:

Public Member Functions

 TypeName ("SpalartAllmaras")
 Runtime type information. More...
 
 SpalartAllmaras (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport, const word &turbulenceModelName=turbulenceModel::typeName, const word &modelName=typeName)
 Construct from components. More...
 
virtual ~SpalartAllmaras ()
 Destructor. More...
 
virtual tmp< volScalarFieldk () const
 Return SGS kinetic energy. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return sub-grid disipation rate. More...
 
tmp< volScalarFieldnuTilda () const
 
virtual tmp< volScalarFieldnuSgs () const
 Return SGS viscosity. More...
 
virtual tmp< volSymmTensorFieldB () const
 Return the sub-grid stress tensor. More...
 
virtual tmp< volSymmTensorFielddevReff () const
 Return the effective sub-grid turbulence stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevReff (volVectorField &U) const
 Return the deviatoric part of the effective sub-grid. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 Return the deviatoric part of the effective sub-grid. More...
 
virtual void correct (const tmp< volTensorField > &gradU)
 Correct nuTilda and related properties. More...
 
virtual bool read ()
 Read LESProperties dictionary. More...
 
virtual tmp< volScalarFieldLESRegion () const
 Return the LES field indicator. More...
 
- Public Member Functions inherited from DESModel
 DESModel (const word &type, const volVectorField &U, const surfaceScalarField &phi, transportModel &transport, const word &turbulenceModelName)
 Construct from components. More...
 
virtual ~DESModel ()
 Destructor. More...
 
- Public Member Functions inherited from LESModel
 TypeName ("LESModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, LESModel, dictionary,(const volVectorField &U, const surfaceScalarField &phi, transportModel &transport, const word &turbulenceModelName),(U, phi, transport, turbulenceModelName))
 
 LESModel (const word &type, const volVectorField &U, const surfaceScalarField &phi, transportModel &transport, const word &turbulenceModelName=turbulenceModel::typeName)
 Construct from components. More...
 
virtual ~LESModel ()
 Destructor. More...
 
virtual const dictionarycoeffDict () const
 Const access to the coefficients dictionary,. More...
 
const dimensionedScalarkMin () const
 Return the lower allowable limit for k (default: SMALL) More...
 
dimensionedScalarkMin ()
 Allow kMin to be changed. More...
 
virtual const volScalarFielddelta () const
 Access function to filter width. More...
 
virtual tmp< volScalarFieldnuEff () const
 Return the effective viscosity. More...
 
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity. More...
 
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor. More...
 
virtual void correct ()
 Correct Eddy-Viscosity and related properties. More...
 
- Public Member Functions inherited from turbulenceModel
 TypeName ("turbulenceModel")
 Runtime type information. More...
 
 declareRunTimeNewSelectionTable (autoPtr, turbulenceModel, turbulenceModel,(const volVectorField &U, const surfaceScalarField &phi, transportModel &transport, const word &turbulenceModelName),(U, phi, transport, turbulenceModelName))
 
 turbulenceModel (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport, const word &turbulenceModelName=typeName)
 Construct from components. More...
 
virtual ~turbulenceModel ()
 Destructor. More...
 
word GName () const
 Helper function to return the nam eof the turbulence G field. More...
 
const volVectorFieldU () const
 Access function to velocity field. More...
 
const surfaceScalarFieldphi () const
 Access function to flux field. More...
 
transportModeltransport () const
 Access function to incompressible transport model. More...
 
const nearWallDisty () const
 Return the near wall distances. More...
 
tmp< volScalarFieldnu () const
 Return the laminar viscosity. More...
 
virtual bool writeData (Ostream &) const
 Default dummy write function. More...
 
- Public Member Functions inherited from regIOobject
 TypeName ("regIOobject")
 Runtime type information. More...
 
 regIOobject (const IOobject &, const bool isTime=false)
 Construct from IOobject. Optional flag for if IOobject is the. More...
 
 regIOobject (const regIOobject &)
 Construct as copy. More...
 
 regIOobject (const regIOobject &, bool registerCopy)
 Construct as copy, and transferring registry registration to copy. More...
 
virtual ~regIOobject ()
 Destructor. More...
 
bool checkIn ()
 Add object to registry. More...
 
bool checkOut ()
 Remove object from registry. More...
 
bool ownedByRegistry () const
 Is this object owned by the registry? More...
 
void store ()
 Transfer ownership of this object to its registry. More...
 
void release ()
 Release ownership of this object from its registry. More...
 
label eventNo () const
 Event number at last update. More...
 
label & eventNo ()
 Event number at last update. More...
 
bool upToDate (const regIOobject &) const
 Return true if up-to-date with respect to given object. More...
 
bool upToDate (const regIOobject &, const regIOobject &) const
 Return true if up-to-date with respect to given objects. More...
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const
 Return true if up-to-date with respect to given objects. More...
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const
 Return true if up-to-date with respect to given objects. More...
 
void setUpToDate ()
 Set up to date (obviously) More...
 
virtual void rename (const word &newName)
 Rename. More...
 
IstreamreadStream (const word &)
 Return Istream and check object type against that given. More...
 
void close ()
 Close Istream. More...
 
label watchIndex () const
 Return file-monitoring handle. More...
 
label & watchIndex ()
 Return file-monitoring handle. More...
 
virtual bool modified () const
 Return true if the object's file (or files for objectRegistry) More...
 
virtual bool readIfModified ()
 Read object if modified (as set by call to modified) More...
 
virtual bool writeObject (IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const
 Write using given format, version and compression. More...
 
virtual bool write () const
 Write using setting from DB. More...
 
void operator= (const IOobject &)
 
template<class Type >
Type & store (Type *tPtr)
 
template<class Type >
Type & store (autoPtr< Type > &atPtr)
 
- Public Member Functions inherited from IOobject
 TypeName ("IOobject")
 Runtime type information. More...
 
 IOobject (const word &name, const fileName &instance, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
 Construct from name, instance, registry, io options. More...
 
 IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
 Construct from name, instance, local, registry, io options. More...
 
 IOobject (const fileName &path, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
 Construct from path, registry, io options. More...
 
Foam::autoPtr< IOobjectclone () const
 Clone. More...
 
virtual ~IOobject ()
 Destructor. More...
 
const Timetime () const
 Return time. More...
 
const objectRegistrydb () const
 Return the local objectRegistry. More...
 
const wordname () const
 Return name. More...
 
const wordheaderClassName () const
 Return name of the class name read from header. More...
 
stringnote ()
 Return non-constant access to the optional note. More...
 
const stringnote () const
 Return the optional note. More...
 
bool & registerObject ()
 Register object created from this IOobject with registry if true. More...
 
bool registerObject () const
 Register object created from this IOobject with registry if true. More...
 
readOption readOpt () const
 
readOptionreadOpt ()
 
writeOption writeOpt () const
 
writeOptionwriteOpt ()
 
word group () const
 Return group (extension part of name) More...
 
const fileNamerootPath () const
 
const fileNamecaseName () const
 
const fileNameinstance () const
 
fileNameinstance ()
 
const fileNamelocal () const
 
fileName path () const
 Return complete path. More...
 
fileName path (const word &instance, const fileName &local="") const
 Return complete path with alternative instance and local. More...
 
fileName objectPath () const
 Return complete path + object name. More...
 
fileName filePath () const
 Return complete path + object name if the file exists. More...
 
bool readHeader (Istream &)
 Read header. More...
 
bool headerOk ()
 Read and check header info. More...
 
bool writeHeader (Ostream &) const
 Write header. More...
 
bool writeHeader (Ostream &, const word &objectType) const
 Write header. Allow override of type. More...
 
bool good () const
 
bool bad () const
 
InfoProxy< IOobjectinfo () const
 Return info proxy. More...
 
void operator= (const IOobject &)
 
template<class Name >
Foam::word groupName (Name name, const word &group)
 
template<class Stream >
Stream & writeBanner (Stream &os, bool noHint)
 
template<class Stream >
Stream & writeDivider (Stream &os)
 
template<class Stream >
Stream & writeEndDivider (Stream &os)
 
- Public Member Functions inherited from IOdictionary
 TypeName ("dictionary")
 
 IOdictionary (const IOobject &)
 Construct given an IOobject. More...
 
 IOdictionary (const IOobject &, const dictionary &)
 Construct given an IOobject and dictionary. More...
 
 IOdictionary (const IOobject &, Istream &)
 Construct given an IOobject and Istream. More...
 
virtual ~IOdictionary ()
 Destructor. More...
 
const wordname () const
 Name function is needed to disambiguate those inherited. More...
 
bool readData (Istream &)
 ReadData function required for regIOobject read operation. More...
 
bool writeData (Ostream &) const
 WriteData function required for regIOobject write operation. More...
 
void operator= (const IOdictionary &)
 Assignment of other IOdictionary's entries to this IOdictionary. More...
 
- Public Member Functions inherited from dictionary
 ClassName ("dictionary")
 
 dictionary ()
 Construct top-level dictionary null. More...
 
 dictionary (const fileName &name)
 Construct top-level empty dictionary with given name. More...
 
 dictionary (const fileName &name, const dictionary &parentDict, Istream &)
 Construct given the entry name, parent dictionary and Istream,. More...
 
 dictionary (Istream &)
 Construct top-level dictionary from Istream,. More...
 
 dictionary (Istream &, const bool keepHeader)
 Construct top-level dictionary from Istream,. More...
 
 dictionary (const dictionary &parentDict, const dictionary &)
 Construct as copy given the parent dictionary. More...
 
 dictionary (const dictionary &)
 Construct top-level dictionary as copy. More...
 
 dictionary (const dictionary *)
 Construct top-level dictionary as copy from pointer to dictionary. More...
 
 dictionary (const dictionary &parentDict, const Xfer< dictionary > &)
 Construct by transferring parameter contents given parent dictionary. More...
 
 dictionary (const Xfer< dictionary > &)
 Construct top-level dictionary by transferring parameter contents. More...
 
autoPtr< dictionaryclone () const
 Construct and return clone. More...
 
virtual ~dictionary ()
 Destructor. More...
 
const dictionaryparent () const
 Return the parent dictionary. More...
 
const dictionarytopDict () const
 Return the top of the tree. More...
 
label startLineNumber () const
 Return line number of first token in dictionary. More...
 
label endLineNumber () const
 Return line number of last token in dictionary. More...
 
SHA1Digest digest () const
 Return the SHA1 digest of the dictionary contents. More...
 
tokenList tokens () const
 Return the dictionary as a list of tokens. More...
 
bool found (const word &, bool recursive=false, bool patternMatch=true) const
 Search dictionary for given keyword. More...
 
const entrylookupEntryPtr (const word &, bool recursive, bool patternMatch) const
 Find and return an entry data stream pointer if present. More...
 
entrylookupEntryPtr (const word &, bool recursive, bool patternMatch)
 Find and return an entry data stream pointer for manipulation. More...
 
const entrylookupEntry (const word &, bool recursive, bool patternMatch) const
 Find and return an entry data stream if present otherwise error. More...
 
ITstreamlookup (const word &, bool recursive=false, bool patternMatch=true) const
 Find and return an entry data stream. More...
 
template<class T >
T lookupOrDefault (const word &, const T &, bool recursive=false, bool patternMatch=true) const
 Find and return a T,. More...
 
template<class T >
T lookupOrAddDefault (const word &, const T &, bool recursive=false, bool patternMatch=true)
 Find and return a T, if not found return the given. More...
 
template<class T >
bool readIfPresent (const word &, T &, bool recursive=false, bool patternMatch=true) const
 Find an entry if present, and assign to T. More...
 
const entrylookupScopedEntryPtr (const word &, bool recursive, bool patternMatch) const
 Find and return an entry data stream pointer if present. More...
 
bool isDict (const word &) const
 Check if entry is a sub-dictionary. More...
 
const dictionarysubDictPtr (const word &) const
 Find and return a sub-dictionary pointer if present. More...
 
const dictionarysubDict (const word &) const
 Find and return a sub-dictionary. More...
 
dictionarysubDict (const word &)
 Find and return a sub-dictionary for manipulation. More...
 
dictionary subOrEmptyDict (const word &, const bool mustRead=false) const
 Find and return a sub-dictionary as a copy, or. More...
 
wordList toc () const
 Return the table of contents. More...
 
List< keyTypekeys (bool patterns=false) const
 Return the list of available keys or patterns. More...
 
bool substituteKeyword (const word &keyword)
 Substitute the given keyword prepended by '$' with the. More...
 
bool substituteScopedKeyword (const word &keyword)
 Substitute the given scoped keyword prepended by '$' with the. More...
 
bool add (entry *, bool mergeEntry=false)
 Add a new entry. More...
 
void add (const entry &, bool mergeEntry=false)
 Add an entry. More...
 
void add (const keyType &, const word &, bool overwrite=false)
 Add a word entry. More...
 
void add (const keyType &, const string &, bool overwrite=false)
 Add a string entry. More...
 
void add (const keyType &, const label, bool overwrite=false)
 Add a label entry. More...
 
void add (const keyType &, const scalar, bool overwrite=false)
 Add a scalar entry. More...
 
void add (const keyType &, const dictionary &, bool mergeEntry=false)
 Add a dictionary entry. More...
 
template<class T >
void add (const keyType &, const T &, bool overwrite=false)
 Add a T entry. More...
 
void set (entry *)
 Assign a new entry, overwrite any existing entry. More...
 
void set (const entry &)
 Assign a new entry, overwrite any existing entry. More...
 
void set (const keyType &, const dictionary &)
 Assign a dictionary entry, overwrite any existing entry. More...
 
template<class T >
void set (const keyType &, const T &)
 Assign a T entry, overwrite any existing entry. More...
 
bool remove (const word &)
 Remove an entry specified by keyword. More...
 
bool changeKeyword (const keyType &oldKeyword, const keyType &newKeyword, bool forceOverwrite=false)
 Change the keyword for an entry,. More...
 
bool merge (const dictionary &)
 Merge entries from the given dictionary. More...
 
void clear ()
 Clear the dictionary. More...
 
void transfer (dictionary &)
 Transfer the contents of the argument and annul the argument. More...
 
Xfer< dictionaryxfer ()
 Transfer contents to the Xfer container. More...
 
bool read (Istream &)
 Read dictionary from Istream. More...
 
bool read (Istream &, const bool keepHeader)
 Read dictionary from Istream, optionally keeping the header. More...
 
void write (Ostream &, const bool subDict=true) const
 Write dictionary, normally with sub-dictionary formatting. More...
 
ITstreamoperator[] (const word &) const
 Find and return entry. More...
 
void operator= (const dictionary &)
 
void operator+= (const dictionary &)
 Include entries from the given dictionary. More...
 
void operator|= (const dictionary &)
 Conditionally include entries from the given dictionary. More...
 
void operator<<= (const dictionary &)
 Unconditionally include entries from the given dictionary. More...
 
- Public Member Functions inherited from dictionaryName
 dictionaryName ()
 Construct dictionaryName null. More...
 
 dictionaryName (const fileName &name)
 Construct dictionaryName as copy of the given fileName. More...
 
const fileNamename () const
 Return the dictionary name. More...
 
fileNamename ()
 Return the dictionary name. More...
 
const word dictName () const
 Return the local dictionary name (final part of scoped name) More...
 
- Public Member Functions inherited from IDLList< T >
 IDLList ()
 Null construct. More...
 
 IDLList (const T &a)
 Construct given initial T. More...
 
template<class INew >
 IDLList (Istream &is, const INew &inewt)
 Construct from Istream using given Istream constructor class. More...
 
 IDLList (Istream &is)
 Construct from Istream. More...
 
template<class CloneArg >
 IDLList (const IDLList< T > &idll, const CloneArg &cloneArg)
 Copy constructor with additional argument for clone. More...
 
- Public Member Functions inherited from ILList< LListBase, T >
 ILList ()
 Null construct. More...
 
 ILList (T *a)
 Construct given initial T. More...
 
 ILList (Istream &)
 Construct from Istream. More...
 
 ILList (const ILList< LListBase, T > &)
 Construct as copy. More...
 
template<class CloneArg >
 ILList (const ILList< LListBase, T > &lst, const CloneArg &cloneArg)
 Copy constructor with additional argument for clone. More...
 
template<class INew >
 ILList (Istream &, const INew &)
 Construct from Istream using given Istream constructor class. More...
 
 ~ILList ()
 Destructor. More...
 
bool eraseHead ()
 Remove the head element specified from the list and delete it. More...
 
bool erase (T *p)
 Remove the specified element from the list and delete it. More...
 
void clear ()
 Clear the contents of the list. More...
 
void transfer (ILList< LListBase, T > &)
 Transfer the contents of the argument into this List. More...
 
void operator= (const ILList< LListBase, T > &)
 
- Public Member Functions inherited from UILList< LListBase, T >
 UILList ()
 Null construct. More...
 
 UILList (T *a)
 Construct given initial T. More...
 
 UILList (const UILList< LListBase, T > &)
 Construct as copy. More...
 
Tfirst ()
 Return the first entry. More...
 
const Tfirst () const
 Return the first entry. More...
 
Tlast ()
 Return the last entry. More...
 
const Tlast () const
 Return the last entry. More...
 
TremoveHead ()
 Remove and return head. More...
 
Tremove (T *p)
 Remove and return element. More...
 
Tremove (iterator &it)
 Remove and return specified by iterator. More...
 
void operator= (const UILList< LListBase, T > &)
 
bool operator== (const UILList< LListBase, T > &) const
 Equality operation on ULists of the same type. More...
 
bool operator!= (const UILList< LListBase, T > &) const
 The opposite of the equality operation. Takes linear time. More...
 

Protected Member Functions

virtual tmp< volScalarFieldfv1 () const
 
virtual tmp< volScalarFieldfv2 () const
 
virtual tmp< volScalarFieldfv3 () const
 
virtual tmp< volScalarFieldS (const volTensorField &gradU) const
 
virtual tmp< volScalarFieldSTilda (const volScalarField &S, const volScalarField &dTilda) const
 
virtual tmp< volScalarFieldr (const volScalarField &visc, const volScalarField &S, const volScalarField &dTilda) const
 
virtual tmp< volScalarFieldfw (const volScalarField &S, const volScalarField &dTilda) const
 
virtual tmp< volScalarFielddTilda (const volScalarField &S) const
 Length scale. More...
 

Protected Attributes

dimensionedScalar sigmaNut_
 
dimensionedScalar kappa_
 
dimensionedScalar Cb1_
 
dimensionedScalar Cb2_
 
dimensionedScalar Cv1_
 
dimensionedScalar Cv2_
 
dimensionedScalar CDES_
 
dimensionedScalar ck_
 
dimensionedScalar Cw1_
 
dimensionedScalar Cw2_
 
dimensionedScalar Cw3_
 
Switch ashfordCorrection_
 Optional flag to activate the Ashford correction. More...
 
wallDist y_
 
volScalarField nuTilda_
 
volScalarField nuSgs_
 

Additional Inherited Members

- Public Types inherited from regIOobject
enum  fileCheckTypes { timeStamp, timeStampMaster, inotify, inotifyMaster }
 Types of communications. More...
 
- Public Types inherited from UILList< LListBase, T >
typedef T value_type
 Type of values the DLList contains. More...
 
typedef Treference
 Type that can be used for storing into DLList::value_type. More...
 
typedef const Tconst_reference
 Type that can be used for storing into constant. More...
 
typedef label size_type
 The type that can represent the size of a DLList. More...
 
typedef LListBase::iterator LListBase_iterator
 
typedef LListBase::const_iterator LListBase_const_iterator
 
typedef
LListBase::const_reverse_iterator 
LListBase_const_reverse_iterator
 
- Static Public Member Functions inherited from LESModel
static autoPtr< LESModelNew (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport, const word &turbulenceModelName=turbulenceModel::typeName)
 Return a reference to the selected LES model. More...
 
- Static Public Attributes inherited from regIOobject
static const NamedEnum
< fileCheckTypes, 4 > 
fileCheckTypesNames
 
static int fileModificationSkew
 
static fileCheckTypes fileModificationChecking
 
- Static Public Attributes inherited from dictionary
static const dictionary null
 Null dictionary. More...
 
- Static Protected Attributes inherited from regIOobject
static bool masterOnlyReading = false
 To flag master-only reading of objects. More...
 

Detailed Description

SpalartAllmaras DES (SA + LES) turbulence model for incompressible flows.

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.

by using the optional flag ashfordCorrection

Source files

Definition at line 67 of file SpalartAllmaras.H.

Constructor & Destructor Documentation

SpalartAllmaras ( const volVectorField U,
const surfaceScalarField phi,
transportModel transport,
const word turbulenceModelName = turbulenceModel::typeName,
const word modelName = typeName 
)

Construct from components.

Definition at line 178 of file SpalartAllmaras.C.

References Foam::endl(), and Foam::Info.

Here is the call graph for this function:

virtual ~SpalartAllmaras ( )
inlinevirtual

Destructor.

Definition at line 163 of file SpalartAllmaras.H.

Member Function Documentation

tmp< volScalarField > fv1 ( ) const
protectedvirtual

Definition at line 54 of file SpalartAllmaras.C.

References nu, and Foam::pow3().

Here is the call graph for this function:

tmp< volScalarField > fv2 ( ) const
protectedvirtual

Definition at line 61 of file SpalartAllmaras.C.

References nu, and Foam::pow3().

Here is the call graph for this function:

tmp< volScalarField > fv3 ( ) const
protectedvirtual

Definition at line 75 of file SpalartAllmaras.C.

References Foam::dimless, nu, Foam::pow3(), and Foam::sqr().

Here is the call graph for this function:

tmp< volScalarField > S ( const volTensorField gradU) const
protectedvirtual

Reimplemented in SpalartAllmarasDDES.

Definition at line 111 of file SpalartAllmaras.C.

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

Here is the call graph for this function:

tmp< volScalarField > STilda ( const volScalarField S,
const volScalarField dTilda 
) const
protectedvirtual

Definition at line 118 of file SpalartAllmaras.C.

References kappa_, and Foam::sqr().

Here is the call graph for this function:

tmp< volScalarField > r ( const volScalarField visc,
const volScalarField S,
const volScalarField dTilda 
) const
protectedvirtual

Definition at line 128 of file SpalartAllmaras.C.

References kappa_, Foam::max(), Foam::min(), and Foam::sqr().

Here is the call graph for this function:

tmp< volScalarField > fw ( const volScalarField S,
const volScalarField dTilda 
) const
protectedvirtual

Definition at line 157 of file SpalartAllmaras.C.

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

Here is the call graph for this function:

tmp< volScalarField > dTilda ( const volScalarField S) const
protectedvirtual

Length scale.

Reimplemented in SpalartAllmarasIDDES, and SpalartAllmarasDDES.

Definition at line 169 of file SpalartAllmaras.C.

References delta, and Foam::min().

Here is the call graph for this function:

TypeName ( "SpalartAllmaras"  )

Runtime type information.

tmp< volScalarField > k ( ) const
virtual

Return SGS kinetic energy.

Implements turbulenceModel.

Definition at line 361 of file SpalartAllmaras.C.

References Foam::fvc::grad(), Foam::sqr(), and U.

Here is the call graph for this function:

tmp< volScalarField > epsilon ( ) const
virtual

Return sub-grid disipation rate.

Implements turbulenceModel.

Definition at line 367 of file SpalartAllmaras.C.

References Foam::fvc::grad(), Foam::magSqr(), Foam::symm(), and U.

Here is the call graph for this function:

tmp<volScalarField> nuTilda ( ) const
inline

Definition at line 175 of file SpalartAllmaras.H.

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

Referenced by SpalartAllmaras::nuTilda().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual tmp<volScalarField> nuSgs ( ) const
inlinevirtual

Return SGS viscosity.

Implements LESModel.

Definition at line 181 of file SpalartAllmaras.H.

References SpalartAllmaras::nuSgs(), and SpalartAllmaras::nuSgs_.

Referenced by SpalartAllmaras::nuSgs().

Here is the call graph for this function:

Here is the caller graph for this function:

tmp< volSymmTensorField > B ( ) const
virtual

Return the sub-grid stress tensor.

Implements LESModel.

Definition at line 373 of file SpalartAllmaras.C.

References Foam::fvc::grad(), Foam::I(), k, Foam::twoSymm(), and U.

Here is the call graph for this function:

tmp< volSymmTensorField > devReff ( ) const
virtual

Return the effective sub-grid turbulence stress tensor.

including the laminar stress

Implements turbulenceModel.

Definition at line 379 of file SpalartAllmaras.C.

References Foam::dev(), Foam::fvc::grad(), Foam::twoSymm(), and U.

Here is the call graph for this function:

tmp< fvVectorMatrix > divDevReff ( volVectorField U) const
virtual

Return the deviatoric part of the effective sub-grid.

turbulence stress tensor including the laminar stress

Implements turbulenceModel.

Definition at line 385 of file SpalartAllmaras.C.

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

Here is the call graph for this function:

tmp< fvVectorMatrix > divDevRhoReff ( const volScalarField rho,
volVectorField U 
) const
virtual

Return the deviatoric part of the effective sub-grid.

turbulence stress tensor including the laminar stress

Implements turbulenceModel.

Definition at line 396 of file SpalartAllmaras.C.

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

Here is the call graph for this function:

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

Correct nuTilda and related properties.

Reimplemented from LESModel.

Definition at line 321 of file SpalartAllmaras.C.

References Foam::bound(), correct, Foam::fvm::ddt(), Foam::fvm::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), Foam::magSqr(), Foam::max(), nu, phi, Foam::fvm::Sp(), and Foam::sqr().

Here is the call graph for this function:

bool read ( )
virtual

Read LESProperties dictionary.

Reimplemented from LESModel.

Reimplemented in SpalartAllmarasIDDES.

Definition at line 411 of file SpalartAllmaras.C.

References kappa_, and Foam::sqr().

Here is the call graph for this function:

tmp< volScalarField > LESRegion ( ) const
virtual

Return the LES field indicator.

Implements DESModel.

Definition at line 439 of file SpalartAllmaras.C.

References Foam::fvc::grad(), and Foam::neg().

Here is the call graph for this function:

Member Data Documentation

dimensionedScalar sigmaNut_
protected

Definition at line 85 of file SpalartAllmaras.H.

dimensionedScalar kappa_
protected

Definition at line 86 of file SpalartAllmaras.H.

dimensionedScalar Cb1_
protected

Definition at line 91 of file SpalartAllmaras.H.

dimensionedScalar Cb2_
protected

Definition at line 92 of file SpalartAllmaras.H.

dimensionedScalar Cv1_
protected

Definition at line 93 of file SpalartAllmaras.H.

dimensionedScalar Cv2_
protected

Definition at line 94 of file SpalartAllmaras.H.

dimensionedScalar CDES_
protected

Definition at line 95 of file SpalartAllmaras.H.

dimensionedScalar ck_
protected

Definition at line 96 of file SpalartAllmaras.H.

dimensionedScalar Cw1_
protected

Definition at line 97 of file SpalartAllmaras.H.

dimensionedScalar Cw2_
protected

Definition at line 98 of file SpalartAllmaras.H.

dimensionedScalar Cw3_
protected

Definition at line 99 of file SpalartAllmaras.H.

Switch ashfordCorrection_
protected

Optional flag to activate the Ashford correction.

Definition at line 103 of file SpalartAllmaras.H.

wallDist y_
protected

Definition at line 108 of file SpalartAllmaras.H.

volScalarField nuTilda_
protected

Definition at line 109 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::nuTilda().

volScalarField nuSgs_
protected

Definition at line 110 of file SpalartAllmaras.H.

Referenced by SpalartAllmaras::nuSgs().


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