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 &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 | ~solidReaction ()=default |
Destructor. More... | |
virtual const List< specieCoeffs > & | grhs () const |
Access to gas components of the reaction. More... | |
virtual const List< specieCoeffs > & | glhs () const |
virtual const speciesTable & | gasSpecies () const |
Access to gas specie list. More... | |
virtual void | write (Ostream &os) const |
Write. More... | |
Public Member Functions inherited from Reaction< ReactionThermo > | |
TypeName ("Reaction") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, Reaction, dictionary,(const speciesTable &species, const ReactionTable< ReactionThermo > &thermoDatabase, const dictionary &dict),(species, thermoDatabase, dict)) | |
Reaction (const speciesTable &species, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs, const ReactionTable< ReactionThermo > &thermoDatabase, bool initReactionThermo=true) | |
Construct from components. More... | |
Reaction (const Reaction< ReactionThermo > &, const speciesTable &species) | |
Construct as copy given new speciesTable. More... | |
Reaction (const speciesTable &species, const ReactionTable< ReactionThermo > &thermoDatabase, const dictionary &dict, bool initReactionThermo=true, bool failUnknownSpecie=true) | |
Construct from dictionary. More... | |
virtual | ~Reaction ()=default |
Destructor. More... | |
const word & | name () const noexcept |
Name of reaction. More... | |
const speciesTable & | species () const noexcept |
Access to specie list. More... | |
const List< specieCoeffs > & | lhs () const noexcept |
Specie info for the left-hand-side of the reaction. More... | |
const List< specieCoeffs > & | rhs () const noexcept |
Specie info for the right-hand-side of the reaction. More... | |
void | setLRhs (Istream &, const speciesTable &, List< specieCoeffs > &lhs, List< specieCoeffs > &rhs, bool failUnknownSpecie=true) |
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 ReactionTable< 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 |
Add string representation of the left of the reaction. More... | |
void | reactionStrRight (OStringStream &reaction) const |
Add string representation of the right of the reaction. More... | |
Static Protected Member Functions inherited from Reaction< ReactionThermo > | |
static void | reactionStr (OStringStream &reaction, const speciesTable &species, const List< specieCoeffs > &reactCoeffs) |
Add string representation for given species reaction coeffs. More... | |
Read solid reactions of the type S1 = S2 + G1.
Definition at line 47 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 29 of file solidReaction.C.
solidReaction | ( | const solidReaction< ReactionThermo > & | r, |
const speciesTable & | pyrolisisGases | ||
) |
Construct as copy given new speciesTable.
Definition at line 45 of file solidReaction.C.
solidReaction | ( | const speciesTable & | species, |
const ReactionTable< ReactionThermo > & | thermoDatabase, | ||
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 59 of file solidReaction.C.
References dict, and hashedWordList::push_uniq().
|
virtualdefault |
Destructor.
TypeName | ( | "SolidReaction" | ) |
Runtime type information.
Construct and return a clone.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 150 of file solidReaction.H.
|
inlinevirtual |
Construct and return a clone with new speciesTable.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 162 of file solidReaction.H.
References Reaction< ReactionThermo >::species().
|
virtual |
Access to gas components of the reaction.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 121 of file solidReaction.C.
|
virtual |
Reimplemented from Reaction< ReactionThermo >.
Definition at line 113 of file solidReaction.C.
|
virtual |
Access to gas specie list.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 129 of file solidReaction.C.
|
virtual |
Write.
Reimplemented from Reaction< ReactionThermo >.
Definition at line 136 of file solidReaction.C.
References os(), and reaction.
|
friend |