Foam::reactingMixture. More...
Public Types | |
typedef ThermoType | thermoType |
The type of thermo package this mixture is instantiated for. More... | |
![]() | |
typedef SubList< T > | subList |
Declare type of subList. More... | |
![]() | |
typedef ThermoType | thermoType |
The type of thermodynamics this mixture is instantiated for. More... | |
![]() | |
typedef basicSpecieMixture | basicMixtureType |
The base class of the mixture. More... | |
![]() | |
typedef basicMultiComponentMixture | basicMixtureType |
The base class of the mixture. More... | |
![]() | |
typedef T | value_type |
Type of values the PtrList contains. More... | |
typedef T & | reference |
Type that can be used for storing into PtrList::value_type objects. More... | |
Public Member Functions | |
reactingMixture (const dictionary &, const fvMesh &, const word &) | |
Construct from dictionary, mesh and phase name. More... | |
virtual | ~reactingMixture () |
Destructor. More... | |
void | read (const dictionary &) |
Read dictionary. More... | |
label | size () const |
Reaction< ThermoType > & | operator[] (const label i) |
const Reaction< ThermoType > & | operator[] (const label i) const |
![]() | |
hashedWordList () | |
Construct null. More... | |
hashedWordList (const hashedWordList &) | |
Copy constructor. More... | |
hashedWordList (const UList< word > &names) | |
Construct from list of names. More... | |
hashedWordList (const Xfer< List< word > > &names) | |
Construct by transferring the parameter contents. More... | |
hashedWordList (const label nNames, const char **names) | |
Construct from number and list of names. More... | |
hashedWordList (const char **names) | |
Construct from a NULL-terminated list of names. More... | |
hashedWordList (Istream &) | |
Construct from Istream. More... | |
void | clear () |
Clear the list, i.e. set size to zero. More... | |
void | append (const word &) |
Append an element at the end of the list. More... | |
bool | contains (const word &) const |
Does the list contain the specified name. More... | |
void | transfer (List< word > &) |
Transfer the contents of the argument List into this list. More... | |
void | operator= (const UList< word > &names) |
Assignment operator from list of names. More... | |
void | operator= (const hashedWordList &) |
Assignment operator. More... | |
const word & | operator[] (const label index) const |
Return name corresponding to specified index. More... | |
label | operator[] (const word &) const |
Return index corresponding to specified name. More... | |
![]() | |
label | size () const |
Return the number of elements in the UList. More... | |
List () | |
Null constructor. More... | |
List (const label) | |
Construct with given size. More... | |
List (const label, const T &) | |
Construct with given size and value for all elements. More... | |
List (const List< T > &) | |
Copy constructor. More... | |
List (const Xfer< List< T > > &) | |
Construct by transferring the parameter contents. More... | |
List (List< T > &, bool reUse) | |
Construct as copy or re-use as specified. More... | |
List (const UList< T > &, const labelUList &mapAddressing) | |
Construct as subset. More... | |
List (InputIterator first, InputIterator last) | |
Construct given start and end iterators. More... | |
List (const FixedList< T, Size > &) | |
Construct as copy of FixedList<T, Size> More... | |
List (const PtrList< T > &) | |
Construct as copy of PtrList<T> More... | |
List (const SLList< T > &) | |
Construct as copy of SLList<T> More... | |
List (const UIndirectList< T > &) | |
Construct as copy of UIndirectList<T> More... | |
List (const BiIndirectList< T > &) | |
Construct as copy of BiIndirectList<T> More... | |
List (Istream &) | |
Construct from Istream. More... | |
List (const label s) | |
List (const label s, const T &a) | |
List (const List< T > &a) | |
List (const Xfer< List< T > > &lst) | |
List (List< T > &a, bool reUse) | |
List (const UList< T > &a, const labelUList &map) | |
List (const PtrList< T > &lst) | |
List (const SLList< T > &lst) | |
List (const UIndirectList< T > &lst) | |
List (const BiIndirectList< T > &lst) | |
List () | |
List (Istream &is) | |
autoPtr< List< T > > | clone () const |
Clone. More... | |
~List () | |
Destructor. More... | |
void | resize (const label) |
Alias for setSize(const label) More... | |
void | resize (const label, const T &) |
Alias for setSize(const label, const T&) More... | |
void | setSize (const label) |
Reset size of List. More... | |
void | setSize (const label, const T &) |
Reset size of List and value for new elements. More... | |
void | clear () |
Clear the list, i.e. set size to zero. More... | |
void | append (const T &) |
Append an element at the end of the list. More... | |
void | append (const UList< T > &) |
Append a List at the end of this list. More... | |
void | append (const UIndirectList< T > &) |
Append a UIndirectList at the end of this list. More... | |
void | transfer (List< T > &) |
Transfer the contents of the argument List into this list. More... | |
void | transfer (DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Transfer the contents of the argument List into this list. More... | |
void | transfer (SortableList< T > &) |
Transfer the contents of the argument List into this list. More... | |
void | transfer (List< T > &a) |
void | transfer (SortableList< T > &a) |
Xfer< List< T > > | xfer () |
Transfer contents to the Xfer container. More... | |
T & | newElmt (const label) |
Return subscript-checked element of UList. More... | |
void | operator= (const UList< T > &) |
Assignment from UList operator. Takes linear time. More... | |
void | operator= (const List< T > &) |
Assignment operator. Takes linear time. More... | |
void | operator= (const SLList< T > &) |
Assignment from SLList operator. Takes linear time. More... | |
void | operator= (const UIndirectList< T > &) |
Assignment from UIndirectList operator. Takes linear time. More... | |
void | operator= (const BiIndirectList< T > &) |
Assignment from BiIndirectList operator. Takes linear time. More... | |
void | operator= (const T &) |
Assignment of all entries to the given value. More... | |
![]() | |
autoPtr (T *=0) | |
Store object pointer. More... | |
autoPtr (const autoPtr< T > &) | |
Construct as copy by transferring pointer to this autoPtr and. More... | |
autoPtr (const autoPtr< T > &, const bool reUse) | |
Construct either by transferring pointer or cloning. Should. More... | |
~autoPtr () | |
Destructor, delete object if pointer is not NULL. More... | |
bool | empty () const |
Return true if the autoPtr is empty (ie, no pointer set). More... | |
bool | valid () const |
Return true if the autoPtr valid (ie, the pointer is set). More... | |
T * | ptr () |
Return object pointer for reuse. More... | |
void | set (T *) |
Set pointer to that given. More... | |
void | reset (T *=0) |
If object pointer already set, delete object and set to given. More... | |
void | clear () |
Delete object (if the pointer is valid) and set pointer to NULL. More... | |
T & | operator() () |
Return reference to the object data. More... | |
const T & | operator() () const |
Return const reference to the object data. More... | |
operator const T & () const | |
Const cast to the underlying type reference. More... | |
T * | operator-> () |
Return object pointer. More... | |
const T * | operator-> () const |
Return const object pointer. More... | |
void | operator= (const autoPtr< T > &) |
Take over the object pointer from parameter. More... | |
![]() | |
multiComponentMixture (const dictionary &, const wordList &specieNames, const HashPtrTable< ThermoType > &thermoData, const fvMesh &, const word &) | |
Construct from dictionary, specie names, thermo database,. More... | |
multiComponentMixture (const dictionary &, const fvMesh &, const word &) | |
Construct from dictionary, mesh and phase name. More... | |
virtual | ~multiComponentMixture () |
Destructor. More... | |
const ThermoType & | cellMixture (const label celli) const |
const ThermoType & | patchFaceMixture (const label patchi, const label facei) const |
const ThermoType & | cellVolMixture (const scalar p, const scalar T, const label celli) const |
const ThermoType & | patchFaceVolMixture (const scalar p, const scalar T, const label patchi, const label facei) const |
const PtrList< ThermoType > & | speciesData () const |
Return the raw specie thermodynamic data. More... | |
void | read (const dictionary &) |
Read dictionary. More... | |
const ThermoType & | getLocalThermo (const label speciei) const |
Return thermo based on index. More... | |
![]() | |
TypeName ("basicSpecieMixture") | |
Run time type information. More... | |
basicSpecieMixture (const dictionary &, const wordList &specieNames, const fvMesh &, const word &) | |
Construct from dictionary, species names, mesh and phase name. More... | |
virtual | ~basicSpecieMixture () |
Destructor. More... | |
virtual scalar | nMoles (const label speciei) const =0 |
Number of moles of the given specie []. More... | |
virtual scalar | W (const label speciei) const =0 |
Molecular weight of the given specie [kg/kmol]. More... | |
tmp< volScalarField > | W () const |
Molecular weight of the mixture [kg/kmol]. More... | |
virtual scalar | Cp (const label speciei, const scalar p, const scalar T) const =0 |
Heat capacity at constant pressure [J/(kg K)]. More... | |
virtual scalar | Cv (const label speciei, const scalar p, const scalar T) const =0 |
Heat capacity at constant volume [J/(kg K)]. More... | |
virtual scalar | Ha (const label speciei, const scalar p, const scalar T) const =0 |
Absolute enthalpy [J/kg]. More... | |
virtual scalar | Hs (const label speciei, const scalar p, const scalar T) const =0 |
Sensible enthalpy [J/kg]. More... | |
virtual scalar | Hc (const label speciei) const =0 |
Chemical enthalpy [J/kg]. More... | |
virtual scalar | S (const label speciei, const scalar p, const scalar T) const =0 |
Entropy [J/(kg K)]. More... | |
virtual scalar | Es (const label speciei, const scalar p, const scalar T) const =0 |
Sensible internal energy [J/kg]. More... | |
virtual scalar | G (const label speciei, const scalar p, const scalar T) const =0 |
Gibbs free energy [J/kg]. More... | |
virtual scalar | A (const label speciei, const scalar p, const scalar T) const =0 |
Helmholtz free energy [J/kg]. More... | |
virtual scalar | mu (const label speciei, const scalar p, const scalar T) const =0 |
Dynamic viscosity [kg/m/s]. More... | |
virtual scalar | kappa (const label speciei, const scalar p, const scalar T) const =0 |
Thermal conductivity [W/m/K]. More... | |
virtual scalar | alphah (const label speciei, const scalar p, const scalar T) const =0 |
Thermal diffusivity of enthalpy [kg/m/s]. More... | |
virtual scalar | rho (const label speciei, const scalar p, const scalar T) const =0 |
Density [kg/m3]. More... | |
![]() | |
TypeName ("basicMultiComponentMixture") | |
Run time type information. More... | |
basicMultiComponentMixture (const dictionary &, const wordList &specieNames, const fvMesh &, const word &) | |
Construct from dictionary, species names, mesh and phase name. More... | |
virtual | ~basicMultiComponentMixture () |
Destructor. More... | |
const speciesTable & | species () const |
Return the table of species. More... | |
PtrList< volScalarField > & | Y () |
Return the mass-fraction fields. More... | |
const PtrList< volScalarField > & | Y () const |
Return the const mass-fraction fields. More... | |
volScalarField & | Y (const label i) |
Return the mass-fraction field for a specie given by index. More... | |
const volScalarField & | Y (const label i) const |
Return the const mass-fraction field for a specie given by index. More... | |
volScalarField & | Y (const word &specieName) |
Return the mass-fraction field for a specie given by name. More... | |
const volScalarField & | Y (const word &specieName) const |
Return the const mass-fraction field for a specie given by name. More... | |
bool | contains (const word &specieName) const |
Does the mixture include this specie? More... | |
![]() | |
PtrList () | |
Null Constructor. More... | |
PtrList (const label) | |
Construct with size specified. More... | |
PtrList (const PtrList< T > &) | |
Copy constructor. More... | |
PtrList (const PtrList< T > &, const CloneArg &) | |
Copy constructor with additional argument for clone. More... | |
PtrList (const Xfer< PtrList< T > > &) | |
Construct by transferring the parameter contents. More... | |
PtrList (PtrList< T > &, bool reUse) | |
Construct as copy or re-use as specified. More... | |
PtrList (const SLPtrList< T > &) | |
Construct as copy of SLPtrList<T> More... | |
PtrList (Istream &, const INew &) | |
Construct from Istream using given Istream constructor class. More... | |
PtrList (Istream &) | |
Construct from Istream using default Istream constructor class. More... | |
PtrList () | |
PtrList (const label s) | |
PtrList (const PtrList< T > &a) | |
PtrList (const Xfer< PtrList< T > > &lst) | |
PtrList (PtrList< T > &a, bool reUse) | |
PtrList (const SLPtrList< T > &sll) | |
PtrList (Istream &is) | |
~PtrList () | |
Destructor. More... | |
label | size () const |
Return the number of elements in the PtrList. More... | |
bool | empty () const |
Return true if the PtrList is empty (ie, size() is zero). More... | |
T & | first () |
Return reference to the first element of the list. More... | |
const T & | first () const |
Return reference to first element of the list. More... | |
T & | last () |
Return reference to the last element of the list. More... | |
const T & | last () const |
Return reference to the last element of the list. More... | |
void | setSize (const label) |
Reset size of PtrList. If extending the PtrList, new entries are. More... | |
void | resize (const label) |
Alias for setSize(const label) More... | |
void | clear () |
Clear the PtrList, i.e. set size to zero deleting all the. More... | |
void | append (T *) |
Append an element at the end of the list. More... | |
void | append (const autoPtr< T > &) |
void | append (const tmp< T > &) |
void | transfer (PtrList< T > &) |
Transfer the contents of the argument PtrList into this PtrList. More... | |
Xfer< PtrList< T > > | xfer () |
Transfer contents to the Xfer container. More... | |
bool | set (const label) const |
Is element set. More... | |
autoPtr< T > | set (const label, T *) |
Set element. Return old element (can be NULL). More... | |
autoPtr< T > | set (const label, const autoPtr< T > &) |
autoPtr< T > | set (const label, const tmp< T > &) |
void | reorder (const labelUList &) |
Reorders elements. Ordering does not have to be done in. More... | |
const T & | operator[] (const label) const |
Return element const reference. More... | |
T & | operator[] (const label) |
Return element reference. More... | |
const T * | operator() (const label) const |
Return element const pointer. More... | |
PtrList< T > & | operator= (const PtrList< T > &) |
Assignment. More... | |
iterator | begin () |
Return an iterator to begin traversing the PtrList. More... | |
const_iterator | begin () const |
Return an const_iterator to begin traversing the PtrList. More... | |
iterator | end () |
Return an iterator to end traversing the PtrList. More... | |
const_iterator | end () const |
Return an const_iterator to end traversing the PtrList. More... | |
const_iterator | cbegin () const |
Return an const_iterator to begin traversing the PtrList. More... | |
const_iterator | cend () const |
Return an const_iterator to end traversing the PtrList. More... | |
Private Member Functions | |
reactingMixture (const reactingMixture &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const reactingMixture &) |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
![]() | |
static const List< T > & | null () |
Return a null List. More... | |
![]() | |
const typedef T & | const_reference |
Type that can be used for storing into constant PtrList::value_type. More... | |
![]() | |
void | size (const label) |
Override size to be inconsistent with allocated storage. More... | |
![]() | |
void | read (Istream &, const INew &inewt) |
Read from Istream using given Istream constructor class. More... | |
![]() | |
speciesTable | species_ |
Table of specie names. More... | |
PtrList< volScalarField > | Y_ |
Species mass fractions. More... | |
Definition at line 51 of file reactingMixture.H.
typedef ThermoType thermoType |
The type of thermo package this mixture is instantiated for.
Definition at line 70 of file reactingMixture.H.
|
private |
Disallow default bitwise copy construct.
reactingMixture | ( | const dictionary & | thermoDict, |
const fvMesh & | mesh, | ||
const word & | phaseName | ||
) |
Construct from dictionary, mesh and phase name.
Definition at line 33 of file reactingMixture.C.
References clear().
|
inlinevirtual |
Destructor.
Definition at line 80 of file reactingMixture.H.
|
private |
Disallow default bitwise assignment.
void read | ( | const dictionary & | thermoDict | ) |
Read dictionary.
Definition at line 64 of file reactingMixture.C.
|
inline |
Definition at line 89 of file reactingMixture.H.
Definition at line 94 of file reactingMixture.H.
References PtrList< Reaction< ThermoType > >::operator.
Definition at line 99 of file reactingMixture.H.
References PtrList< Reaction< ThermoType > >::operator.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.