Loading...
Searching...
No Matches
solidIsothermalReactionRate Class Reference

Isothermal reaction rate for solids. More...

#include <solidIsothermalReactionRate.H>

Public Member Functions

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

Static Public Member Functions

static word type ()
 Return the type name.

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 23 of file solidIsothermalReactionRateI.H.

References Cp.

Referenced by operator<<.

Here is the caller graph for this function:

◆ solidIsothermalReactionRate() [2/2]

solidIsothermalReactionRate ( const speciesTable & species,
const dictionary & dict )
inline

Construct from dictionary.

Definition at line 38 of file solidIsothermalReactionRateI.H.

References dict.

◆ ~solidIsothermalReactionRate()

virtual ~solidIsothermalReactionRate ( )
virtualdefault

Destructor.

Member Function Documentation

◆ type()

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 53 of file solidIsothermalReactionRateI.H.

References Foam::T().

Here is the call graph for this function:

◆ 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:

◆ operator<<

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

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