Foam::hRhoMixtureThermo. More...
#include <reactionThermophysicalModels/hRhoMixtureThermo.H>
Definition at line 50 of file hRhoMixtureThermo.H.
Public Member Functions | |
TypeName ("hRhoMixtureThermo") | |
Runtime type information. | |
hRhoMixtureThermo (const fvMesh &) | |
Construct from mesh. | |
virtual | ~hRhoMixtureThermo () |
Destructor. | |
virtual basicMultiComponentMixture & | composition () |
Return the compostion of the multi-component mixture. | |
virtual const basicMultiComponentMixture & | composition () const |
Return the compostion of the multi-component mixture. | |
virtual void | correct () |
Update properties. | |
virtual tmp< volScalarField > | hc () const |
Chemical enthalpy [J/kg]. | |
virtual tmp< scalarField > | h (const scalarField &T, const labelList &cells) const |
Enthalpy for cell-set [J/kg]. | |
virtual tmp< scalarField > | h (const scalarField &T, const label patchi) const |
Enthalpy for patch [J/kg]. | |
virtual tmp< scalarField > | Cp (const scalarField &T, const label patchi) const |
Heat capacity at constant pressure for patch [J/kg/K]. | |
virtual tmp< volScalarField > | Cp () const |
Heat capacity at constant pressure [J/kg/K]. | |
virtual bool | read () |
Read thermophysicalProperties dictionary. | |
![]() | |
TypeName ("hReactionThermo") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, hReactionThermo, fvMesh,(const fvMesh &mesh),(mesh)) | |
Declare run-time constructor selection tables. | |
hReactionThermo (const fvMesh &) | |
Construct from dictionary and mesh. | |
virtual | ~hReactionThermo () |
Destructor. | |
virtual volScalarField & | h () |
Enthalpy [J/kg]. | |
virtual const volScalarField & | h () const |
Enthalpy [J/kg]. | |
![]() | |
TypeName ("basicRhoThermo") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, basicRhoThermo, fvMesh,(const fvMesh &mesh),(mesh)) | |
Declare run-time constructor selection table. | |
basicRhoThermo (const fvMesh &) | |
Construct from mesh. | |
virtual | ~basicRhoThermo () |
Destructor. | |
virtual tmp< volScalarField > | rho () const |
Density [kg/m^3]. | |
virtual volScalarField & | rho () |
Return non-const access to the local density field [kg/m^3]. | |
![]() | |
TypeName ("basicThermo") | |
Runtime type information. | |
basicThermo (const fvMesh &) | |
Construct from mesh. | |
virtual | ~basicThermo () |
Destructor. | |
virtual volScalarField & | p () |
Pressure [Pa]. | |
virtual const volScalarField & | p () const |
Pressure [Pa]. | |
virtual const volScalarField & | psi () const |
Compressibility [s^2/m^2]. | |
virtual volScalarField & | hs () |
Sensible enthalpy [J/kg]. | |
virtual const volScalarField & | hs () const |
Sensible enthalpy [J/kg]. | |
virtual tmp< scalarField > | hs (const scalarField &T, const labelList &cells) const |
Sensible enthalpy for cell-set [J/kg]. | |
virtual tmp< scalarField > | hs (const scalarField &T, const label patchi) const |
Sensible enthalpy for patch [J/kg]. | |
virtual volScalarField & | e () |
Internal energy [J/kg]. | |
virtual const volScalarField & | e () const |
Internal energy [J/kg]. | |
virtual tmp< scalarField > | e (const scalarField &T, const labelList &cells) const |
Internal energy for cell-set [J/kg]. | |
virtual tmp< scalarField > | e (const scalarField &T, const label patchi) const |
Internal energy for patch [J/kg]. | |
virtual const volScalarField & | T () const |
Temperature [K]. | |
virtual tmp< scalarField > | Cv (const scalarField &T, const label patchi) const |
Heat capacity at constant volume for patch [J/kg/K]. | |
virtual tmp< volScalarField > | Cv () const |
Heat capacity at constant volume [J/kg/K]. | |
virtual const volScalarField & | mu () const |
Dynamic viscosity of mixture [kg/m/s]. | |
virtual const volScalarField & | alpha () const |
Thermal diffusivity for enthalpy of mixture [kg/m/s]. | |
![]() | |
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. | |
![]() | |
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 &) |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
dictionaryName () | |
Construct dictionaryName null. | |
dictionaryName (const fileName &name) | |
Construct dictionaryName as copy of the given fileName. | |
fileName & | name () |
Return the dictionary name. | |
![]() | |
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. | |
![]() | |
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 > &) |
![]() | |
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. | |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static autoPtr< hReactionThermo > | New (const fvMesh &) |
Standard selection based on fvMesh. | |
static autoPtr< hReactionThermo > | NewType (const fvMesh &, const word &thermoType) |
Select and check that package contains 'thermoType'. | |
![]() | |
volScalarField | h_ |
Enthalpy field. | |
![]() | |
volScalarField | rho_ |
Density field [kg/m^3]. | |
![]() | |
volScalarField | p_ |
Pressure [Pa]. | |
volScalarField | psi_ |
Compressibility [s^2/m^2]. | |
volScalarField | T_ |
Temperature [K]. | |
volScalarField | mu_ |
Laminar dynamic viscosity [kg/m/s]. | |
volScalarField | alpha_ |
Laminar thermal diffusuvity [kg/m/s]. |
hRhoMixtureThermo | ( | const fvMesh & | mesh | ) |
Construct from mesh.
Definition at line 106 of file hRhoMixtureThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, hReactionThermo::h(), hReactionThermo::h_, basicThermo::hBoundaryCorrection(), GeometricField< Type, PatchField, GeoMesh >::internalField(), patchi, and basicThermo::T_.
|
virtual |
Destructor.
Definition at line 133 of file hRhoMixtureThermo.C.
TypeName | ( | "hRhoMixtureThermo< MixtureType >" | ) |
Runtime type information.
|
inlinevirtual |
Return the compostion of the multi-component mixture.
Implements hReactionThermo.
Definition at line 82 of file hRhoMixtureThermo.H.
|
inlinevirtual |
Return the compostion of the multi-component mixture.
Implements hReactionThermo.
Definition at line 88 of file hRhoMixtureThermo.H.
|
virtual |
Update properties.
Implements hReactionThermo.
Definition at line 140 of file hRhoMixtureThermo.C.
References Foam::endl(), and Foam::Info.
|
virtual |
Chemical enthalpy [J/kg].
Reimplemented from basicThermo.
Definition at line 158 of file hRhoMixtureThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, IOobject::NO_READ, IOobject::NO_WRITE, patchi, fvMesh::time(), and Time::timeName().
|
virtual |
Enthalpy for cell-set [J/kg].
Reimplemented from basicThermo.
Definition at line 204 of file hRhoMixtureThermo.C.
References forAll, h, and List< T >::size().
|
virtual |
Enthalpy for patch [J/kg].
Reimplemented from basicThermo.
Definition at line 224 of file hRhoMixtureThermo.C.
References forAll, h, and List< T >::size().
|
virtual |
Heat capacity at constant pressure for patch [J/kg/K].
Reimplemented from basicThermo.
Definition at line 244 of file hRhoMixtureThermo.C.
References Foam::cp(), forAll, and List< T >::size().
|
virtual |
Heat capacity at constant pressure [J/kg/K].
Reimplemented from basicThermo.
Definition at line 264 of file hRhoMixtureThermo.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::cp(), forAll, GeometricField< Type, PatchField, GeoMesh >::internalField(), mesh, IOobject::NO_READ, IOobject::NO_WRITE, patchi, fvMesh::time(), and Time::timeName().
|
virtual |
Read thermophysicalProperties dictionary.
Reimplemented from basicThermo.
Definition at line 305 of file hRhoMixtureThermo.C.
References basicThermo::read().