Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics. More...
Public Member Functions | |
TypeName ("irreversible") | |
Runtime type information. More... | |
IrreversibleReaction (const ReactionType< ReactionThermo > &reaction, const ReactionRate &reactionRate) | |
Construct from components. More... | |
IrreversibleReaction (const IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate > &, const speciesTable &species) | |
Construct as copy given new speciesTable. More... | |
IrreversibleReaction (const speciesTable &species, const ReactionTable< ReactionThermo > &thermoDatabase, const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< Reaction< ReactionThermo > > | clone () const |
Construct and return a clone. More... | |
virtual autoPtr< Reaction< ReactionThermo > > | clone (const speciesTable &species) const |
Construct and return a clone with new speciesTable. More... | |
virtual | ~IrreversibleReaction ()=default |
Destructor. More... | |
virtual scalar | kf (const scalar p, const scalar T, const scalarField &c) const |
Forward rate constant. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Simple extension of Reaction to handle reversible reactions using equilibrium thermodynamics.
Definition at line 57 of file IrreversibleReaction.H.
IrreversibleReaction | ( | const ReactionType< ReactionThermo > & | reaction, |
const ReactionRate & | reactionRate | ||
) |
Construct from components.
Definition at line 34 of file IrreversibleReaction.C.
IrreversibleReaction | ( | const IrreversibleReaction< ReactionType, ReactionThermo, ReactionRate > & | irr, |
const speciesTable & | species | ||
) |
Construct as copy given new speciesTable.
Definition at line 71 of file IrreversibleReaction.C.
IrreversibleReaction | ( | const speciesTable & | species, |
const ReactionTable< ReactionThermo > & | thermoDatabase, | ||
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 52 of file IrreversibleReaction.C.
|
virtualdefault |
Destructor.
TypeName | ( | "irreversible" | ) |
Runtime type information.
Construct and return a clone.
Definition at line 128 of file IrreversibleReaction.H.
|
inlinevirtual |
Construct and return a clone with new speciesTable.
Definition at line 145 of file IrreversibleReaction.H.
|
virtual |
Forward rate constant.
Definition at line 95 of file IrreversibleReaction.C.
References Foam::constant::universal::c, p, and T.
|
virtual |
Write.
Definition at line 113 of file IrreversibleReaction.C.
References os(), and Foam::vtk::write().