Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics. More...
#include <specie/NonEquilibriumReversibleReaction.H>
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
Definition at line 51 of file NonEquilibriumReversibleReaction.H.
Public Member Functions | |
TypeName ("nonEquilibriumReversible") | |
Runtime type information.
| |
NonEquilibriumReversibleReaction (const Reaction< ReactionThermo > &reaction, const ReactionRate &forwardReactionRate, const ReactionRate &reverseReactionRate) | |
Construct from components.
| |
NonEquilibriumReversibleReaction (const NonEquilibriumReversibleReaction< ReactionThermo, ReactionRate > &, const speciesTable &species) | |
Construct as copy given new speciesTable.
| |
NonEquilibriumReversibleReaction (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 | ~NonEquilibriumReversibleReaction () |
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.
|
NonEquilibriumReversibleReaction | ( | const Reaction< ReactionThermo > & | reaction, |
const ReactionRate & | forwardReactionRate, | ||
const ReactionRate & | reverseReactionRate | ||
) |
Construct from components.
Definition at line 41 of file NonEquilibriumReversibleReaction.C.
NonEquilibriumReversibleReaction | ( | const NonEquilibriumReversibleReaction< ReactionThermo, ReactionRate > & | nerr, |
const speciesTable & | species | ||
) |
Construct as copy given new speciesTable.
Definition at line 72 of file NonEquilibriumReversibleReaction.C.
NonEquilibriumReversibleReaction | ( | const speciesTable & | species, |
const HashPtrTable< ReactionThermo > & | thermoDatabase, | ||
Istream & | is | ||
) |
Construct from Istream.
Definition at line 57 of file NonEquilibriumReversibleReaction.C.
virtual ~NonEquilibriumReversibleReaction | ( | ) | [inline, virtual]
|
Definition at line 130 of file NonEquilibriumReversibleReaction.H.
TypeName | ( | "nonEquilibriumReversible" | ) |
Runtime type information.
Construct and return a clone.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 104 of file NonEquilibriumReversibleReaction.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 115 of file NonEquilibriumReversibleReaction.H.
scalar kf | ( | const scalar | T, |
const scalar | p, | ||
const scalarField & | c | ||
) | const [virtual]
|
Forward rate constant.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 87 of file NonEquilibriumReversibleReaction.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 99 of file NonEquilibriumReversibleReaction.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 112 of file NonEquilibriumReversibleReaction.C.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 124 of file NonEquilibriumReversibleReaction.C.
References token::SPACE, and Reaction< ReactionThermo >::write().