flowControllers.cpp Source File#
flowControllers.cpp
Go to the documentation of this file.
Base class for exceptions thrown by Cantera classes.
Definition ctexceptions.h:66
Func1 * m_tfunc
Function set by setTimeFunction; used by updateMassFlowRate.
Definition FlowDevice.h:124
double m_coeff
Coefficient set by derived classes; used by updateMassFlowRate.
Definition FlowDevice.h:127
const ReactorBase & out() const
Return a const reference to the downstream reactor.
Definition FlowDevice.h:76
virtual void updateMassFlowRate(double time)
Update the mass flow rate at time 'time'.
Definition FlowDevice.h:50
Func1 * m_pfunc
Function set by setPressureFunction; used by updateMassFlowRate.
Definition FlowDevice.h:121
void setMassFlowRate(double mdot)
Set the fixed mass flow rate (kg/s) through the mass flow controller.
Definition flowControllers.cpp:13
void updateMassFlowRate(double time) override
If a function of time has been specified for mdot, then update the stored mass flow rate.
Definition flowControllers.cpp:21
void updateMassFlowRate(double time) override
Update the mass flow rate at time 'time'.
Definition flowControllers.cpp:34
double pressure() const
Returns the current pressure (Pa) of the reactor.
Definition ReactorBase.h:224
void updateMassFlowRate(double time) override
Compute the current mass flow rate, based on the pressure difference.
Definition flowControllers.cpp:52
Some flow devices derived from class FlowDevice.
Generated by 1.9.7