Cantera  3.1.0b1
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", "my_mfc");
shared_ptr< FlowDevice > newFlowDevice(const string &model, const string &name)
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, const string &name="(none)")
 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,
const string &  name = "(none)" 
)

Create a FlowDevice object of the specified type.

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

Definition at line 42 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:
Replaced by newFlowDevice. To be removed after Cantera 3.1.

Definition at line 47 of file FlowDeviceFactory.cpp.