32 virtual string type()
const {
42 virtual double vdot(
double t) {
44 "To be removed; replaceable by 'expansionRate'.");
65 virtual double Q(
double t) {
67 "To be removed; replaceable by 'heatRate'.");
97 return (m_left != 0 && m_right != 0);
169 double vdot(
double t)
override;
205 double Q(
double t)
override;
220 void setThermalResistance(
double Rth) {
236 if (epsilon > 1.0 || epsilon < 0.0) {
238 "emissivity must be between 0.0 and 1.0");
Base class for exceptions thrown by Cantera classes.
Base class for 'functor' classes that evaluate a function of one variable.
Base class for stirred reactors.
Base class for 'walls' (walls, pistons, etc.) connecting reactors.
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.
virtual double expansionRate()
Rate of volume change (m^3/s) for the adjacent reactors at current reactor network time.
virtual string type() const
String indicating the wall model implemented.
double m_time
current reactor network time
void setSimTime(double time)
Set current reactor network time.
const ReactorBase & right()
Return a reference to the Reactor or Reservoir to the right of the wall.
virtual void initialize()
Called just before the start of integration.
virtual double vdot(double t)
Rate of volume change (m^3/s) for the adjacent reactors.
double area()
Area in (m^2).
virtual void setArea(double a)
Set the area [m^2].
virtual double Q(double t)
Heat flow rate through the wall (W).
virtual double heatRate()
Heat flow rate through the wall (W) at current reactor network time.
ReactorBase & left() const
Return a reference to the Reactor or Reservoir to the left of the wall.
Represents a wall between between two ReactorBase objects.
Func1 * m_vf
Velocity function.
double getHeatTransferCoeff() const
Get the overall heat transfer coefficient [W/m^2/K].
string type() const override
String indicating the wall model implemented.
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.
void setExpansionRateCoeff(double k)
Set the expansion rate coefficient.
void setEmissivity(double epsilon)
Set the emissivity.
double heatRate() override
Heat flow rate through the wall (W).
void setHeatFlux(Func1 *q)
Specify the heat flux function .
double m_rrth
heat transfer coefficient
double getExpansionRateCoeff() const
Get the expansion rate 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 getEmissivity() const
Get the emissivity.
double velocity() const
Wall velocity at current reactor network time.
double expansionRate() override
Rate of volume change (m^3/s) for the adjacent reactors.
void setVelocity(Func1 *f=0)
Set the wall velocity to a specified function of time, .
void setHeatTransferCoeff(double U)
Set the overall heat transfer coefficient [W/m^2/K].
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
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.