Cantera  3.1.0a1
Loading...
Searching...
No Matches

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 newFlowDevice() function, for example:

shared_ptr<FlowDevice> mfc = newFlowDevice("MassFlowController");
shared_ptr< FlowDevice > newFlowDevice(const string &model)
Create a FlowDevice object of the specified type.

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

shared_ptr< FlowDevicenewFlowDevice (const string &model)
 Create a FlowDevice object of the specified type.
 
shared_ptr< FlowDevicenewFlowDevice3 (const string &model)
 Create a FlowDevice object of the specified type.
 

Function Documentation

◆ newFlowDevice()

shared_ptr< FlowDevice > newFlowDevice ( const string &  model)

Create a FlowDevice object of the specified type.

Since
Starting in Cantera 3.1, this method returns a shared_ptr<FlowDevice>

Definition at line 36 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.
Deprecated:
Transitional method. Use newFlowDevice() instead.

Definition at line 41 of file FlowDeviceFactory.cpp.