16 if (m_left || m_right) {
39 warn_deprecated(
"Wall::vdot",
"To be removed; replaceable by 'expansionRate'.");
42 "Wall is not ready; some parameters have not been set.");
56 "Wall is not ready; some parameters have not been set.");
75 warn_deprecated(
"Wall::Q",
"To be removed; replaceable by 'heatRate'.");
78 "Wall is not ready; some parameters have not been set.");
80 double q1 = (m_area *
m_rrth) *
98 "Wall is not ready; some parameters have not been set.");
100 double q1 = (m_area *
m_rrth) *
Header file for base class WallBase.
Base class for exceptions thrown by Cantera classes.
virtual double eval(double t) const
Evaluate the function.
Base class for stirred reactors.
double 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.
double temperature() const
Returns the current temperature (K) of the reactor's contents.
bool install(ReactorBase &leftReactor, ReactorBase &rightReactor)
Install the wall between two reactors or reservoirs.
virtual bool ready()
True if the wall is correctly configured and ready to use.
double m_time
current reactor network time
virtual void setArea(double a)
Set the area [m^2].
Func1 * m_vf
Velocity function.
double heatFlux() const
Heat flux function evaluated at current reactor network time.
double vdot(double t) override
Rate of volume change (m^3/s) for the adjacent reactors.
double heatRate() override
Heat flow rate through the wall (W).
double m_rrth
heat transfer coefficient
Func1 * m_qf
Heat flux function.
double m_k
expansion rate coefficient
double Q(double t) override
Heat flow rate through the wall (W).
double velocity() const
Wall velocity at current reactor network time.
double expansionRate() override
Rate of volume change (m^3/s) for the adjacent reactors.
const double StefanBoltz
Stefan-Boltzmann constant [W/m2/K4].
Namespace for the Cantera kernel.
void warn_deprecated(const string &source, const AnyBase &node, const string &message)
A deprecation warning for syntax in an input file.
Contains declarations for string manipulation functions within Cantera.