Public Member Functions | Friends | List of all members
solidReaction< ReactionThermo > Class Template Reference

Read solid reactions of the type S1 = S2 + G1. More...

Inheritance diagram for solidReaction< ReactionThermo >:
Inheritance graph
[legend]
Collaboration diagram for solidReaction< ReactionThermo >:
Collaboration graph
[legend]

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 speciesTablegasSpecies () 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...
 
wordname ()
 
const wordname () const
 
const List< specieCoeffs > & lhs () const
 
const List< specieCoeffs > & rhs () const
 
const speciesTablespecies () 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

Ostreamoperator (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...
 

Detailed Description

template<class ReactionThermo>
class Foam::solidReaction< ReactionThermo >

Read solid reactions of the type S1 = S2 + G1.

Source files

Definition at line 49 of file solidReaction.H.

Constructor & Destructor Documentation

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

solidReaction ( const speciesTable species,
const HashPtrTable< ReactionThermo > &  thermoDatabase,
const dictionary dict 
)

Construct from dictionary.

Definition at line 90 of file solidReaction.C.

References dictionary::lookup().

Here is the call graph for this function:

virtual ~solidReaction ( )
inlinevirtual

Member Function Documentation

TypeName ( "SolidReaction"  )

Runtime type information.

virtual autoPtr<Reaction<ReactionThermo> > clone ( ) const
inlinevirtual

Construct and return a clone.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 141 of file solidReaction.H.

virtual autoPtr<Reaction<ReactionThermo> > clone ( const speciesTable species) const
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().

Here is the call graph for this function:

const Foam::List< typename Foam::Reaction< ReactionThermo >::specieCoeffs > & grhs ( ) const
virtual

Reimplemented from Reaction< ReactionThermo >.

Definition at line 123 of file solidReaction.C.

References solidReaction< ReactionThermo >::gasSpecies().

Referenced by solidReaction< ReactionThermo >::~solidReaction().

Here is the call graph for this function:

Here is the caller graph for this function:

const Foam::List< typename Foam::solidReaction< ReactionThermo >::specieCoeffs > & glhs ( ) const
virtual

Reimplemented from Reaction< ReactionThermo >.

Definition at line 115 of file solidReaction.C.

Referenced by solidReaction< ReactionThermo >::~solidReaction().

Here is the caller graph for this function:

const Foam::speciesTable & gasSpecies ( ) const
virtual

Reimplemented from Reaction< ReactionThermo >.

Definition at line 131 of file solidReaction.C.

Referenced by solidReaction< ReactionThermo >::grhs(), and solidReaction< ReactionThermo >::~solidReaction().

Here is the caller graph for this function:

void write ( Ostream os) const
virtual

Write.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 138 of file solidReaction.C.

References Foam::mag(), Foam::nl, reaction(), List< T >::size(), OStringStream::str(), and Ostream::writeKeyword().

Referenced by solidReaction< ReactionThermo >::~solidReaction().

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

Ostream& operator ( Ostream ,
const solidReaction< ReactionThermo > &   
)
friend

The documentation for this class was generated from the following files: