Abstract base class for incompressible turbulence models. More...
#include <incompressibleRASModels/RASModel.H>
Abstract base class for incompressible turbulence models.
Definition at line 68 of file RASModel.H.
Inheritance diagram for incompressible::RASModel:
Collaboration diagram for incompressible::RASModel:Public Member Functions | |
| TypeName ("RASModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, RASModel, dictionary,(const volVectorField &U, const surfaceScalarField &phi, transportModel &lamTransportModel),(U, phi, lamTransportModel)) | |
| RASModel (const word &type, const volVectorField &U, const surfaceScalarField &phi, transportModel &lamTransportModel) | |
| Construct from components. | |
| virtual | ~RASModel () |
| Destructor. | |
| const dimensionedScalar & | k0 () const |
| Return the value of k0 which k is not allowed to be less than. | |
| const dimensionedScalar & | epsilon0 () const |
| Return the value of epsilon0 which epsilon is not allowed to be. | |
| const dimensionedScalar & | epsilonSmall () const |
| Return the value of epsilonSmall which is added to epsilon when. | |
| const dimensionedScalar & | omega0 () const |
| Return the value of omega0 which epsilon is not allowed to be. | |
| const dimensionedScalar & | omegaSmall () const |
| Return the value of omegaSmall which is added to epsilon when. | |
| dimensionedScalar & | k0 () |
| Allow k0 to be changed. | |
| dimensionedScalar & | epsilon0 () |
| Allow epsilon0 to be changed. | |
| dimensionedScalar & | epsilonSmall () |
| Allow epsilonSmall to be changed. | |
| dimensionedScalar & | omega0 () |
| Allow omega0 to be changed. | |
| dimensionedScalar & | omegaSmall () |
| Allow omegaSmall to be changed. | |
| const nearWallDist & | y () const |
| Return the near wall distances. | |
| scalar | yPlusLam (const scalar kappa, const scalar E) const |
| Calculate y+ at the edge of the laminar sublayer. | |
| const dictionary & | coeffDict () const |
| Const access to the coefficients dictionary. | |
| virtual tmp< volScalarField > | nut () const =0 |
| Return the turbulence viscosity. | |
| virtual tmp< volScalarField > | nuEff () const |
| Return the effective viscosity. | |
| virtual tmp< volScalarField > | k () const =0 |
| Return the turbulence kinetic energy. | |
| virtual tmp< volScalarField > | epsilon () const =0 |
| Return the turbulence kinetic energy dissipation rate. | |
| virtual tmp< volSymmTensorField > | R () const =0 |
| Return the Reynolds stress tensor. | |
| virtual tmp< volSymmTensorField > | devReff () const =0 |
| Return the effective stress tensor including the laminar stress. | |
| virtual tmp< fvVectorMatrix > | divDevReff (volVectorField &U) const =0 |
| Return the source term for the momentum equation. | |
| virtual tmp< scalarField > | yPlus (const label patchI, const scalar Cmu) const |
| Return yPlus for the given patch. | |
| virtual void | correct ()=0 |
| Solve the turbulence equations and correct the turbulence viscosity. | |
| virtual bool | read ()=0 |
| Read RASProperties dictionary. | |
Public Member Functions inherited from incompressible::turbulenceModel | |
| TypeName ("turbulenceModel") | |
| Runtime type information. | |
| declareRunTimeNewSelectionTable (autoPtr, turbulenceModel, turbulenceModel,(const volVectorField &U, const surfaceScalarField &phi, transportModel &lamTransportModel),(U, phi, lamTransportModel)) | |
| turbulenceModel (const volVectorField &U, const surfaceScalarField &phi, transportModel &lamTransportModel) | |
| Construct from components. | |
| virtual | ~turbulenceModel () |
| Destructor. | |
| const volVectorField & | U () const |
| Access function to velocity field. | |
| const surfaceScalarField & | phi () const |
| Access function to flux field. | |
| transportModel & | transport () const |
| Access function to incompressible transport model. | |
| const volScalarField & | nu () const |
| Return the laminar viscosity. | |
| virtual tmp< fvVectorMatrix > | divDevReff (volVectorField &U) const =0 |
| Return the source term for the momentum equation. | |
Public Member Functions inherited from IOdictionary | |
| TypeName ("dictionary") | |
| IOdictionary (const IOobject &) | |
| Construct given an IOobject. | |
| IOdictionary (const IOobject &, const dictionary &) | |
| Construct given an IOobject and dictionary. | |
| virtual | ~IOdictionary () |
| const word & | name () const |
| Name function is needed to disambiguate those inherited. | |
| bool | readData (Istream &) |
| ReadData function required for regIOobject read operation. | |
| bool | writeData (Ostream &) const |
| WriteData function required for regIOobject write operation. | |
| virtual bool | write () const |
| Write using setting from DB. | |
| void | operator= (const IOdictionary &) |
| Assignment of other IOdictionary's entries to this IOdictionary. | |
Public Member Functions inherited from regIOobject | |
| TypeName ("regIOobject") | |
| Runtime type information. | |
| regIOobject (const IOobject &, const bool isTime=false) | |
| Construct from IOobject. Optional flag for if IOobject is the. | |
| regIOobject (const regIOobject &) | |
| Construct as copy. | |
| regIOobject (const regIOobject &, bool registerCopy) | |
| Construct as copy, and transferring registry registration to copy. | |
| virtual | ~regIOobject () |
| bool | checkIn () |
| Add object to registry. | |
| bool | checkOut () |
| Remove object from registry. | |
| bool | ownedByRegistry () const |
| Is this object owned by the registry? | |
| void | store () |
| Transfer ownership of this object to its registry. | |
| void | release () |
| Release ownership of this object from its registry. | |
| label | eventNo () const |
| Event number at last update. | |
| label & | eventNo () |
| Event number at last update. | |
| bool | upToDate (const word &) const |
| Am I uptodate with respect to other regIOobjects. | |
| bool | upToDate (const word &, const word &) const |
| bool | upToDate (const word &, const word &, const word &) const |
| bool | upToDate (const word &, const word &, const word &, const word &) const |
| void | setUpToDate () |
| Flag me as up to date. | |
| virtual void | rename (const word &newName) |
| Rename. | |
| Istream & | readStream (const word &) |
| Return Istream and check object type against that given. | |
| void | close () |
| Close Istream. | |
| virtual bool | modified () const |
| Return true if the object's file has been modified. | |
| virtual bool | readIfModified () |
| Read object if modified. | |
| virtual bool | writeObject (IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const |
| Write using given format, version and compression. | |
| void | operator= (const IOobject &) |
Public Member Functions inherited from IOobject | |
| TypeName ("IOobject") | |
| Runtime type information. | |
| IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from name, instance, registry, io options. | |
| IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from name, instance, local, registry, io options. | |
| IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from path, registry, io options. | |
| Foam::autoPtr< IOobject > | clone () const |
| Clone. | |
| virtual | ~IOobject () |
| const Time & | time () const |
| Return time. | |
| const objectRegistry & | db () const |
| Return the local objectRegistry. | |
| const word & | headerClassName () const |
| Return name of the class name read from header. | |
| string & | note () |
| Return non-constant access to the optional note. | |
| const string & | note () const |
| Return the optional note. | |
| bool | registerObject () const |
| Register object created from this IOobject with registry if true. | |
| readOption | readOpt () const |
| readOption & | readOpt () |
| writeOption | writeOpt () const |
| writeOption & | writeOpt () |
| const fileName & | rootPath () const |
| const fileName & | caseName () const |
| const fileName & | instance () const |
| fileName & | instance () |
| const fileName & | local () const |
| fileName | path () const |
| Return complete path. | |
| fileName | path (const word &instance, const fileName &local="") const |
| Return complete path with alternative instance and local. | |
| fileName | objectPath () const |
| Return complete path + object name. | |
| fileName | filePath () const |
| Return complete path + object name if the file exists. | |
| bool | readHeader (Istream &) |
| Read header. | |
| bool | headerOk () |
| Read and check header info. | |
| bool | writeHeader (Ostream &) const |
| Write header. | |
| bool | good () const |
| bool | bad () const |
| InfoProxy< IOobject > | info () const |
| Return info proxy. | |
Public Member Functions inherited from dictionary | |
| ClassName ("dictionary") | |
| dictionary () | |
| Construct top-level dictionary null. | |
| dictionary (const fileName &name) | |
| Construct top-level empty dictionary with given name. | |
| dictionary (const fileName &name, const dictionary &parentDict, Istream &) | |
| Construct given the entry name, parent dictionary and Istream,. | |
| dictionary (Istream &) | |
| Construct top-level dictionary from Istream, reading entries. | |
| dictionary (const dictionary &parentDict, const dictionary &) | |
| Construct as copy given the parent dictionary. | |
| dictionary (const dictionary &) | |
| Construct top-level dictionary as copy. | |
| dictionary (const dictionary *) | |
| Construct top-level dictionary as copy from pointer to dictionary. | |
| dictionary (const dictionary &parentDict, const Xfer< dictionary > &) | |
| Construct by transferring parameter contents given parent dictionary. | |
| dictionary (const Xfer< dictionary > &) | |
| Construct top-level dictionary by transferring parameter contents. | |
| autoPtr< dictionary > | clone () const |
| Construct and return clone. | |
| ~dictionary () | |
| const dictionary & | parent () const |
| Return the parent dictionary. | |
| label | startLineNumber () const |
| Return line number of first token in dictionary. | |
| label | endLineNumber () const |
| Return line number of last token in dictionary. | |
| SHA1Digest | digest () const |
| Return the SHA1 digest of the dictionary contents. | |
| bool | found (const word &, bool recursive=false) const |
| Search dictionary for given keyword. | |
| const entry * | lookupEntryPtr (const word &, bool recursive, bool patternMatch) const |
| Find and return an entry data stream pointer if present. | |
| entry * | lookupEntryPtr (const word &, bool recursive, bool patternMatch) |
| Find and return an entry data stream pointer for manipulation. | |
| const entry & | lookupEntry (const word &, bool recursive, bool patternMatch) const |
| Find and return an entry data stream if present otherwise error. | |
| ITstream & | lookup (const word &, bool recursive=false, bool patternMatch=true) const |
| Find and return an entry data stream. | |
| template<class T > | |
| T | lookupOrDefault (const word &, const T &, bool recursive=false, bool patternMatch=true) const |
| Find and return a T,. | |
| 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. | |
| template<class T > | |
| bool | readIfPresent (const word &, T &, bool recursive=false, bool patternMatch=true) const |
| Find an entry if present, and assign to T. | |
| bool | isDict (const word &) const |
| Check if entry is a sub-dictionary. | |
| const dictionary * | subDictPtr (const word &) const |
| Find and return a sub-dictionary pointer if present. | |
| const dictionary & | subDict (const word &) const |
| Find and return a sub-dictionary. | |
| dictionary & | subDict (const word &) |
| Find and return a sub-dictionary for manipulation. | |
| dictionary | subOrEmptyDict (const word &) const |
| Find and return a sub-dictionary as a copy, or. | |
| wordList | toc () const |
| Return the table of contents. | |
| List< keyType > | keys (bool patterns=false) const |
| Return the list of available keys or patterns. | |
| bool | substituteKeyword (const word &keyword) |
| Substitute the given keyword prepended by '$' with the. | |
| bool | add (entry *, bool mergeEntry=false) |
| Add a new entry. | |
| void | add (const entry &, bool mergeEntry=false) |
| Add an entry. | |
| void | add (const keyType &, const word &, bool overwrite=false) |
| Add a word entry. | |
| void | add (const keyType &, const string &, bool overwrite=false) |
| Add a string entry. | |
| void | add (const keyType &, const label, bool overwrite=false) |
| Add a label entry. | |
| void | add (const keyType &, const scalar, bool overwrite=false) |
| Add a scalar entry. | |
| void | add (const keyType &, const dictionary &, bool mergeEntry=false) |
| Add a dictionary entry. | |
| template<class T > | |
| void | add (const keyType &, const T &, bool overwrite=false) |
| Add a T entry. | |
| void | set (entry *) |
| Assign a new entry, overwrite any existing entry. | |
| void | set (const entry &) |
| Assign a new entry, overwrite any existing entry. | |
| void | set (const keyType &, const dictionary &) |
| Assign a dictionary entry, overwrite any existing entry. | |
| template<class T > | |
| void | set (const keyType &, const T &) |
| Assign a T entry, overwrite any existing entry. | |
| bool | remove (const word &) |
| Remove an entry specified by keyword. | |
| bool | changeKeyword (const keyType &oldKeyword, const keyType &newKeyword, bool forceOverwrite=false) |
| Change the keyword for an entry,. | |
| bool | merge (const dictionary &) |
| Merge entries from the given dictionary. | |
| void | clear () |
| Clear the dictionary. | |
| void | transfer (dictionary &) |
| Transfer the contents of the argument and annul the argument. | |
| Xfer< dictionary > | xfer () |
| Transfer contents to the Xfer container. | |
| bool | read (Istream &) |
| Read dictionary from Istream. | |
| void | write (Ostream &, bool subDict=true) const |
| ITstream & | operator[] (const word &) const |
| Find and return entry. | |
| void | operator= (const dictionary &) |
| void | operator+= (const dictionary &) |
| Include entries from the given dictionary. | |
| void | operator|= (const dictionary &) |
| Conditionally include entries from the given dictionary. | |
| void | operator<<= (const dictionary &) |
| Unconditionally include entries from the given dictionary. | |
Public Member Functions inherited from dictionaryName | |
| dictionaryName () | |
| Construct dictionaryName null. | |
| dictionaryName (const fileName &name) | |
| Construct dictionaryName as copy of the given fileName. | |
| fileName & | name () |
| Return the dictionary name. | |
Public Member Functions inherited from IDLList< entry > | |
| IDLList () | |
| Null construct. | |
| IDLList (const entry &a) | |
| Construct given initial T. | |
| IDLList (Istream &is, const INew &inewt) | |
| Construct from Istream using given Istream constructor class. | |
| IDLList (Istream &is) | |
| Construct from Istream. | |
| IDLList (const IDLList< entry > &idll, const CloneArg &cloneArg) | |
| Copy constructor with additional argument for clone. | |
Public Member Functions inherited from ILList< DLListBase, entry > | |
| ILList () | |
| Null construct. | |
| ILList (entry *a) | |
| Construct given initial T. | |
| ILList (Istream &) | |
| Construct from Istream. | |
| ILList (const ILList< DLListBase, entry > &) | |
| Construct as copy. | |
| ILList (const ILList< DLListBase, entry > &lst, const CloneArg &cloneArg) | |
| Copy constructor with additional argument for clone. | |
| ILList (Istream &, const INew &) | |
| Construct from Istream using given Istream constructor class. | |
| ~ILList () | |
| bool | eraseHead () |
| Remove the head element specified from the list and delete it. | |
| bool | erase (entry *p) |
| Remove the specified element from the list and delete it. | |
| void | transfer (ILList< DLListBase, entry > &) |
| Transfer the contents of the argument into this List. | |
| void | operator= (const ILList< DLListBase, entry > &) |
Public Member Functions inherited from UILList< DLListBase, entry > | |
| UILList () | |
| Null construct. | |
| UILList (entry *a) | |
| Construct given initial T. | |
| UILList (const UILList< DLListBase, entry > &) | |
| Construct as copy. | |
| entry * | first () |
| Return the first entry. | |
| const entry * | first () const |
| Return the first entry. | |
| entry * | last () |
| Return the last entry. | |
| const entry * | last () const |
| Return the last entry. | |
| entry * | removeHead () |
| Remove and return head. | |
| entry * | remove (entry *p) |
| Remove and return element. | |
| entry * | remove (iterator &it) |
| Remove and return specified by iterator. | |
| void | operator= (const UILList< DLListBase, entry > &) |
| bool | operator== (const UILList< DLListBase, entry > &) const |
| Equality operation on ULists of the same type. | |
| bool | operator!= (const UILList< DLListBase, entry > &) const |
| The opposite of the equality operation. Takes linear time. | |
Public Member Functions inherited from DLListBase | |
| DLListBase () | |
| Null construct. | |
| DLListBase (link *) | |
| Construct given initial entry. | |
| ~DLListBase () | |
| label | size () const |
| Return number of elements in list. | |
| bool | empty () const |
| Return true if the list is empty. | |
| void | insert (link *) |
| Add at head of list. | |
| void | append (link *) |
| Add at tail of list. | |
| bool | swapUp (link *) |
| Swap this element with the one above unless it is at the top. | |
| bool | swapDown (link *) |
| Swap this element with the one below unless it is at the bottom. | |
| link * | remove (link *) |
| Remove and return element. | |
| link * | replace (link *oldLink, link *newLink) |
| Replace oldLink with newLink and return element. | |
| link * | replace (iterator &oldIter, link *newLink) |
| Replace oldIter with newLink and return element. | |
| void | transfer (DLListBase &) |
| Transfer the contents of the argument into this List. | |
| iterator | begin () |
| const iterator & | end () |
| const_iterator | cbegin () const |
| const const_iterator & | cend () const |
| const_iterator | begin () const |
| const const_iterator & | end () const |
Static Public Member Functions | |
| static autoPtr< RASModel > | New (const volVectorField &U, const surfaceScalarField &phi, transportModel &lamTransportModel) |
| Return a reference to the selected RAS model. | |
Static Public Member Functions inherited from incompressible::turbulenceModel | |
| static autoPtr< turbulenceModel > | New (const volVectorField &U, const surfaceScalarField &phi, transportModel &lamTransportModel) |
| Return a reference to the selected turbulence model. | |
Protected Member Functions | |
| virtual void | printCoeffs () |
| Print model coefficients. | |
Protected Attributes | |
| Switch | turbulence_ |
| Turbulence on/off flag. | |
| Switch | printCoeffs_ |
| Flag to print the model coeffs at run-time. | |
| dictionary | coeffDict_ |
| Model coefficients dictionary. | |
| dimensionedScalar | k0_ |
| Lower limit of k. | |
| dimensionedScalar | epsilon0_ |
| Lower limit of epsilon. | |
| dimensionedScalar | epsilonSmall_ |
| Small epsilon value used to avoid divide by zero. | |
| dimensionedScalar | omega0_ |
| Lower limit for omega. | |
| dimensionedScalar | omegaSmall_ |
| Small omega value used to avoid divide by zero. | |
| nearWallDist | y_ |
| Near wall distance boundary field. | |
Protected Attributes inherited from incompressible::turbulenceModel | |
| const Time & | runTime_ |
| const fvMesh & | mesh_ |
| const volVectorField & | U_ |
| const surfaceScalarField & | phi_ |
| transportModel & | transportModel_ |
| RASModel | ( | const word & | type, |
| const volVectorField & | U, | ||
| const surfaceScalarField & | phi, | ||
| transportModel & | lamTransportModel | ||
| ) |
Construct from components.
Definition at line 57 of file RASModel.C.
References dictionary::readIfPresent().
|
inlinevirtual |
Destructor.
Definition at line 169 of file RASModel.H.
|
protectedvirtual |
Print model coefficients.
Definition at line 45 of file RASModel.C.
References Foam::endl(), Foam::Info, and Foam::type().
| TypeName | ( | "RASModel" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| RASModel | , | ||
| dictionary | , | ||
| (const volVectorField &U, const surfaceScalarField &phi, transportModel &lamTransportModel) | , | ||
| (U, phi, lamTransportModel) | |||
| ) |
|
static |
Return a reference to the selected RAS model.
Definition at line 105 of file RASModel.C.
References TimePaths::constant(), IOobject::db(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), IOobject::MUST_READ, IOobject::NO_WRITE, phi, IOobject::time(), and U.
|
inline |
Return the value of k0 which k is not allowed to be less than.
Definition at line 178 of file RASModel.H.
References incompressible::RASModel::k0_.
|
inline |
Return the value of epsilon0 which epsilon is not allowed to be.
less than
Definition at line 185 of file RASModel.H.
References incompressible::RASModel::epsilon0_.
|
inline |
Return the value of epsilonSmall which is added to epsilon when.
calculating nut
Definition at line 192 of file RASModel.H.
References incompressible::RASModel::epsilonSmall_.
|
inline |
Return the value of omega0 which epsilon is not allowed to be.
less than
Definition at line 199 of file RASModel.H.
References incompressible::RASModel::omega0_.
|
inline |
Return the value of omegaSmall which is added to epsilon when.
calculating nut
Definition at line 206 of file RASModel.H.
References incompressible::RASModel::omegaSmall_.
|
inline |
Allow k0 to be changed.
Definition at line 212 of file RASModel.H.
References incompressible::RASModel::k0_.
|
inline |
Allow epsilon0 to be changed.
Definition at line 218 of file RASModel.H.
References incompressible::RASModel::epsilon0_.
|
inline |
Allow epsilonSmall to be changed.
Definition at line 224 of file RASModel.H.
References incompressible::RASModel::epsilonSmall_.
|
inline |
Allow omega0 to be changed.
Definition at line 230 of file RASModel.H.
References incompressible::RASModel::omega0_.
|
inline |
Allow omegaSmall to be changed.
Definition at line 236 of file RASModel.H.
References incompressible::RASModel::omegaSmall_.
|
inline |
Return the near wall distances.
Definition at line 242 of file RASModel.H.
References incompressible::RASModel::y_.
| scalar yPlusLam | ( | const scalar | kappa, |
| const scalar | E | ||
| ) | const |
Calculate y+ at the edge of the laminar sublayer.
Definition at line 157 of file RASModel.C.
References kappa(), Foam::log(), and Foam::max().
|
inline |
Const access to the coefficients dictionary.
Definition at line 251 of file RASModel.H.
References incompressible::RASModel::coeffDict_.
Referenced by LamBremhorstKE::read(), kEpsilon::read(), LienLeschzinerLowRe::read(), LienCubicKE::read(), RNGkEpsilon::read(), NonlinearKEShih::read(), LaunderSharmaKE::read(), qZeta::read(), LRR::read(), realizableKE::read(), SpalartAllmaras::read(), LaunderGibsonRSTM::read(), LienCubicKELowRe::read(), kOmega::read(), kOmegaSST::read(), incompressible::turbulentMixingLengthDissipationRateInletFvPatchScalarField::updateCoeffs(), and incompressible::turbulentMixingLengthFrequencyInletFvPatchScalarField::updateCoeffs().
|
pure virtual |
Return the turbulence viscosity.
Implements incompressible::turbulenceModel.
Implemented in kOmegaSST, SpalartAllmaras, LienCubicKELowRe, LaunderGibsonRSTM, realizableKE, LRR, kOmega, LaunderSharmaKE, NonlinearKEShih, RNGkEpsilon, LienCubicKE, LienLeschzinerLowRe, qZeta, kEpsilon, LamBremhorstKE, and laminar.
Referenced by incompressible::RASModel::nuEff().
|
inlinevirtual |
Return the effective viscosity.
Implements incompressible::turbulenceModel.
Reimplemented in laminar.
Definition at line 261 of file RASModel.H.
References nu, and incompressible::RASModel::nut().
Referenced by LamBremhorstKE::devReff(), kEpsilon::devReff(), LienLeschzinerLowRe::devReff(), LienCubicKE::devReff(), RNGkEpsilon::devReff(), NonlinearKEShih::devReff(), LaunderSharmaKE::devReff(), qZeta::devReff(), realizableKE::devReff(), SpalartAllmaras::devReff(), LienCubicKELowRe::devReff(), kOmega::devReff(), kOmegaSST::devReff(), LamBremhorstKE::divDevReff(), kEpsilon::divDevReff(), LienLeschzinerLowRe::divDevReff(), LienCubicKE::divDevReff(), RNGkEpsilon::divDevReff(), NonlinearKEShih::divDevReff(), LaunderSharmaKE::divDevReff(), qZeta::divDevReff(), LRR::divDevReff(), realizableKE::divDevReff(), LaunderGibsonRSTM::divDevReff(), SpalartAllmaras::divDevReff(), LienCubicKELowRe::divDevReff(), kOmega::divDevReff(), kOmegaSST::divDevReff(), and incompressible::fixedShearStressFvPatchVectorField::updateCoeffs().
|
pure virtual |
Return the turbulence kinetic energy.
Implements incompressible::turbulenceModel.
Implemented in kOmegaSST, SpalartAllmaras, LienCubicKELowRe, LaunderGibsonRSTM, realizableKE, LRR, kOmega, LaunderSharmaKE, NonlinearKEShih, RNGkEpsilon, LienCubicKE, LienLeschzinerLowRe, qZeta, kEpsilon, LamBremhorstKE, and laminar.
|
pure virtual |
Return the turbulence kinetic energy dissipation rate.
Implements incompressible::turbulenceModel.
Implemented in kOmegaSST, LienCubicKELowRe, SpalartAllmaras, LaunderGibsonRSTM, realizableKE, kOmega, LRR, LaunderSharmaKE, NonlinearKEShih, RNGkEpsilon, LienCubicKE, LienLeschzinerLowRe, qZeta, kEpsilon, LamBremhorstKE, and laminar.
|
pure virtual |
Return the Reynolds stress tensor.
Implements incompressible::turbulenceModel.
Implemented in kOmegaSST, kOmega, LienCubicKELowRe, SpalartAllmaras, LaunderGibsonRSTM, realizableKE, LRR, LaunderSharmaKE, NonlinearKEShih, RNGkEpsilon, LienCubicKE, LienLeschzinerLowRe, qZeta, kEpsilon, LamBremhorstKE, and laminar.
|
pure virtual |
Return the effective stress tensor including the laminar stress.
Implements incompressible::turbulenceModel.
Implemented in kOmegaSST, kOmega, LienCubicKELowRe, LaunderGibsonRSTM, SpalartAllmaras, realizableKE, LRR, qZeta, LaunderSharmaKE, NonlinearKEShih, RNGkEpsilon, LienCubicKE, LienLeschzinerLowRe, kEpsilon, LamBremhorstKE, and laminar.
Referenced by incompressible::fixedShearStressFvPatchVectorField::updateCoeffs().
|
pure virtual |
Return the source term for the momentum equation.
Implemented in kOmegaSST, kOmega, LienCubicKELowRe, LaunderGibsonRSTM, SpalartAllmaras, realizableKE, LRR, qZeta, LaunderSharmaKE, NonlinearKEShih, RNGkEpsilon, LienCubicKE, LienLeschzinerLowRe, kEpsilon, LamBremhorstKE, and laminar.
|
virtual |
Return yPlus for the given patch.
Definition at line 170 of file RASModel.C.
References boundaryField(), Foam::endl(), k(), Foam::nl, nu, Foam::pow(), List< T >::setSize(), fvPatch::size(), Foam::sqrt(), and WarningIn.
|
pure virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements incompressible::turbulenceModel.
Implemented in kOmegaSST, kOmega, LienCubicKELowRe, LaunderGibsonRSTM, SpalartAllmaras, realizableKE, LRR, qZeta, LaunderSharmaKE, NonlinearKEShih, RNGkEpsilon, LienCubicKE, LienLeschzinerLowRe, kEpsilon, LamBremhorstKE, and laminar.
Definition at line 199 of file RASModel.C.
References correct().
|
pure virtual |
Read RASProperties dictionary.
Implements incompressible::turbulenceModel.
Implemented in kOmegaSST, kOmega, LienCubicKELowRe, LaunderGibsonRSTM, SpalartAllmaras, realizableKE, LRR, qZeta, LaunderSharmaKE, NonlinearKEShih, RNGkEpsilon, LienCubicKE, LienLeschzinerLowRe, kEpsilon, LamBremhorstKE, and laminar.
Definition at line 210 of file RASModel.C.
References regIOobject::read(), and Foam::type().
|
protected |
Turbulence on/off flag.
Definition at line 79 of file RASModel.H.
Referenced by LamBremhorstKE::correct(), kEpsilon::correct(), LienLeschzinerLowRe::correct(), LienCubicKE::correct(), RNGkEpsilon::correct(), NonlinearKEShih::correct(), LaunderSharmaKE::correct(), qZeta::correct(), LRR::correct(), realizableKE::correct(), LaunderGibsonRSTM::correct(), SpalartAllmaras::correct(), LienCubicKELowRe::correct(), kOmega::correct(), and kOmegaSST::correct().
|
protected |
Flag to print the model coeffs at run-time.
Definition at line 82 of file RASModel.H.
|
protected |
Model coefficients dictionary.
Definition at line 85 of file RASModel.H.
Referenced by incompressible::RASModel::coeffDict().
|
protected |
Lower limit of k.
Definition at line 88 of file RASModel.H.
Referenced by LamBremhorstKE::correct(), kEpsilon::correct(), LienLeschzinerLowRe::correct(), LienCubicKE::correct(), RNGkEpsilon::correct(), NonlinearKEShih::correct(), LaunderSharmaKE::correct(), qZeta::correct(), LRR::correct(), realizableKE::correct(), LaunderGibsonRSTM::correct(), LienCubicKELowRe::correct(), kOmega::correct(), kOmegaSST::correct(), and incompressible::RASModel::k0().
|
protected |
Lower limit of epsilon.
Definition at line 91 of file RASModel.H.
Referenced by LamBremhorstKE::correct(), kEpsilon::correct(), LienLeschzinerLowRe::correct(), LienCubicKE::correct(), RNGkEpsilon::correct(), NonlinearKEShih::correct(), LaunderSharmaKE::correct(), qZeta::correct(), LRR::correct(), realizableKE::correct(), LaunderGibsonRSTM::correct(), LienCubicKELowRe::correct(), and incompressible::RASModel::epsilon0().
|
protected |
Small epsilon value used to avoid divide by zero.
Definition at line 94 of file RASModel.H.
Referenced by incompressible::RASModel::epsilonSmall().
|
protected |
Lower limit for omega.
Definition at line 97 of file RASModel.H.
Referenced by kOmega::correct(), kOmegaSST::correct(), and incompressible::RASModel::omega0().
|
protected |
Small omega value used to avoid divide by zero.
Definition at line 100 of file RASModel.H.
Referenced by kOmega::correct(), and incompressible::RASModel::omegaSmall().
|
protected |
Near wall distance boundary field.
Definition at line 103 of file RASModel.H.
Referenced by incompressible::RASModel::y().