Pneumatic Orifice
Pneumatics
Run the live example
Free · no sign-up · runs in your browser
The Pneumatic Orifice models a fixed restriction, throttle nozzle, or constriction adhering strictly to ISO 6358 compressible gas dynamics.
Real-World Analog: Represents a fixed restriction such as an exhaust silencer, a small pinhole leak in an airline coupling, or a calibrated flow restrictor controlling cylinder speed.
Mathematical Model
Where:
Cis sonic conductance in m³/(s·Pa)bis the critical pressure ratio (0.528 for air)p_upandp_downare upstream and downstream absolute pressures (Pa)\rho_0= 1.185 kg/m³ andT_0= 293.15 K
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | port_a |
A | number | Required |
| → In | port_b |
B | number | Required |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
sonic_conductance |
Sonic conductance (C) | number | 1e-8 |
ISO 6358 sonic conductance C (1e-8 m³/(s·Pa) ≈ 600 L/(min·bar)) |
critical_pressure_ratio |
Critical ratio (b) | number | 0.528 |
Critical pressure ratio b (0.528 for dry air) |
temperature |
Temperature | number | 293.15 |
Upstream gas temperature in Kelvin |
Usage Examples
Choked orifice discharge
In examples/basic-pneumaticorifice.json, air from a 6 bar supply discharges to atmosphere through an orifice with C = 1e-8 m³/(s·Pa). Flow is sonic and choked at 0.00711 kg/s.
Subsonic throttle drop
A small pressure drop across the restriction in the subsonic regime (p_down / p_up > 0.528).
Remarks & Best Practices
- ISO 6358 compliant: Accurately simulates the speed-of-sound choke at Mach 1.
- Bidirectional: Handles reverse flow automatically depending on relative pressures.