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 &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
 Access to gas specie list. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from Reaction< ReactionThermo >
 TypeName ("Reaction")
 Runtime type information. More...
 
 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, 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
 Access to specie list. More...
 
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, 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() [1/3]

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() [2/3]

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() [3/3]

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

Construct from dictionary.

Definition at line 64 of file solidReaction.C.

References dictionary::lookup().

Here is the call graph for this function:

◆ ~solidReaction()

virtual ~solidReaction ( )
inlinevirtual

Member Function Documentation

◆ TypeName()

TypeName ( "SolidReaction"  )

Runtime type information.

◆ clone() [1/2]

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

Construct and return a clone.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 132 of file solidReaction.H.

◆ clone() [2/2]

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 142 of file solidReaction.H.

References Reaction< ReactionThermo >::species().

Here is the call graph for this function:

◆ grhs()

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

Reimplemented from Reaction< ReactionThermo >.

Definition at line 97 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:

◆ glhs()

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

Reimplemented from Reaction< ReactionThermo >.

Definition at line 89 of file solidReaction.C.

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

Here is the caller graph for this function:

◆ gasSpecies()

const Foam::speciesTable & gasSpecies ( ) const
virtual

Access to gas specie list.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 105 of file solidReaction.C.

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

Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Reimplemented from Reaction< ReactionThermo >.

Definition at line 112 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

◆ operator

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

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