Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics. More...
#include <ReversibleReaction.H>
Inherits ReactionType< ReactionThermo >.

Public Member Functions | |
| TypeName ("reversible") | |
| Runtime type information. | |
| ReversibleReaction (const ReactionType< ReactionThermo > &reaction, const ReactionRate &k) | |
| Construct from components. | |
| ReversibleReaction (const ReversibleReaction< ReactionType, ReactionThermo, ReactionRate > &, const speciesTable &species) | |
| Construct as copy given new speciesTable. | |
| ReversibleReaction (const speciesTable &species, const ReactionTable< ReactionThermo > &thermoDatabase, const dictionary &dict) | |
| Construct from dictionary. | |
| virtual autoPtr< ReactionType< ReactionThermo > > | clone () const |
| Construct and return a clone. | |
| virtual autoPtr< ReactionType< ReactionThermo > > | clone (const speciesTable &species) const |
| Construct and return a clone with new speciesTable. | |
| virtual | ~ReversibleReaction ()=default |
| Destructor. | |
| virtual scalar | kf (const scalar p, const scalar T, const scalarField &c) const |
| Forward rate constant. | |
| virtual scalar | kr (const scalar kfwd, const scalar p, const scalar T, const scalarField &c) const |
| Reverse rate constant from the given formard rate constant. | |
| virtual scalar | kr (const scalar p, const scalar T, const scalarField &c) const |
| Reverse rate constant. | |
| virtual void | write (Ostream &) const |
| Write. | |
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
Definition at line 57 of file ReversibleReaction.H.
| ReversibleReaction | ( | const ReactionType< ReactionThermo > & | reaction, |
| const ReactionRate & | k ) |
Construct from components.
Definition at line 32 of file ReversibleReaction.C.
Referenced by ReversibleReaction().

| ReversibleReaction | ( | const ReversibleReaction< ReactionType, ReactionThermo, ReactionRate > & | rr, |
| const speciesTable & | species ) |
Construct as copy given new speciesTable.
Definition at line 69 of file ReversibleReaction.C.
References ReversibleReaction().

| ReversibleReaction | ( | const speciesTable & | species, |
| const ReactionTable< ReactionThermo > & | thermoDatabase, | ||
| const dictionary & | dict ) |
|
virtualdefault |
Destructor.
| TypeName | ( | "reversible" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 128 of file ReversibleReaction.H.
|
inlinevirtual |
Construct and return a clone with new speciesTable.
Definition at line 144 of file ReversibleReaction.H.
|
virtual |
|
virtual |
Reverse rate constant from the given formard rate constant.
Definition at line 116 of file ReversibleReaction.C.
References kr(), Foam::max(), p, and Foam::T().


|
virtual |
|
virtual |
Write.
Definition at line 161 of file ReversibleReaction.C.
References os(), and Reaction< ReactionThermo >::write().
