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.
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.
|
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.
virtual ~ReversibleReaction | ( | ) | [inline, virtual]
|
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.
virtual autoPtr<Reaction<ReactionThermo> > clone | ( | const speciesTable & | species ) | const [inline, virtual]
|
Construct and return a clone with new speciesTable.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 107 of file ReversibleReaction.H.
scalar kf | ( | const scalar | T, |
const scalar | p, | ||
const scalarField & | c | ||
) | const [virtual]
|
Forward rate constant.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 81 of file ReversibleReaction.C.
scalar kr | ( | const scalar | kfwd, |
const scalar | T, | ||
const scalar | p, | ||
const scalarField & | c | ||
) | const [virtual]
|
Reverse rate constant from the given formard rate constant.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 93 of file ReversibleReaction.C.
scalar kr | ( | const scalar | T, |
const scalar | p, | ||
const scalarField & | c | ||
) | const [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.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 118 of file ReversibleReaction.C.
References token::SPACE, and Reaction< ReactionThermo >::write().