| Cantera 3.0.0

Loading...
Searching...
No Matches
Classes | Functions
Flow Devices
Zero-Dimensional Reactor Networks

Flow device objects connect zero-dimensional reactors. More...

Collaboration diagram for Flow Devices:

## Detailed Description

Flow device objects connect zero-dimensional reactors.

FlowDevice objects should be instantiated via the newFlowDevice3() function, for example:

shared_ptr<FlowDevice> mfc = newFlowDevice3("MassFlowController");
Cantera::newFlowDevice3
shared_ptr< FlowDevice > newFlowDevice3(const string &model)
Create a FlowDevice object of the specified type.
Definition FlowDeviceFactory.cpp:51

## Classes
class | MassFlowController
| A class for mass flow controllers. More...
class | PressureController
| A class for flow controllers where the flow rate is equal to the flow rate of a primary mass flow controller plus a correction proportional to the pressure difference between the inlet and outlet. More...
class | Valve
| Supply a mass flow rate that is a function of the pressure drop across the valve. More...
class | FlowDevice
| Base class for 'flow devices' (valves, pressure regulators, etc.) connecting reactors. More...

## Functions
FlowDevice * | newFlowDevice (const string &model)
| Create a FlowDevice object of the specified type.
shared_ptr< FlowDevice > | newFlowDevice3 (const string &model)
| Create a FlowDevice object of the specified type.

## Function Documentation

## ◆ newFlowDevice()

FlowDevice * newFlowDevice | ( | const string & | model | ) |

Create a FlowDevice object of the specified type.

Deprecated:
  To be changed after Cantera 3.0; for new behavior, see newFlowDevice3().

Definition at line 44 of file FlowDeviceFactory.cpp.

## ◆ newFlowDevice3()

shared_ptr< FlowDevice > newFlowDevice3 | ( | const string & | model | ) |

Create a FlowDevice object of the specified type.

Since
  New in Cantera 3.0.

Todo:
  Transition back to newFlowDevice() after Cantera 3.0

Definition at line 51 of file FlowDeviceFactory.cpp.