MSRC

Pneumatic Mass Flow Source

Pneumatics
Run the live example Free · no sign-up · runs in your browser

The Pneumatic Mass Flow Source injects a specified mass flow rate m_dot into the pneumatic network, acting as a Neumann boundary condition.

Real-World Analog: Represents a positive-displacement compressor delivery port or mass flow controller that injects a predetermined gas mass flow rate into a vessel.

Mathematical Model

m˙=m˙source\dot{m} = \dot{m}_{source}

Inputs & Outputs

Direction ID Label Type Status
→ In in in number Optional
→ In port_a A number Required
→ In port_b B number Required

Parameters

Parameters Label Type Default Description
mass_flow Mass flow rate number 0.01 Gas mass flow rate injected from port B to port A [kg/s]

Usage Examples

Constant mass flow charging

In examples/basic-pneumaticmassflowsource.json, a constant 5 g/s (0.005 kg/s) mass flow source injects gas into a 20 L receiver vessel with linear pressure growth.

Mass flow controller injection

Gas injection under variable process counter-pressure.

Remarks & Best Practices

  • Neumann boundary: Injects flow directly into the KCL right-hand side vector.
  • Controlled: Can be overridden dynamically via port in.

Related Components