NmΒ³ / SmΒ³ β mass: Ο_ref = 101325Β·M / (RΒ·T_ref) T_ref = 273.15 K (N) or 288.15 K (S), Z_ref = 1
V = Q_act / (Ο/4Β·IDΒ²) Β· Re = ΟΒ·VΒ·D / ΞΌ β Churchill (1977) β Darcy f
ΞP/L = fΒ·ΟΒ·VΒ² / (2D) [Pa/m] Β· ΞP_total = ΞP/L Γ (L + L_eq)
ΟvΒ² = ΟΒ·VΒ² [Pa] β momentum flux (noise / vibration / erosion screening)
Utilisation = value / limit β the highest utilisation over all active cases governs the size.
What this tool does
It sizes one gas line for up to 3 operating cases (e.g. minimum, normal, maximum) and shows up to 4 pipe sizes side by side. For every case Γ size combination you see velocity, pressure drop, ΟvΒ², Reynolds number and friction factor β so you can see directly what happens when you go one size up or down, and which case governs.
Step by step
- Project data β fill in project, line number, doc no. and revision. This only goes on the print and in the file name; it does not affect the results.
- Common data β pipe roughness Ξ΅, pipe length and the equivalent length of fittings and valves. These apply to all cases.
- Design criteria β enter the limits from your project / company specification. Set a limit to
0to skip that check. - Operating cases β choose the flow basis (kg/h, AmΒ³/h, NmΒ³/h or SmΒ³/h), then enter flow, pressure, temperature, molar weight, Z and viscosity per case. Untick use to leave a case out.
- Pipe sizes β pick NPS and schedule for each column. OD, wall thickness and ID update immediately. Untick use to hide a size.
- Press the orange βΆ CALCULATE button. Results only update when you press it. If you change an input afterwards, the results turn grey and the button pulses until you calculate again.
- Save your work as a .json file, Open it later, or Print it (landscape A4).
Reading the comparison matrix
- Green cell β within the limit. Red β exceeds the limit. Orange β warning (total ΞP above the ΞP warning limit, see below).
- Governing utilisation β the highest value Γ· limit over all active cases and all checked criteria. It tells you which case and which criterion decide the size.
- β column β the smallest selected size that passes all criteria for all active cases.
- The charts show velocity, ΞP/100 m and ΟvΒ² per size, one line per case, with the limit as a red dashed line.
The ΟvΒ² limit β what it is, and when to use it
ΟvΒ² (density Γ velocityΒ², in Pa) is the momentum flux of the flow. It is a screening criterion for erosion, flow-induced vibration / fatigue (small-bore connections, branches, poorly supported piping) and noise. For gas it says more than velocity alone: 20 m/s at 5 kg/mΒ³ is mild, but 20 m/s at 80 kg/mΒ³ carries 16Γ more momentum.
Use a ΟvΒ² limit when:
- the project / company specification requires it (this always governs);
- the gas is wet or may carry liquid droplets, or it is two-phase;
- the service may carry sand or solids (erosive service);
- you are screening for vibration β high-pressure gas, compressor / letdown stations, many small-bore branches;
- it is a flare / relief line β here ΟvΒ² is often specified together with Mach number, with a much higher limit.
Set it to 0 (not checked) when: the line is clean, dry product gas and your specification gives no ΟvΒ² limit. The verdict then follows velocity and ΞP/100 m.
Where the numbers come from
| Source | What it says | Typical value |
|---|---|---|
| API RP 14E | Erosional velocity Ve = C/βΟ (imperial). Squared this is ΟvΒ² = CΒ² β a ΟvΒ² limit in disguise. | C = 100 β β 15,000 Pa (the default in this tool, conservative) C = 125 β β 23,000 Pa C = 150 β β 33,500 Pa |
| NORSOK P-001 | Gas velocity limit for noise: V = 175Β·(1/Ο)0.43 m/s. | β 42,000 Pa at 10 kg/mΒ³ β 54,000 Pa at 60 kg/mΒ³ |
| Energy Institute (2008) β vibration-induced fatigue guideline | Uses ΟvΒ² with pipe size and support stiffness to score the likelihood of failure. | No single limit β tells you when a detailed vibration study is needed |
| Company / project spec | Fixed limit per service, derived from the above. | Project-specific β this is the binding number |
Do not confuse this with vessel / separator inlet nozzle ΟvΒ² limits β those depend on the inlet device, are much lower and apply only to the nozzle.
ΞP warning limit (% of absolute inlet pressure)
This tool uses the Darcy-Weisbach equation with a constant gas density, calculated at inlet conditions. In reality the gas expands as the pressure falls along the line: density drops, velocity rises, and the friction loss per metre increases towards the outlet. With inlet density the calculated pressure drop is therefore too low (non-conservative), and the real outlet velocity is higher than shown.
How large this error is depends on the total pressure drop compared to the absolute inlet pressure. Crane Technical Paper No. 410 (Flow of Fluids Through Valves, Fittings and Pipe, Chapter 1 β compressible flow) gives these rules for applying Darcy-Weisbach to gases:
| Total ΞP as % of Pin (abs) | Darcy-Weisbach for gas |
|---|---|
| < 10 % | Reasonable accuracy with density at inlet (or outlet) conditions β as used in this tool. |
| 10 β 40 % | Reasonable accuracy if the average density (at the mean of inlet and outlet pressure) is used. This tool uses inlet density, so results in this band are somewhat optimistic. |
| > 40 % | Darcy-Weisbach is not suitable. Use a compressible-flow calculation (isothermal or adiabatic, as appropriate), accounting for density variation and potential choking. |
The default warning limit is therefore 40 %. Combinations above the limit are marked orange in the matrix and listed in the warning note. You can set a stricter value (e.g. 10 %) to also flag the band where average density would be needed. In practice, a line with a pressure drop this large is usually undersized anyway.
Reference: Crane Co., Flow of Fluids Through Valves, Fittings and Pipe, Technical Paper No. 410 (TP-410 / metric edition TP-410M), Chapter 1.
Limitations
- Single-phase gas only; no elevation (static head) term β negligible for gas.
- Constant density per case (see ΞP warning above). No Mach-number or choked-flow check.
- Results are for preliminary engineering and must be verified by a qualified process engineer.