ConnectorNode objects connect zero-dimensional reactors. More...
ConnectorNode objects connect zero-dimensional reactors.
ConnectorNode objects should be instantiated via the newConnectorNode() function, for example:
where r0
and r1
are reactor objects.
Classes | |
class | ConnectorNode |
Base class for walls and flow devices connecting reactors. More... | |
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... | |
class | WallBase |
Base class for 'walls' (walls, pistons, etc.) connecting reactors. More... | |
class | Wall |
Represents a wall between between two ReactorBase objects. More... | |
Functions | |
shared_ptr< ConnectorNode > | newConnectorNode (const string &model, shared_ptr< ReactorBase > r0, shared_ptr< ReactorBase > r1, const string &name="(none)") |
Create a ConnectorNode object of the specified type. | |
shared_ptr< FlowDevice > | newFlowDevice (const string &model, const string &name="(none)") |
Create a FlowDevice object of the specified type. | |
shared_ptr< FlowDevice > | newFlowDevice (const string &model, shared_ptr< ReactorBase > r0, shared_ptr< ReactorBase > r1, const string &name="(none)") |
Create a FlowDevice object of the specified type. | |
shared_ptr< WallBase > | newWall (const string &model, const string &name="(none)") |
Create a WallBase object of the specified type. | |
shared_ptr< WallBase > | newWall (const string &model, shared_ptr< ReactorBase > r0, shared_ptr< ReactorBase > r1, const string &name="(none)") |
Create a WallBase object of the specified type. | |
shared_ptr< ConnectorNode > newConnectorNode | ( | const string & | model, |
shared_ptr< ReactorBase > | r0, | ||
shared_ptr< ReactorBase > | r1, | ||
const string & | name = "(none)" |
||
) |
Create a ConnectorNode object of the specified type.
model | String specifying reactor type. |
r0 | First reactor. |
r1 | Second reactor. |
name | Name of the connector. |
Definition at line 47 of file ConnectorFactory.cpp.
shared_ptr< FlowDevice > newFlowDevice | ( | const string & | model, |
const string & | name = "(none)" |
||
) |
Create a FlowDevice object of the specified type.
shared_ptr<FlowDevice>
Definition at line 68 of file ConnectorFactory.cpp.
shared_ptr< FlowDevice > newFlowDevice | ( | const string & | model, |
shared_ptr< ReactorBase > | r0, | ||
shared_ptr< ReactorBase > | r1, | ||
const string & | name = "(none)" |
||
) |
Create a FlowDevice object of the specified type.
model | String specifying reactor type. |
r0 | First reactor. |
r1 | Second reactor. |
name | Name of the connector. |
Definition at line 55 of file ConnectorFactory.cpp.
shared_ptr< WallBase > newWall | ( | const string & | model, |
const string & | name = "(none)" |
||
) |
Create a WallBase object of the specified type.
shared_ptr<WallBase>
Definition at line 88 of file ConnectorFactory.cpp.
shared_ptr< WallBase > newWall | ( | const string & | model, |
shared_ptr< ReactorBase > | r0, | ||
shared_ptr< ReactorBase > | r1, | ||
const string & | name = "(none)" |
||
) |
Create a WallBase object of the specified type.
model | String specifying reactor type. |
r0 | First reactor. |
r1 | Second reactor. |
name | Name of the connector. |
Definition at line 75 of file ConnectorFactory.cpp.