|
Cantera
2.4.0
|
A class for mass flow controllers. More...
#include <flowControllers.h>
Public Member Functions | |
| virtual bool | ready () |
| virtual void | updateMassFlowRate (doublereal time) |
| If a function of time has been specified for mdot, then update the stored mass flow rate. More... | |
Public Member Functions inherited from FlowDevice | |
| FlowDevice (const FlowDevice &)=delete | |
| FlowDevice & | operator= (const FlowDevice &)=delete |
| int | type () |
| Return an integer indicating the type of flow device. More... | |
| doublereal | massFlowRate (double time=-999.0) |
| Mass flow rate (kg/s). More... | |
| doublereal | outletSpeciesMassFlowRate (size_t k) |
| Mass flow rate (kg/s) of outlet species k. More... | |
| doublereal | enthalpy_mass () |
| specific enthalpy More... | |
| bool | install (ReactorBase &in, ReactorBase &out) |
| Install a flow device between two reactors. More... | |
| ReactorBase & | in () const |
| Return a reference to the upstream reactor. More... | |
| const ReactorBase & | out () const |
| Return a const reference to the downstream reactor. More... | |
| virtual void | setParameters (int n, const double *coeffs) |
| set parameters. More... | |
| void | setFunction (Func1 *f) |
| Set a function of a single variable that is used in determining the mass flow rate through the device. More... | |
| void | setMassFlowRate (doublereal mdot) |
| Set the fixed mass flow rate (kg/s) through the flow device. More... | |
Additional Inherited Members | |
Protected Attributes inherited from FlowDevice | |
| doublereal | m_mdot |
| Func1 * | m_func |
| vector_fp | m_coeffs |
| int | m_type |
A class for mass flow controllers.
The mass flow rate is constant or specified as a function of time..
Definition at line 19 of file flowControllers.h.
|
inlinevirtual |
If a function of time has been specified for mdot, then update the stored mass flow rate.
Otherwise, mdot is a constant, and does not need updating.
Reimplemented from FlowDevice.
Definition at line 33 of file flowControllers.h.
References Func1::eval().
1.8.14