AIENGINEAR CALCULATOR SUITE · PROCESS & THERMODYNAMICS
Quick answer: what is the Advanced Process & Thermodynamic Suite?
It is a free, browser-based process engineering calculator that brings eight everyday checks into one interface: vapour pressure (Antoine and IAPWS), saturated liquid density (Rackett), pipe pressure drop (Darcy–Weisbach with Colebrook–White, fittings and elevation), erosional velocity (API RP 14E), vessel shell and head thickness (ASME VIII-1 UG-27 and UG-32), two-phase pressure gradient (Beggs & Brill), gas Z-factor (Dranchuk–Abou-Kassem) and relief valve orifice size (API 520 and API 526).
Every answer shows the equation with your numbers substituted, flags out-of-range inputs, and can be printed as an Aienginear-branded report or exported to CSV. An 11-point self-test runs each time the tool opens.
Key takeaways
- Water at 100 °C gives 101.34 kPa from Antoine and 101.42 kPa from IAPWS, so both reproduce the normal boiling point.
- 50 m³/h of water in 4 in Sch 40 pipe loses about 26.2 kPa per 100 m at 1.69 m/s, inside the usual 1 to 3 m/s liquid range.
- Hoop stress governs a thin cylinder; a 1500 mm vessel at 10 bar g needs 9.5 mm including 3 mm corrosion allowance.
- API RP 14E limits are screening values for solids-free fluids; with sand use a particle erosion model.
- Results are preliminary and must be checked by a qualified engineer against the governing code edition.
Open the calculator
Pick a module from the tabs, type your values and read the result on the right. Use Load worked example to reproduce the examples further down this page.
Calculator v5.0.0 · Open full screen in a new tab
How to use the suite
- Choose the module that matches your question. The tabs follow the order of a typical study, from fluid properties to relief sizing.
- Enter inputs in the units shown next to each label. Invalid or out-of-range numbers turn red and the result waits until they are fixed.
- Read the key result, highlighted in orange, and the status badge. Green means inside the method’s range, amber means check, red means the method or the design fails.
- Open the calculation trace to see each equation with your numbers. This is what a checker needs to sign off a calculation.
- Read the engineering notes. They explain what to do next, such as moving up a pipe size or switching to a thick-wall formula.
- Print or export. Print report gives an Aienginear-branded sheet with inputs, results, trace and notes. CSV saves the same data for your calculation file.
The eight modules
Most free calculators answer one narrow question. A real line or vessel study needs several answers that depend on each other: the vapour pressure decides the NPSH margin, the density feeds the pressure drop, the velocity feeds the erosion check, and the design pressure feeds both the vessel thickness and the relief valve. The table below shows what each module does and where its method comes from.
Aienginear Table 1
The eight modules at a glance
Method, governing document and the design question each module answers
| # | Module | Method in the code | Standard or source | Answers the question |
|---|---|---|---|---|
| 1 | Vapour pressure | Antoine; IAPWS saturation line for water | Antoine (1888) constants; IAPWS SR1-86(1992) | Will it flash, boil or cavitate at this temperature? |
| 2 | Liquid density | Rackett with Yamada–Gunn ZRA; IAPWS for water | Rackett (1970); Yamada & Gunn (1973) | What volume does this mass occupy at temperature? |
| 3 | Pipe pressure drop | Darcy–Weisbach, Colebrook–White, Churchill, K-method | Crane TP-410 practice; Colebrook (1939) | How much pressure does this line consume? |
| 4 | Erosional velocity | Ve = C/√ρm, homogeneous mixture option | API RP 14E §2.5 | Is this line fast enough to erode? |
| 5 | ASME vessel | UG-27 shell, UG-32 heads, UG-16 minimum, UG-99/UG-100 tests | ASME BPVC VIII-1, 2025 edition | How thick must the shell and heads be? |
| 6 | Two-phase flow | Beggs & Brill with revised map, optional Payne | Beggs & Brill (1973); Payne et al. (1979) | What is the flow pattern and gradient? |
| 7 | Gas Z-factor | Sutton pseudo-criticals, Wichert–Aziz, DAK, Hall–Yarborough check | SPE literature (1972 to 1985) | How far from ideal is this gas? |
| 8 | Relief valve | Critical and subcritical gas sizing, API 526 letter | API STD 520 Part I; API STD 526 | Which orifice letter does this load need? |
Vapour pressure: Antoine equation and IAPWS
Vapour pressure is the pressure at which a liquid boils at a given temperature. It sets the NPSH available to a pump, decides whether a liquid flashes across a control valve, and drives breathing losses from storage tanks. The suite uses the three-constant Antoine equation, a compact fit of the Clausius–Clapeyron relationship:
Antoine constants are only accurate over the temperature range they were fitted to. The suite stores that range for each fluid and warns when you leave it. For water it also solves the IAPWS SR1-86(1992) saturation equation, the international reference for ordinary water, and reports the difference so you can see when Antoine starts to drift. For accurate pure-component data beyond these fluids, the NIST Chemistry WebBook is a reliable free source.
Aienginear Table 2
Antoine constants built into the suite
log₁₀P[mmHg] = A − B/(C + T[°C]); valid only inside the fitted range
| Fluid | A | B | C | Fitted range (°C) | Normal boiling point from Antoine (°C) |
|---|---|---|---|---|---|
| Water | 8.0713 | 1,730.63 | 233.426 | 1 to 100 | 100 |
| Methanol | 8.081 | 1,582.271 | 239.726 | 15 to 84 | 64.5 |
| Ethanol | 8.2042 | 1,642.89 | 230.3 | -57 to 80 | 78.3 |
| Isopropanol | 8.8783 | 2,010.32 | 252.636 | -26 to 83 | 82.6 |
| Acetone | 7.0245 | 1,161 | 224 | -13 to 55 | 56.2 |
| Benzene | 6.9057 | 1,211.033 | 220.79 | 8 to 103 | 80.1 |
| Toluene | 6.9546 | 1,344.8 | 219.482 | 6 to 137 | 110.6 |
| n-Hexane | 6.876 | 1,171.17 | 224.41 | -25 to 92 | 68.7 |
| n-Heptane | 6.8939 | 1,264.37 | 216.636 | -2 to 124 | 98.4 |
| Ammonia | 7.3605 | 926.132 | 240.17 | -83 to 60 | -33.4 |
Design tip
For pump suction, use the vapour pressure at the highest credible liquid temperature, not the normal operating value. A few degrees can halve the NPSH margin for light hydrocarbons. The Aienginear Pump Sizing Calculator takes this value directly.
Liquid density: the Rackett equation
Volumetric flow, line velocity and tank inventory all depend on liquid density at the actual temperature. The Rackett equation predicts the density of a saturated liquid from its critical constants, using a single parameter ZRA. When measured ZRA is not available, the Yamada–Gunn estimate from the acentric factor is used:
For non-polar and weakly polar liquids below about 90 % of the critical temperature this is usually within 1 to 3 %. Alcohols, amines and water are harder because hydrogen bonding packs the molecules more tightly than corresponding-states theory expects. The suite therefore switches water to the IAPWS saturated liquid density equation and tells you why.
Aienginear Table 3
Critical constants used by the Rackett density module
Molar mass, critical temperature and pressure, acentric factor and the Yamada–Gunn ZRA
| Fluid | M (g/mol) | Tc (K) | Pc (bar) | ω | ZRA | ρ at 25 °C, Rackett (kg/m³) |
|---|---|---|---|---|---|---|
| Water | 18.015 | 647.096 | 220.64 | 0.3443 | 0.2603 | 876.7 |
| Methanol | 32.042 | 512.5 | 80.84 | 0.5658 | 0.2409 | 765.3 |
| Ethanol | 46.069 | 514 | 61.37 | 0.6436 | 0.2341 | 877.7 |
| Isopropanol | 60.096 | 508.3 | 47.62 | 0.6669 | 0.232 | 907.9 |
| Acetone | 58.08 | 508.1 | 47 | 0.3065 | 0.2637 | 690.3 |
| Benzene | 78.114 | 562.05 | 48.95 | 0.2103 | 0.2721 | 858.2 |
| Toluene | 92.141 | 591.75 | 41.08 | 0.264 | 0.2674 | 846.9 |
| n-Hexane | 86.177 | 507.6 | 30.25 | 0.301 | 0.2641 | 657.5 |
| n-Heptane | 100.2 | 540.2 | 27.4 | 0.3495 | 0.2599 | 686.6 |
| Ammonia | 17.031 | 405.4 | 113.33 | 0.256 | 0.2681 | 525.5 |
Single-phase pressure drop: Darcy–Weisbach and Colebrook–White
The Darcy–Weisbach equation is the dimensionally consistent way to calculate friction loss in a full pipe, valid for any Newtonian fluid that does not change density much along the line. The work lies in the friction factor f, which depends on the Reynolds number and the relative roughness ε/D.
The suite solves Colebrook–White by iteration rather than using an explicit approximation, so the friction factor matches the Moody chart exactly. Between Re 2000 and 4000 flow is unstable; there the Churchill (1977) equation gives a smooth bridge and the tool tells you that friction is uncertain. Fitting losses use the K-method, and the static term handles lift or fall between inlet and outlet. For a full line with pipe schedules, use the dedicated Pipe Pressure Drop Calculator.
Aienginear Table 4
Absolute roughness ε for common pipe materials
Typical new-pipe values; aged or fouled pipe can be several times rougher
| Pipe material and condition | ε (mm) | ε (in) | ε/D for 4 in Sch 40 (ID 102.26 mm) |
|---|---|---|---|
| Drawn tubing, glass, PVC, PE | 0.0015 | 0.00006 | 0.000015 |
| Stainless steel, new | 0.015 to 0.045 | 0.0006 to 0.0018 | 0.00029 |
| Commercial carbon steel, new | 0.045 | 0.0018 | 0.00044 |
| Carbon steel, light rust | 0.15 to 0.3 | 0.006 to 0.012 | 0.00196 |
| Galvanised steel | 0.15 | 0.006 | 0.00147 |
| Cast iron, uncoated | 0.26 | 0.010 | 0.00254 |
| Cement-lined ductile iron | 0.3 to 1.0 | 0.012 to 0.04 | 0.00489 |
| Concrete | 0.3 to 3.0 | 0.012 to 0.12 | 0.00978 |
Aienginear Table 5
Resistance coefficients K for fittings and valves
Crane-style K = n·fT; values shown for a 4 in clean steel line with fT ≈ 0.017
| Fitting or valve | Multiplier n | K (4 in, fT = 0.017) | Equivalent length L/D |
|---|---|---|---|
| 90° standard elbow, threaded or welded r/D = 1 | 30 | 0.51 | 30 |
| 90° long-radius elbow r/D = 1.5 | 14 | 0.24 | 14 |
| 45° standard elbow | 16 | 0.27 | 16 |
| Tee, flow through run | 20 | 0.34 | 20 |
| Tee, flow through branch | 60 | 1.02 | 60 |
| Gate valve, fully open | 8 | 0.14 | 8 |
| Ball valve, full bore, open | 3 | 0.05 | 3 |
| Butterfly valve, 2 to 8 in, open | 45 | 0.77 | 45 |
| Globe valve, fully open | 340 | 5.78 | 340 |
| Swing check valve | 100 | 1.7 | 100 |
| Pipe entrance, sharp edged | — | 0.5 | — |
| Pipe exit into a tank | — | 1.0 | — |
Erosional velocity: API RP 14E
High velocity in production and process piping can remove protective corrosion films and wear the wall at elbows and tees. API RP 14E gives a widely used screening limit, written in field units:
The mixture density can be entered directly or calculated from the liquid and gas rates at line conditions using a homogeneous (no-slip) mix. The C-factor is empirical and conservative for clean, inhibited service; it says nothing about sand. Research over the last two decades has shown that the equation is not a physical erosion model, so treat it as a screening check and use a particle impact model where solids are expected. RP 14E also recommends keeping two-phase lines above about 3 m/s (10 ft/s) to limit slugging.
Aienginear Table 6
API RP 14E C-factor selection guide
C is an empirical number in field units; larger C allows higher velocity
| Service | C | Ve at ρm = 50 kg/m³ (m/s) | Ve at ρm = 500 kg/m³ (m/s) | Basis |
|---|---|---|---|---|
| Continuous, solids-free | 100 | 17.3 | 5.5 | RP 14E |
| Intermittent, solids-free | 125 | 21.6 | 6.8 | RP 14E |
| Continuous, corrosion inhibited or CRA | 150 to 200 | 25.9 to 34.5 | 8.2 to 10.9 | RP 14E allows with justification |
| Clean service, corrosion-resistant alloy | up to 250 and above | 43.1 | 13.6 | Operator practice, documented study |
| Sand present | not applicable | — | — | Use a particle erosion model such as DNV-RP-O501 |
ASME VIII-1 shell and head thickness
Module 5 applies the internal pressure rules of ASME BPVC Section VIII Division 1. It works in the corroded condition: the corrosion allowance is added to the inside radius before the thickness is calculated and added again to the result. Both the circumferential (hoop) and longitudinal equations of UG-27 are solved and the larger governs, then the UG-16(b) minimum of 1.5 mm is applied.
Enter the nominal plate you intend to buy together with its mill under-tolerance and the module returns the MAWP of that plate, which is usually higher than the design pressure because plate comes in standard thicknesses. Test pressures are then based on that MAWP. If pressure exceeds 0.385SE or thickness exceeds half the radius, the thin-shell equations are no longer valid and the tool stops with a red flag. For nozzles, flanges and supports, continue in the Aienginear Pressure Vessel Calculator.
Aienginear Table 7
ASME VIII-1 internal pressure formulas used in module 5
Thickness and MAWP in terms of inside dimensions, all in the corroded condition
| Component | Paragraph | Required thickness t | MAWP from thickness t | Applicability limit |
|---|---|---|---|---|
| Cylindrical shell, hoop stress | UG-27(c)(1) | PR/(SE − 0.6P) | SEt/(R + 0.6t) | t ≤ R/2 and P ≤ 0.385SE |
| Cylindrical shell, longitudinal stress | UG-27(c)(2) | PR/(2SE + 0.4P) | 2SEt/(R − 0.4t) | t ≤ R/2 and P ≤ 1.25SE |
| 2:1 ellipsoidal head | UG-32(d) | PD/(2SE − 0.2P) | 2SEt/(D + 0.2t) | Half-minor axis = D/4 |
| Torispherical head, 6 % knuckle | UG-32(e) | 0.885PL/(SE − 0.1P) | SEt/(0.885L + 0.1t) | Crown radius L = D, knuckle 0.06L |
| Hemispherical head | UG-32(f) | PL/(2SE − 0.2P) | 2SEt/(L + 0.2t) | t ≤ 0.356L and P ≤ 0.665SE |
| Minimum thickness | UG-16(b) | 1.5 mm (1/16 in) after forming, excluding CA | — | Most shells and heads |
| Hydrostatic test | UG-99(b) | — | 1.3 × MAWP × (Stest/Sdesign) | Measured at the top of the vessel |
| Pneumatic test | UG-100 | — | 1.1 × MAWP × (Stest/Sdesign) | Only where hydrotest is impractical |
Watch out
MAWP is stamped for the weakest part of the vessel, not the shell alone. Flange ratings to ASME B16.5, nozzle reinforcement to UG-37 and static liquid head at the bottom of tall vessels often control before the shell does.
Two-phase flow: Beggs & Brill
When gas and liquid flow together, pressure loss depends on how the phases arrange themselves. The Beggs & Brill method first predicts the horizontal flow pattern from the Froude number and the no-slip liquid fraction, then corrects the liquid holdup for pipe inclination, and finally applies a two-phase friction multiplier.
The method works at any angle from vertical downflow to vertical upflow, which is why it remains popular for plant lines, well tie-ins and short flowlines. The suite uses the revised (1977) pattern boundaries, lets you set the pipe roughness, and offers the optional Payne et al. correction that reduces over-predicted holdup in inclined pipe. When the result is intermittent (slug) flow, the next step is usually the Two-Phase Separator Sizing Calculator.
Aienginear Table 8
Beggs & Brill holdup and inclination coefficients
HL(0) = aλb/NFRc ; C = (1 − λ) ln(d λe NLVf NFRg)
| Flow pattern | a | b | c | d (uphill) | e | f | g |
|---|---|---|---|---|---|---|---|
| Segregated | 0.98 | 0.4846 | 0.0868 | 0.011 | -3.768 | 3.539 | -1.614 |
| Intermittent | 0.845 | 0.5351 | 0.0173 | 2.96 | 0.305 | -0.4473 | 0.0978 |
| Distributed | 1.065 | 0.5824 | 0.0609 | ψ = 1 (no correction) | — | — | — |
| All patterns, downhill | — | — | — | 4.7 | -0.3692 | 0.1244 | -0.5056 |
Natural gas Z-factor
Real gas density is ρ = PM/(ZRT), so an error in Z goes straight into velocity, pressure drop, compressor power and relief area. The suite estimates pseudo-critical properties from gas specific gravity with Sutton (1985), corrects them for H₂S and CO₂ with Wichert–Aziz, and solves the Dranchuk–Abou-Kassem 11-constant equation by bracketed bisection, which cannot diverge. The Hall–Yarborough equation is solved alongside as an independent check; when the two agree within 0.01 the badge turns green.
Aienginear Table 9
Z-factor grid from the Dranchuk–Abou-Kassem equation
Rows are pseudo-reduced temperature, columns pseudo-reduced pressure
| Tpr \ Ppr | 0.5 | 1 | 2 | 4 | 6 | 10 |
|---|---|---|---|---|---|---|
| 1.05 | 0.83 | 0.587 | 0.328 | 0.565 | 0.796 | 1.233 |
| 1.20 | 0.895 | 0.778 | 0.553 | 0.605 | 0.794 | 1.177 |
| 1.40 | 0.938 | 0.876 | 0.765 | 0.719 | 0.831 | 1.138 |
| 1.60 | 0.961 | 0.924 | 0.862 | 0.825 | 0.891 | 1.128 |
| 2.00 | 0.982 | 0.967 | 0.946 | 0.943 | 0.986 | 1.144 |
| 3.00 | 0.998 | 0.998 | 1.002 | 1.025 | 1.064 | 1.171 |
Relief valve sizing: API 520 Part I
Module 8 sizes a pressure relief valve for gas or vapour. Relieving pressure is the set pressure plus allowable overpressure plus atmospheric pressure. If the back pressure is below the critical pressure ratio, flow through the nozzle is choked and the critical-flow equation applies; otherwise the subcritical form with coefficient F2 is used.
The required area is then matched to the smallest API 526 orifice letter that is large enough. The relieving rate must come from a scenario review to API 521, for which the PSV Relief Load Calculator and the Tube Rupture Relief Valve Suite are the starting points.
Aienginear Table 10
API STD 526 standard orifice designations
Effective areas used for preliminary relief valve selection
| Letter | Effective area (in²) | Effective area (mm²) | Typical inlet × outlet (in) |
|---|---|---|---|
| D | 0.110 | 71 | 1 × 2 |
| E | 0.196 | 126 | 1 × 2 |
| F | 0.307 | 198 | 1.5 × 2 |
| G | 0.503 | 325 | 1.5 × 2.5 |
| H | 0.785 | 506 | 1.5 × 3 |
| J | 1.287 | 830 | 2 × 3 |
| K | 1.838 | 1,186 | 3 × 4 |
| L | 2.853 | 1,841 | 3 × 4 |
| M | 3.60 | 2,323 | 4 × 6 |
| N | 4.34 | 2,800 | 4 × 6 |
| P | 6.38 | 4,116 | 4 × 6 |
| Q | 11.05 | 7,129 | 6 × 8 |
| R | 16.0 | 10,323 | 6 × 8 |
| T | 26.0 | 16,774 | 8 × 10 |
Worked examples
Each example below can be reproduced in the calculator with the Load worked example button.
Example 1: vapour pressure of water at 100 °C
With A = 8.07131, B = 1730.63 and C = 233.426: log10P = 8.07131 − 1730.63/333.426 = 2.8809, so P = 760.1 mmHg = 101.34 kPa. The IAPWS equation gives 101.418 kPa. Both match the standard atmosphere, which confirms the constants.
Example 2: density of toluene at 25 °C
ω = 0.264 gives ZRA = 0.2674. Tr = 298.15/591.75 = 0.5038, the exponent is 1.8185, and Vs = 108.79 cm³/mol. Density is 92.141/108.79 = 846.9 kg/m³. Measured density is close to 862 kg/m³, so Rackett is about 1.7 % low here, typical of the method for aromatics.
Example 3: water line with fittings and lift
50 m³/h of water (ρ = 998 kg/m³, μ = 1.0 cP) flows through 100 m of 4 in Sch 40 carbon steel (ID 102.26 mm, ε = 0.045 mm) with fittings totalling ΣK = 4.5 and a 5 m rise. Velocity is 1.691 m/s and Re = 172,585. Colebrook gives f = 0.01879. Friction is 26.22 kPa, fittings 6.42 kPa and lift 48.94 kPa, so the total is 0.816 bar. More than half of it is static head, a reminder that elevation often outweighs friction in plant pumping.
Example 4: erosion check on a two-phase line
5 m³/h of oil (850 kg/m³) and 400 m³/h of gas (30 kg/m³) at line conditions flow in the same 4 in pipe. The homogeneous density is (5 × 850 + 400 × 30)/405 = 40.12 kg/m³ and the mixture velocity is 13.7 m/s. With C = 100, Ve = 100/√2.505 = 63.2 ft/s = 19.26 m/s. V/Ve = 0.71, a 29 % margin, which passes the screen.
Example 5: horizontal vessel shell
Design pressure 10 bar g (1.0 MPa), inside diameter 1500 mm, S = 138 MPa, E = 0.85, CA = 3 mm. The corroded radius is 753 mm. Hoop thickness is 1.0 × 753/(138 × 0.85 − 0.6) = 6.452 mm, longitudinal 3.204 mm, so the shell needs 9.45 mm with CA, and the 2:1 head 9.42 mm. Selecting 12 mm plate with 0.3 mm under-tolerance leaves 8.7 mm, giving a shell MAWP of 13.46 bar g and a hydrotest of 17.5 bar g.
Example 6: two-phase gradient, 5° uphill
Using the fluids of example 4 plus μL = 2 cP, μG = 0.015 cP, σ = 25 mN/m and 10 bar a: λL = 0.0123, NFR = 187.1, which lies above L1 = 83.8, so the pattern is distributed. Holdup is 0.0599, friction contributes 989 Pa/m and elevation 68 Pa/m, for a total of 1.073 bar per 100 m.
Example 7: Z-factor of a slightly sour gas
Gas gravity 0.65 with 2 % CO₂ at 40 °C and 70 bar a. Sutton gives Tpc = 365.1 °R and Ppc = 670.1 psia; Wichert–Aziz lowers these by 3.32 °R. Tpr = 1.558, Ppr = 1.529, and DAK returns Z = 0.8762 (Hall–Yarborough 0.8755). Gas density is 57.77 kg/m³.
Example 8: gas relief valve
Relieving rate 20 000 kg/h, set pressure 1000 kPa g, 10 % overpressure, atmospheric back pressure, 50 °C, Z = 0.95, M = 20, k = 1.27, Kd = 0.975. P1 = 1,201.3 kPa a, the flow is critical (P2/P1 = 0.084 < 0.551), C = 0.02613, and the required area is 2,560 mm². The next API 526 size is the N orifice (2800 mm²).
Aienginear Table 11
Worked example results, reproduced by the calculator
Load the worked example button in each module to see the same numbers
| # | Module | Key inputs | Key result |
|---|---|---|---|
| 1 | Vapour pressure | Water, 100 °C | 101.34 kPa (Antoine), 101.42 kPa (IAPWS) |
| 2 | Liquid density | Toluene, 25 °C | 846.9 kg/m³ (Rackett) |
| 3 | Pipe pressure drop | 50 m³/h water, 4 in Sch 40, 100 m, ΣK 4.5, +5 m | 0.816 bar total, V = 1.69 m/s |
| 4 | Erosional velocity | 5 + 400 m³/h, 850/30 kg/m³, 4 in, C = 100 | Ve = 19.3 m/s, V/Ve = 0.71 |
| 5 | ASME vessel | 10 bar g, ID 1500, S 138, E 0.85, CA 3 | Shell 9.45 mm, 12 mm plate MAWP 13.46 bar g |
| 6 | Two-phase flow | Same fluids as 4, +5° uphill | Distributed, 1.073 bar/100 m |
| 7 | Gas Z-factor | γ = 0.65, 40 °C, 70 bar a, 2 % CO₂ | Z = 0.8762, ρ = 57.8 kg/m³ |
| 8 | Relief valve | 20 000 kg/h, set 1000 kPa g, M 20, k 1.27 | 2,560 mm² → N orifice |
Common mistakes the suite helps you avoid
- Using Antoine constants outside their range. The amber badge appears as soon as you extrapolate.
- Mixing up gauge and absolute pressure. Labels say bar g, bar a or kPa a on every field; relief and Z-factor calculations need absolute pressure.
- Forgetting fittings and elevation. In short plant lines fittings and static head often exceed straight-pipe friction, as example 3 shows.
- Treating API RP 14E as an erosion model. It is a screening limit for solids-free service only.
- Stamping the shell MAWP as the vessel MAWP. Heads, nozzles and flanges may be weaker.
- Applying Beggs & Brill to large pipelines without checking. Validate against a mechanistic model or field data.
- Sizing a relief valve before the relief load is fixed. The area is only as good as the API 521 scenario behind the rate.
What is new in v5.0.0
Version 5 is an engineering review of the earlier ProcessFlow Intelligence v4.0 build. Methods were checked against their source papers and code paragraphs, weak approximations were replaced and two modules were added.
Aienginear Table 12
What changed from v4.0 to v5.0.0
Engineering corrections and additions in this release
| Area | v4.0 | v5.0.0 | Why it matters |
|---|---|---|---|
| Friction factor | Swamee–Jain explicit only | Colebrook–White iterated; Churchill in 2000 to 4000 | Removes up to about 1 % explicit-fit error and handles the transition band |
| Fittings and elevation | Straight pipe only | ΣK, equivalent length and static head | Real lines are dominated by fittings and lift |
| Water properties | Antoine and Rackett only | IAPWS SR1-86(1992) saturation pressure and liquid density | Rackett is about 8 % low for water; IAPWS is the reference |
| ASME shell | Hoop stress only, MAWP of the required thickness | Hoop and longitudinal, UG-16 minimum, MAWP of the plate you select | MAWP now reflects real plate, mill tolerance and corrosion |
| Heads | 2:1 and hemispherical | Adds 6 % torispherical (UG-32(e)) | Common head type on process vessels |
| Test pressure | 1.3 × MAWP | 1.3 × MAWP × stress ratio, plus pneumatic UG-100 | Matches the UG-99(b) definition |
| Erosion | Density entered by hand | Homogeneous mixture from liquid and gas rates | Removes a frequent manual error |
| Two-phase | Fixed roughness | User roughness, optional Payne correction, psi/100 ft output | Better agreement with field data on inclined lines |
| New modules | — | Gas Z-factor (DAK + Hall–Yarborough) and API 520 relief valve | Covers gas density and relief sizing in one place |
| Quality | No checks | 11-point self-test gate, input validation, print report, CSV, copy | Every session starts with verified benchmarks |
How the suite compares
The aim is to give a process or mechanical engineer the checking power of a spreadsheet library with the convenience of a web tool, and to be honest about where a full simulator is still needed.
Aienginear Table 13
How the suite compares with typical alternatives
Feature comparison against common categories of tools, not named products
| Capability | Aienginear suite v5 | Typical free single-purpose web calculator | Spreadsheet template | Commercial process simulator |
|---|---|---|---|---|
| Cost and access | Free, no sign-up | Free, often with ads or sign-up | Free or low cost | Licensed |
| Number of linked methods | 8 modules, one interface | One method per page | Varies | Very broad |
| Calculation trace with substituted numbers | Yes, every module | Rarely | Visible formulas | Limited |
| Applicability and range warnings | Yes, flagged in plain language | Rarely | Only if built | Yes |
| Built-in benchmark self-test | Yes, 11 checks on load | No | No | Vendor validated |
| Printable branded report and CSV | Yes | Sometimes print only | Yes | Yes |
| Works offline after load, data stays local | Yes | Usually server-side | Yes | Yes |
| Rigorous multicomponent thermodynamics | No, screening correlations | No | No | Yes |
Standards and references
Aienginear Table 14
Standards and references
Documents behind each module; always use the edition named in your project design basis
| Document | Edition or year | Used for |
|---|---|---|
| ASME BPVC Section VIII, Division 1 | 2025 edition | UG-16, UG-27, UG-32, UG-99, UG-100 |
| API RP 14E, Design and Installation of Offshore Production Platform Piping Systems | 5th edition (1991, reaffirmed) | Erosional velocity, minimum two-phase velocity |
| API STD 520 Part I, Sizing and Selection of Pressure-relieving Devices | 10th edition (2020) | Gas critical and subcritical relief area |
| API STD 521, Pressure-relieving and Depressuring Systems | 7th edition (2020) | Relief scenarios and loads (context) |
| API STD 526, Flanged Steel Pressure-relief Valves | 7th edition (2017) | Orifice letters and effective areas |
| IAPWS SR1-86(1992), saturation properties of ordinary water | 1992 revision | Water vapour pressure and liquid density |
| Crane Technical Paper No. 410 | Current edition | K-method fitting resistance |
| Colebrook, J. Inst. Civil Eng. 11 (1939); Churchill, Chem. Eng. (1977) | — | Friction factor |
| Rackett, J. Chem. Eng. Data 15 (1970); Yamada & Gunn, J. Chem. Eng. Data 18 (1973) | — | Saturated liquid density |
| Beggs & Brill, J. Pet. Tech. (1973); Payne et al., J. Pet. Tech. (1979) | — | Two-phase flow pattern, holdup, gradient |
| Dranchuk & Abou-Kassem, J. Can. Pet. Tech. (1975); Sutton, SPE 14265 (1985); Wichert & Aziz, Hydrocarbon Processing (1972) | — | Gas Z-factor and pseudo-criticals |
Official sources: ASME BPVC Section VIII-1, API standards and IAPWS releases.
Assumptions and limitations
- Pure-component property correlations; mixtures need an equation of state or measured data.
- Single-phase hydraulics assume incompressible, isothermal, fully developed flow. For gas lines with more than about 10 % pressure drop, use a compressible flow method.
- Vessel thickness covers internal pressure on cylinders and formed heads only. External pressure, wind, seismic, nozzle loads and fatigue are not included.
- Relief sizing covers gas and vapour only; liquid, two-phase and steam relief need the other API 520 methods.
- All outputs are preliminary engineering and design-support values and need independent checking.
Quick quiz: test your process engineering basics
1. In API RP 14E, what happens to the erosional velocity limit if mixture density increases four times?
2. Which ASME VIII-1 shell equation usually governs a thin cylinder under internal pressure?
3. A 2:1 ellipsoidal head needs roughly what thickness compared with the shell?
4. Above what Reynolds number is the Colebrook–White equation used in module 3?
5. In the Beggs & Brill method, what is the no-slip liquid holdup λL?
Related Aienginear calculators and guides
These tools are most often used before or after the suite in a line or vessel study. Browse every tool in the Aienginear engineering calculators library.
Frequently asked questions
What does the Advanced Process & Thermodynamic Suite calculate?
It combines eight process engineering calculators in one page: Antoine and IAPWS vapour pressure, Rackett liquid density, Darcy–Weisbach pressure drop with fittings and elevation, API RP 14E erosional velocity, ASME VIII-1 shell and head thickness with MAWP and test pressure, Beggs & Brill two-phase pressure gradient, natural gas Z-factor and API 520 gas relief valve sizing. Each result has a step-by-step trace, a printable report and a CSV export.
Is the calculator free and does it store my data?
Yes, it is free and needs no account. All calculations run in your browser; inputs are kept only in your own browser storage so they reappear next time, and nothing is sent to a server.
Which friction factor equation does the suite use?
Laminar flow below Re = 2000 uses f = 64/Re. Between 2000 and 4000 the Churchill (1977) equation bridges the gap. Above 4000 the Colebrook–White equation is solved iteratively to machine precision, which is the reference behind the Moody chart.
How accurate is the Antoine equation?
Inside the fitted temperature range Antoine constants usually reproduce measured vapour pressure within about 1 %. Outside the range the error grows quickly, so the suite warns when you extrapolate. For water it also reports the IAPWS saturation value, which is the international reference.
Why is the Rackett density for water flagged?
Rackett assumes a simple corresponding-states liquid. Water is strongly hydrogen-bonded, so Rackett with the Yamada–Gunn parameter predicts about 8 % less than the true density. The suite therefore reports the IAPWS saturated liquid density for water.
What C-factor should I use in API RP 14E?
RP 14E gives C = 100 for continuous and C = 125 for intermittent solids-free service, and allows 150 to 200 where corrosion is controlled. Higher values are used by some operators for clean corrosion-resistant systems but need a documented assessment. With sand present the equation should not be used; use a particle erosion model instead.
Which ASME paragraphs does the vessel module follow?
UG-27(c)(1) and (c)(2) for the cylindrical shell, UG-32 for ellipsoidal, torispherical and hemispherical heads, UG-16(b) for minimum thickness, UG-99(b) for hydrostatic test and UG-100 for pneumatic test, all from ASME BPVC Section VIII Division 1. Nozzle reinforcement, external pressure and supports are outside its scope.
When is Beggs & Brill a reasonable choice?
It works at any inclination and is a good screening method for gas–liquid lines in plants and short flowlines. It was correlated from small-diameter air–water tests, so for long large-diameter pipelines or risers validate the result with a mechanistic model or field data.
How is the relief valve orifice selected?
The module computes the required effective area with the API 520 Part I gas equation, choosing the critical or subcritical form from the back-pressure ratio, then picks the smallest API 526 letter whose effective area is equal or larger. The relieving load itself must come from an API 521 scenario review.
Can I use these results for final design?
No. The suite is a preliminary engineering and design-support calculator. Final line sizing, relief and mechanical design need project data, the governing code edition, vendor data and checking by a qualified engineer.
Disclaimer
This suite and article support preliminary engineering, screening, education and design. Equations are implemented from the cited standards and papers, property constants are reference values, and code paragraph numbers must be checked against the edition named in your project. Results depend entirely on the inputs and stated assumptions. They do not replace project specifications, vendor data, the governing codes or review by a qualified engineer, and they must not be the sole basis for relief, mechanical or safety-critical decisions.
About the author
Muhammad Raza is the founder of Aienginear and Head of Projects at an industrial contractor, with more than 18 years of project, shutdown and turnaround experience in oil and gas, petrochemical, power and cement plants. Found an error or want a module added? Use the contact page and it will be reviewed for the next release.