Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics. More...
#include <specie/ReversibleReaction.H>
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
Definition at line 51 of file ReversibleReaction.H.
Inheritance diagram for ReversibleReaction< ReactionThermo, ReactionRate >:
Collaboration diagram for ReversibleReaction< ReactionThermo, ReactionRate >:Public Member Functions | |
| TypeName ("reversible") | |
| Runtime type information. | |
| ReversibleReaction (const Reaction< ReactionThermo > &reaction, const ReactionRate &k) | |
| Construct from components. | |
| ReversibleReaction (const ReversibleReaction< ReactionThermo, ReactionRate > &, const speciesTable &species) | |
| Construct as copy given new speciesTable. | |
| ReversibleReaction (const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, Istream &is) | |
| Construct from Istream. | |
| virtual autoPtr< Reaction < ReactionThermo > > | clone () const |
| Construct and return a clone. | |
| virtual autoPtr< Reaction < ReactionThermo > > | clone (const speciesTable &species) const |
| Construct and return a clone with new speciesTable. | |
| virtual | ~ReversibleReaction () |
| virtual scalar | kf (const scalar T, const scalar p, const scalarField &c) const |
| Forward rate constant. | |
| virtual scalar | kr (const scalar kfwd, const scalar T, const scalar p, const scalarField &c) const |
| Reverse rate constant from the given formard rate constant. | |
| virtual scalar | kr (const scalar T, const scalar p, const scalarField &c) const |
| Reverse rate constant. | |
| virtual void | write (Ostream &) const |
| Write. | |
Public Member Functions inherited from Reaction< ReactionThermo > | |
| TypeName ("Reaction") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, Reaction, Istream,(const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, Istream &is),(species, thermoDatabase, is)) | |
| Reaction (const speciesTable &species, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs, const HashPtrTable< ReactionThermo > &thermoDatabase) | |
| Construct from components. | |
| Reaction (const Reaction< ReactionThermo > &, const speciesTable &species) | |
| Construct as copy given new speciesTable. | |
| Reaction (const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, Istream &is) | |
| Construct from Istream. | |
| virtual | ~Reaction () |
| const List< specieCoeffs > & | lhs () const |
| const List< specieCoeffs > & | rhs () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Reaction< ReactionThermo > | |
| static autoPtr< Reaction < ReactionThermo > > | New (const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, Istream &) |
| Return a pointer to a new patchField created on freestore from input. | |
| ReversibleReaction | ( | const Reaction< ReactionThermo > & | reaction, |
| const ReactionRate & | k | ||
| ) |
Construct from components.
Definition at line 40 of file ReversibleReaction.C.
| ReversibleReaction | ( | const ReversibleReaction< ReactionThermo, ReactionRate > & | rr, |
| const speciesTable & | species | ||
| ) |
Construct as copy given new speciesTable.
Definition at line 67 of file ReversibleReaction.C.
| ReversibleReaction | ( | const speciesTable & | species, |
| const HashPtrTable< ReactionThermo > & | thermoDatabase, | ||
| Istream & | is | ||
| ) |
Construct from Istream.
Definition at line 53 of file ReversibleReaction.C.
|
inlinevirtual |
Definition at line 124 of file ReversibleReaction.H.
| TypeName | ( | "reversible" | ) |
Runtime type information.
Construct and return a clone.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 97 of file ReversibleReaction.H.
|
inlinevirtual |
Construct and return a clone with new speciesTable.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 107 of file ReversibleReaction.H.
|
virtual |
Forward rate constant.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 81 of file ReversibleReaction.C.
|
virtual |
Reverse rate constant from the given formard rate constant.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 93 of file ReversibleReaction.C.
|
virtual |
Reverse rate constant.
Note this evaluates the forward rate constant and divides by the equilibrium constant
Reimplemented from Reaction< ReactionThermo >.
Definition at line 106 of file ReversibleReaction.C.
|
virtual |
Write.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 118 of file ReversibleReaction.C.
References token::SPACE, and Reaction< ReactionThermo >::write().