solidIsothermalReactionRate Class Reference

Isothermal reaction rate for solids. More...

Public Member Functions

 solidIsothermalReactionRate (const scalar C, const scalar Cp, const scalar Tpc, const scalar Elat)
 Construct from components. More...
 
 solidIsothermalReactionRate (const speciesTable &species, const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~solidIsothermalReactionRate ()=default
 Destructor. More...
 
scalar operator() (const scalar p, const scalar T, const scalarField &c) const
 Return reaction rate constant. More...
 
void write (Ostream &os) const
 Write to stream. More...
 

Static Public Member Functions

static word type ()
 Return the type name. More...
 

Friends

Ostreamoperator<< (Ostream &, const solidIsothermalReactionRate &)
 

Detailed Description

Isothermal reaction rate for solids.

Usage
Minimal example:
{
    // Mandatory entries
    C       <scalar>;
    Cp      <scalar>;
    Tpc     <scalar>;
    Elat    <scalar>;
}

where the entries mean:

Property Description Type Reqd Deflt
C Model constant scalar yes -
Cp Specific heat of solid material (assumed constant) scalar yes -
Tpc Phase change temperature scalar yes -
Elat Latent heat of phase change scalar yes -
Note
  • Elat, the latent energy is defined in the present implementation as a negative value (using the convention endothermic process has negative enthalpy.)
Source files

Definition at line 109 of file solidIsothermalReactionRate.H.

Constructor & Destructor Documentation

◆ solidIsothermalReactionRate() [1/2]

solidIsothermalReactionRate ( const scalar  C,
const scalar  Cp,
const scalar  Tpc,
const scalar  Elat 
)
inline

Construct from components.

Definition at line 24 of file solidIsothermalReactionRateI.H.

◆ solidIsothermalReactionRate() [2/2]

solidIsothermalReactionRate ( const speciesTable species,
const dictionary dict 
)
inline

Construct from dictionary.

Definition at line 39 of file solidIsothermalReactionRateI.H.

◆ ~solidIsothermalReactionRate()

virtual ~solidIsothermalReactionRate ( )
virtualdefault

Destructor.

Member Function Documentation

◆ type()

static word type ( )
inlinestatic

Return the type name.

Definition at line 171 of file solidIsothermalReactionRate.H.

◆ operator()()

Foam::scalar operator() ( const scalar  p,
const scalar  T,
const scalarField c 
) const
inline

Return reaction rate constant.

frequency of collisions resulting in a reaction

Definition at line 54 of file solidIsothermalReactionRateI.H.

References T.

◆ write()

void write ( Ostream os) const
inline

Write to stream.

Definition at line 69 of file solidIsothermalReactionRateI.H.

References os().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const solidIsothermalReactionRate  
)
friend

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