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... | |
Private Types | |
typedef Reaction< ReactionThermo >::specieCoeffs | specieCoeffs |
Private Member Functions | |
string | solidReactionStr (OStringStream &) const |
Return string representation of reaction. More... | |
void | solidReactionStrLeft (OStringStream &) const |
Return string representation of the left of the reaction. More... | |
void | solidReactionStrRight (OStringStream &) const |
Return string representation of the right of the reaction. More... | |
void | operator= (const solidReaction &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
speciesTable | pyrolisisGases_ |
List of gas species present in reaction system. More... | |
List< specieCoeffs > | glhs_ |
Gas specie index for the left-hand-side of the reaction. More... | |
List< specieCoeffs > | grhs_ |
Gas specie index for the right-hand-side of the reaction. More... | |
Friends | |
Ostream & | operator (Ostream &, const solidReaction< ReactionThermo > &) |
Read solid reactions of the type S1 = S2 + G1.
Definition at line 49 of file solidReaction.H.
|
private |
Definition at line 68 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.
solidReaction | ( | const solidReaction< ReactionThermo > & | , |
const speciesTable & | pyrolisisGases | ||
) |
Construct as copy given new speciesTable.
solidReaction | ( | const speciesTable & | pyrolisisGases, |
const HashPtrTable< ReactionThermo > & | thermoDatabase, | ||
Istream & | is | ||
) |
Construct from Istream.
solidReaction | ( | const speciesTable & | species, |
const HashPtrTable< ReactionThermo > & | thermoDatabase, | ||
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 81 of file solidReaction.C.
References dict, and dictionary::lookup().
|
inlinevirtual |
Destructor.
Definition at line 163 of file solidReaction.H.
|
private |
Return string representation of reaction.
Definition at line 139 of file solidReaction.C.
References reaction().
|
private |
Return string representation of the left of the reaction.
Definition at line 163 of file solidReaction.C.
References Foam::mag(), reaction(), and List::size().
|
private |
Return string representation of the right of the reaction.
Definition at line 188 of file solidReaction.C.
References Foam::mag(), reaction(), and List::size().
|
private |
Disallow default bitwise assignment.
TypeName | ( | "SolidReaction" | ) |
Runtime type information.
Construct and return a clone.
Definition at line 141 of file solidReaction.H.
|
inlinevirtual |
Construct and return a clone with new speciesTable.
Definition at line 151 of file solidReaction.H.
|
virtual |
Definition at line 114 of file solidReaction.C.
|
virtual |
Definition at line 106 of file solidReaction.C.
|
virtual |
Definition at line 122 of file solidReaction.C.
|
virtual |
Write.
Definition at line 129 of file solidReaction.C.
References token::END_STATEMENT, Foam::nl, reaction(), and Ostream::writeKeyword().
|
friend |
|
private |
List of gas species present in reaction system.
Definition at line 71 of file solidReaction.H.
|
private |
Gas specie index for the left-hand-side of the reaction.
Definition at line 74 of file solidReaction.H.
|
private |
Gas specie index for the right-hand-side of the reaction.
Definition at line 77 of file solidReaction.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.