14WallBase::WallBase() : m_left(0), m_right(0), m_surf(2), m_area(1.0) {}
19 if (m_left || m_right) {
25 m_right->addWall(*
this, 1);
26 m_surf[0].setReactor(&rleft);
27 m_surf[1].setReactor(&rright);
31void WallBase::setArea(
double a) {
37Wall::Wall() :
WallBase(), m_k(0.0), m_rrth(0.0), m_emiss(0.0), m_vf(0), m_qf(0) {}
51 double q1 = (m_area *
m_rrth) *
Header for a simple thermodynamics model of a surface phase derived from ThermoPhase,...
Header file for base class WallBase.
virtual doublereal eval(doublereal t) const
Evaluate the function.
Base class for stirred reactors.
doublereal pressure() const
Returns the current pressure (Pa) of the reactor.
void addWall(WallBase &w, int lr)
Insert a Wall between this reactor and another reactor.
doublereal temperature() const
Returns the current temperature (K) of the reactor's contents.
Base class for 'walls' (walls, pistons, etc.) connecting reactors.
Func1 * m_vf
Velocity function.
double m_rrth
heat transfer coefficient
Func1 * m_qf
Heat flux function.
double m_k
expansion rate coefficient
virtual double Q(double t)
Heat flow rate through the wall (W).
virtual double vdot(double t)
Rate of volume change (m^3/s) for the adjacent reactors.
Namespace for the Cantera kernel.
const double StefanBoltz
Stefan-Boltzmann constant [W/m2/K4].
Contains declarations for string manipulation functions within Cantera.