14 Wall::Wall() : m_left(0), m_right(0),
16 m_area(1.0), m_k(0.0), m_rrth(0.0), m_emiss(0.0),
24 if (m_left || m_right) {
31 m_surf[0].setReactor(&rleft);
32 m_surf[1].setReactor(&rright);
40 rate1 += m_area * m_vf->
eval(t);
47 double q1 = (m_area * m_rrth) *
52 q1 += m_emiss * m_area *
StefanBoltz * (tl*tl*tl*tl - tr*tr*tr*tr);
55 q1 += m_area * m_qf->
eval(t);
Header for a simple thermodynamics model of a surface phase derived from ThermoPhase, assuming an ideal solution model (see Thermodynamic Properties and class SurfPhase).
Header file for class Wall.
const doublereal StefanBoltz
Stefan-Boltzmann constant.
virtual doublereal Q(doublereal t)
Heat flow rate through the wall (W).
bool install(ReactorBase &leftReactor, ReactorBase &rightReactor)
Install the wall between two reactors or reservoirs.
virtual doublereal eval(doublereal t) const
Evaluate the function.
Base class for stirred reactors.
void addWall(Wall &w, int lr)
Insert a Wall between this reactor and another reactor.
doublereal pressure() const
Returns the current pressure (Pa) of the reactor.
virtual doublereal vdot(doublereal t)
Rate of volume change (m^3/s) for the adjacent reactors.
Contains declarations for string manipulation functions within Cantera.
doublereal temperature() const
Returns the current temperature (K) of the reactor's contents.
Namespace for the Cantera kernel.