Read solid reactions of the type S1 = S2 + G1. More...
Public Member Functions | |
TypeName ("SolidReaction") | |
Runtime type information. More... | |
solidReaction (const Reaction< ReactionThermo > &reaction, const speciesTable &pyrolisisGases, const List< specieCoeffs > &glhs, const List< specieCoeffs > &grhs) | |
Construct from components. More... | |
solidReaction (const solidReaction< ReactionThermo > &, const speciesTable &pyrolisisGases) | |
Construct as copy given new speciesTable. More... | |
solidReaction (const speciesTable &pyrolisisGases, const HashPtrTable< ReactionThermo > &thermoDatabase, Istream &is) | |
Construct from Istream. More... | |
solidReaction (const speciesTable &species, const HashPtrTable< 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 | ~solidReaction () |
Destructor. More... | |
virtual const List< specieCoeffs > & | grhs () const |
virtual const List< specieCoeffs > & | glhs () const |
virtual const speciesTable & | gasSpecies () const |
virtual void | write (Ostream &) const |
Write. More... | |
Public Member Functions inherited from Reaction< ReactionThermo > | |
TypeName ("Reaction") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, Reaction, Istream,(const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, Istream &is),(species, thermoDatabase, is)) | |
declareRunTimeSelectionTable (autoPtr, Reaction, dictionary,(const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, const dictionary &dict),(species, thermoDatabase, dict)) | |
Reaction (const speciesTable &species, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs, const HashPtrTable< ReactionThermo > &thermoDatabase) | |
Construct from components. More... | |
Reaction (const Reaction< ReactionThermo > &, const speciesTable &species) | |
Construct as copy given new speciesTable. More... | |
Reaction (const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, Istream &is) | |
Construct from Istream. More... | |
Reaction (const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~Reaction () |
Destructor. More... | |
word & | name () |
const word & | name () const |
const List< specieCoeffs > & | lhs () const |
const List< specieCoeffs > & | rhs () const |
const speciesTable & | species () const |
void | setLRhs (Istream &, const speciesTable &, List< specieCoeffs > &lhs, List< specieCoeffs > &rhs) |
Construct the left- and right-hand-side reaction coefficients. More... | |
virtual scalar | kf (const scalar p, const scalar T, const scalarField &c) const |
Forward rate constant. More... | |
virtual scalar | kr (const scalar kfwd, const scalar p, const scalar T, const scalarField &c) const |
Reverse rate constant from the given forward rate constant. More... | |
virtual scalar | kr (const scalar p, const scalar T, const scalarField &c) const |
Reverse rate constant. More... | |
Friends | |
Ostream & | operator (Ostream &, const solidReaction< ReactionThermo > &) |
Additional Inherited Members | |
Static Public Member Functions inherited from Reaction< ReactionThermo > | |
static autoPtr< Reaction< ReactionThermo > > | New (const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, Istream &is) |
Return a pointer to new patchField created on freestore from input. More... | |
static autoPtr< Reaction< ReactionThermo > > | New (const speciesTable &species, const HashPtrTable< ReactionThermo > &thermoDatabase, const dictionary &dict) |
Return a pointer to new patchField created on freestore from dict. More... | |
Static Public Attributes inherited from Reaction< ReactionThermo > | |
static label | nUnNamedReactions = 0 |
Number of un-named reactions. More... | |
Protected Member Functions inherited from Reaction< ReactionThermo > | |
void | reactionStrLeft (OStringStream &reaction) const |
Return string representation of the left of the reaction. More... | |
void | reactionStrRight (OStringStream &reaction) const |
Return string representation of the right of the reaction. More... | |
Read solid reactions of the type S1 = S2 + G1.
Definition at line 49 of file solidReaction.H.
solidReaction | ( | const Reaction< ReactionThermo > & | reaction, |
const speciesTable & | pyrolisisGases, | ||
const List< specieCoeffs > & | glhs, | ||
const List< specieCoeffs > & | grhs | ||
) |
Construct from components.
Definition at line 34 of file solidReaction.C.
Referenced by solidReaction< ReactionThermo >::solidReaction().
solidReaction | ( | const solidReaction< ReactionThermo > & | r, |
const speciesTable & | pyrolisisGases | ||
) |
Construct as copy given new speciesTable.
Definition at line 50 of file solidReaction.C.
References solidReaction< ReactionThermo >::solidReaction().
solidReaction | ( | const speciesTable & | pyrolisisGases, |
const HashPtrTable< ReactionThermo > & | thermoDatabase, | ||
Istream & | is | ||
) |
Construct from Istream.
Definition at line 64 of file solidReaction.C.
References NotImplemented, and solidReaction< ReactionThermo >::solidReaction().
solidReaction | ( | const speciesTable & | species, |
const HashPtrTable< ReactionThermo > & | thermoDatabase, | ||
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 81 of file solidReaction.C.
References dictionary::lookup().
|
inlinevirtual |
Destructor.
Definition at line 163 of file solidReaction.H.
References solidReaction< ReactionThermo >::gasSpecies(), solidReaction< ReactionThermo >::glhs(), solidReaction< ReactionThermo >::grhs(), and solidReaction< ReactionThermo >::write().
TypeName | ( | "SolidReaction" | ) |
Runtime type information.
Construct and return a clone.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 141 of file solidReaction.H.
|
inlinevirtual |
Construct and return a clone with new speciesTable.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 151 of file solidReaction.H.
References Reaction< ReactionThermo >::species().
|
virtual |
Reimplemented from Reaction< ReactionThermo >.
Definition at line 114 of file solidReaction.C.
References solidReaction< ReactionThermo >::gasSpecies().
Referenced by solidReaction< ReactionThermo >::~solidReaction().
|
virtual |
Reimplemented from Reaction< ReactionThermo >.
Definition at line 106 of file solidReaction.C.
Referenced by solidReaction< ReactionThermo >::~solidReaction().
|
virtual |
Reimplemented from Reaction< ReactionThermo >.
Definition at line 122 of file solidReaction.C.
Referenced by solidReaction< ReactionThermo >::grhs(), and solidReaction< ReactionThermo >::~solidReaction().
|
virtual |
Write.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 129 of file solidReaction.C.
References Foam::mag(), Foam::nl, reaction(), List< T >::size(), OStringStream::str(), and Ostream::writeKeyword().
Referenced by solidReaction< ReactionThermo >::~solidReaction().
|
friend |