Go to the documentation of this file.
14 WallBase::WallBase() : m_left(0), m_right(0), m_surf(2), m_area(1.0) {}
19 if (m_left || m_right) {
26 m_surf[0].setReactor(&rleft);
27 m_surf[1].setReactor(&rright);
37 Wall::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) *
double m_rrth
heat transfer coefficient
Base class for stirred reactors.
virtual double vdot(double t)
Rate of volume change (m^3/s) for the adjacent reactors.
Func1 * m_qf
Heat flux function.
const double StefanBoltz
Stefan-Boltzmann constant [W/m2/K4].
double m_k
expansion rate coefficient
void addWall(WallBase &w, int lr)
Insert a Wall between this reactor and another reactor.
virtual double Q(double t)
Heat flow rate through the wall (W).
doublereal temperature() const
Returns the current temperature (K) of the reactor's contents.
doublereal pressure() const
Returns the current pressure (Pa) of the reactor.
virtual doublereal eval(doublereal t) const
Evaluate the function.
Base class for 'walls' (walls, pistons, etc.) connecting reactors.
bool install(ReactorBase &leftReactor, ReactorBase &rightReactor)
Install the wall between two reactors or reservoirs.
Func1 * m_vf
Velocity function.
Namespace for the Cantera kernel.
virtual void setArea(double a)
Set the area [m^2].