Advanced Process & Thermodynamic Suite: 8 Free Process Engineering Calculators

AIENGINEAR CALCULATOR SUITE · PROCESS & THERMODYNAMICS

Updated 26 October 2026 · Suite v5.0.0 · Standards status checked October 2026 · By Muhammad Raza

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

  1. Choose the module that matches your question. The tabs follow the order of a typical study, from fluid properties to relief sizing.
  2. 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.
  3. 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.
  4. Open the calculation trace to see each equation with your numbers. This is what a checker needs to sign off a calculation.
  5. Read the engineering notes. They explain what to do next, such as moving up a pipe size or switching to a thick-wall formula.
  6. 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.
How the eight modules connect in a line or vessel studyEach output becomes an input to the next decision, from fluid data to plate thickness and relief valve size1–2 · PropertiesVapour pressure, densityAntoine · IAPWS · Rackett3 · Single phaseΔP, velocity, Re, fDarcy · Colebrook6 · Two phasePattern, holdup, dP/dLBeggs & Brill4 · Erosion screenVe and V/VeAPI RP 14E7 · Gas Z-factorZ, ρ, BgDAK · Hall–Yarborough5 · Vesselt, MAWP, test PASME VIII-18 · Relief valveArea, orifice letterAPI 520 · API 526© Aienginear.com
Aienginear Figure 1. The suite follows a process lifecycle: fluid properties feed hydraulics, hydraulics feed safety screening, and safety screening feeds mechanical design and relief sizing.

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

Powered by Aienginear
#ModuleMethod in the codeStandard or sourceAnswers the question
1Vapour pressureAntoine; IAPWS saturation line for waterAntoine (1888) constants; IAPWS SR1-86(1992)Will it flash, boil or cavitate at this temperature?
2Liquid densityRackett with Yamada–Gunn ZRA; IAPWS for waterRackett (1970); Yamada & Gunn (1973)What volume does this mass occupy at temperature?
3Pipe pressure dropDarcy–Weisbach, Colebrook–White, Churchill, K-methodCrane TP-410 practice; Colebrook (1939)How much pressure does this line consume?
4Erosional velocityVe = C/√ρm, homogeneous mixture optionAPI RP 14E §2.5Is this line fast enough to erode?
5ASME vesselUG-27 shell, UG-32 heads, UG-16 minimum, UG-99/UG-100 testsASME BPVC VIII-1, 2025 editionHow thick must the shell and heads be?
6Two-phase flowBeggs & Brill with revised map, optional PayneBeggs & Brill (1973); Payne et al. (1979)What is the flow pattern and gradient?
7Gas Z-factorSutton pseudo-criticals, Wichert–Aziz, DAK, Hall–Yarborough checkSPE literature (1972 to 1985)How far from ideal is this gas?
8Relief valveCritical and subcritical gas sizing, API 526 letterAPI STD 520 Part I; API STD 526Which orifice letter does this load need?
Every module prints a branded report and exports CSV from the calculator header.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/

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:

log10 P = A − B / (C + T)    with P in mmHg and T in °C

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.

IAPWS: ln(P/Pc) = (Tc/T)(a1τ + a2τ1.5 + a3τ3 + a4τ3.5 + a5τ4 + a6τ7.5),   τ = 1 − T/Tc,   Tc = 647.096 K, Pc = 22.064 MPa

Aienginear Table 2

Antoine constants built into the suite

log₁₀P[mmHg] = A − B/(C + T[°C]); valid only inside the fitted range

Powered by Aienginear
FluidABCFitted range (°C)Normal boiling point from Antoine (°C)
Water8.07131,730.63233.4261 to 100100
Methanol8.0811,582.271239.72615 to 8464.5
Ethanol8.20421,642.89230.3-57 to 8078.3
Isopropanol8.87832,010.32252.636-26 to 8382.6
Acetone7.02451,161224-13 to 5556.2
Benzene6.90571,211.033220.798 to 10380.1
Toluene6.95461,344.8219.4826 to 137110.6
n-Hexane6.8761,171.17224.41-25 to 9268.7
n-Heptane6.89391,264.37216.636-2 to 12498.4
Ammonia7.3605926.132240.17-83 to 60-33.4
Constants are widely published reference values; check them against NIST or DIPPR data for your project.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/
Antoine vapour pressure curves for common process liquidsEach curve is drawn only inside its fitted temperature range; logarithmic pressure axis0102030405060708090100110125102050100200Temperature (°C)Vapour pressure (kPa a)Water (1 to 100 °C)Methanol (15 to 84 °C)Ethanol (-57 to 80 °C)Acetone (-13 to 55 °C)Toluene (6 to 137 °C)n-Hexane (-25 to 92 °C)1 atm (101.325 kPa)© Aienginear.com
Aienginear Figure 2. Antoine vapour pressure curves. Where a curve crosses the 1 atm line is the normal boiling point; for example water crosses at 100 °C and acetone near 56 °C.

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:

ZRA = 0.29056 − 0.08775 ω     Vs = (R Tc/Pc) · ZRA[1 + (1 − Tr)2/7]     ρ = M / Vs

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

Powered by Aienginear
FluidM (g/mol)Tc (K)Pc (bar)ωZRAρ at 25 °C, Rackett (kg/m³)
Water18.015647.096220.640.34430.2603876.7
Methanol32.042512.580.840.56580.2409765.3
Ethanol46.06951461.370.64360.2341877.7
Isopropanol60.096508.347.620.66690.232907.9
Acetone58.08508.1470.30650.2637690.3
Benzene78.114562.0548.950.21030.2721858.2
Toluene92.141591.7541.080.2640.2674846.9
n-Hexane86.177507.630.250.3010.2641657.5
n-Heptane100.2540.227.40.34950.2599686.6
Ammonia17.031405.4113.330.2560.2681525.5
Water is listed for completeness; its Rackett density is about 8 % low, so the module flags it and reports IAPWS instead.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/

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.

ΔP = f (L/D)(ρV²/2) + ΣK (ρV²/2) + ρ g Δz
Laminar, Re < 2000: f = 64/Re     Turbulent, Re > 4000: 1/√f = −2 log10[ ε/(3.7D) + 2.51/(Re √f) ]

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

Powered by Aienginear
Pipe material and conditionε (mm)ε (in)ε/D for 4 in Sch 40 (ID 102.26 mm)
Drawn tubing, glass, PVC, PE0.00150.000060.000015
Stainless steel, new0.015 to 0.0450.0006 to 0.00180.00029
Commercial carbon steel, new0.0450.00180.00044
Carbon steel, light rust0.15 to 0.30.006 to 0.0120.00196
Galvanised steel0.150.0060.00147
Cast iron, uncoated0.260.0100.00254
Cement-lined ductile iron0.3 to 1.00.012 to 0.040.00489
Concrete0.3 to 3.00.012 to 0.120.00978
Middle of range used for the ε/D column. A 10× change in ε changes f by roughly 20 to 40 % in fully rough flow.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/

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

Powered by Aienginear
Fitting or valveMultiplier nK (4 in, fT = 0.017)Equivalent length L/D
90° standard elbow, threaded or welded r/D = 1300.5130
90° long-radius elbow r/D = 1.5140.2414
45° standard elbow160.2716
Tee, flow through run200.3420
Tee, flow through branch601.0260
Gate valve, fully open80.148
Ball valve, full bore, open30.053
Butterfly valve, 2 to 8 in, open450.7745
Globe valve, fully open3405.78340
Swing check valve1001.7100
Pipe entrance, sharp edged—0.5—
Pipe exit into a tank—1.0—
Add the K values for every fitting and enter the sum in module 3. Valve vendors publish Cv; convert with K = 0.00214 d⁴/Cv² (d in mm).Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/
Darcy friction factor chart computed from Colebrook–WhiteSame equations as module 3: laminar below Re 2000, Churchill bridge to 4000, Colebrook above100010⁴10⁵10⁶10⁷10⁸0.0080.010.0150.020.030.040.060.080.1Reynolds number ReDarcy friction factor fLaminarTransitionLaminar 64/ReSmoothε/D = 0.000010.00010.0010.0050.010.05Churchill bridge© Aienginear.com
Aienginear Figure 3. Darcy friction factor chart generated from the same Colebrook–White and Churchill equations used in module 3.

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:

Ve = C / √ρm    (Ve in ft/s, ρm in lb/ft³)     SI form: Ve ≈ 1.22 C / √ρm (m/s, kg/m³)

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

Powered by Aienginear
ServiceCVe at ρm = 50 kg/m³ (m/s)Ve at ρm = 500 kg/m³ (m/s)Basis
Continuous, solids-free10017.35.5RP 14E
Intermittent, solids-free12521.66.8RP 14E
Continuous, corrosion inhibited or CRA150 to 20025.9 to 34.58.2 to 10.9RP 14E allows with justification
Clean service, corrosion-resistant alloyup to 250 and above43.113.6Operator practice, documented study
Sand presentnot applicable——Use a particle erosion model such as DNV-RP-O501
SI shortcut: Ve (m/s) ≈ 1.22 × C / √ρm (kg/m³).Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/
API RP 14E erosional velocity limit versus mixture densityVe = C/√ρm in field units, converted to m/s and kg/m³; operate below the curve for your C-factor12510205010020050010001235102050100200Mixture density ρm (kg/m³)Erosional velocity Ve (m/s)Worked example 4C = 100C = 125C = 150C = 2003 m/s two-phase min.© Aienginear.com
Aienginear Figure 4. API RP 14E erosional velocity limit against mixture density. The orange point is worked example 4, which sits below the C = 100 line.

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.

Shell, UG-27(c)(1): t = PR / (SE − 0.6P)     UG-27(c)(2): t = PR / (2SE + 0.4P)
2:1 ellipsoidal head, UG-32(d): t = PD / (2SE − 0.2P)     Hydrotest, UG-99(b): PT = 1.3 × MAWP × Stest/S

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

Powered by Aienginear
ComponentParagraphRequired thickness tMAWP from thickness tApplicability limit
Cylindrical shell, hoop stressUG-27(c)(1)PR/(SE − 0.6P)SEt/(R + 0.6t)t ≤ R/2 and P ≤ 0.385SE
Cylindrical shell, longitudinal stressUG-27(c)(2)PR/(2SE + 0.4P)2SEt/(R − 0.4t)t ≤ R/2 and P ≤ 1.25SE
2:1 ellipsoidal headUG-32(d)PD/(2SE − 0.2P)2SEt/(D + 0.2t)Half-minor axis = D/4
Torispherical head, 6 % knuckleUG-32(e)0.885PL/(SE − 0.1P)SEt/(0.885L + 0.1t)Crown radius L = D, knuckle 0.06L
Hemispherical headUG-32(f)PL/(2SE − 0.2P)2SEt/(L + 0.2t)t ≤ 0.356L and P ≤ 0.665SE
Minimum thicknessUG-16(b)1.5 mm (1/16 in) after forming, excluding CA—Most shells and heads
Hydrostatic testUG-99(b)—1.3 × MAWP × (Stest/Sdesign)Measured at the top of the vessel
Pneumatic testUG-100—1.1 × MAWP × (Stest/Sdesign)Only where hydrotest is impractical
Check paragraph numbers and limits against the edition named in your design basis; the 2025 edition is current at the time of writing.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/
What UG-27 and UG-32 actually sizeHoop (circumferential) stress usually governs the shell; the 2:1 head needs about the same thickness as the shellNozzle: check UG-37 reinforcementR (corroded) = ID/2 + CAShell · UG-27t = PR/(SE − 0.6P) hoopt = PR/(2SE + 0.4P) longitudinal2:1 head · UG-32(d)t = PD/(2SE − 0.2P)Hydrotest · UG-99(b)1.3 × MAWP × S_test/St_nominal = t_required + CA + mill tolerance, rounded upLongitudinal stress σ = PR/2t© Aienginear.com
Aienginear Figure 5. Components sized by module 5. Hoop stress is twice longitudinal stress in a thin cylinder, so UG-27(c)(1) normally governs.

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.

λL = vsL/vm    NFR = vm²/(gD)    HL(θ) = HL(0) · ψ    ftp = fns · eS
dP/dL = [ ftp ρns vm²/(2D) + ρs g sin θ ] / (1 − Ek)

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)

Powered by Aienginear
Flow patternabcd (uphill)efg
Segregated0.980.48460.08680.011-3.7683.539-1.614
Intermittent0.8450.53510.01732.960.305-0.44730.0978
Distributed1.0650.58240.0609ψ = 1 (no correction)———
All patterns, downhill———4.7-0.36920.1244-0.5056
Transition flow interpolates segregated and intermittent holdup with weight A = (L3 − NFR)/(L3 − L2).Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/
Beggs & Brill horizontal flow pattern map (revised boundaries)Froude number against no-slip liquid holdup; the transition band lies between L2 and L310⁻⁴0.0010.010.110.010.11101001000No-slip liquid holdup λLMixture Froude number NFRSEGREGATEDTRANSITIONINTERMITTENTDISTRIBUTEDWorked example 6L1 boundaryL2 boundaryL3 boundaryL4 boundaryλ = 0.01, 0.4© Aienginear.com
Aienginear Figure 6. Beggs & Brill flow pattern map with the revised 1977 boundaries. The orange point is worked example 6 in the distributed region.

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.

Z = 1 + (A1 + A2/Tpr + A3/Tpr³ + A4/Tpr⁴ + A5/Tpr⁵) ρr + … ,    ρr = 0.27 Ppr / (Z Tpr)

Aienginear Table 9

Z-factor grid from the Dranchuk–Abou-Kassem equation

Rows are pseudo-reduced temperature, columns pseudo-reduced pressure

Powered by Aienginear
Tpr \ Ppr0.5124610
1.050.830.5870.3280.5650.7961.233
1.200.8950.7780.5530.6050.7941.177
1.400.9380.8760.7650.7190.8311.138
1.600.9610.9240.8620.8250.8911.128
2.000.9820.9670.9460.9430.9861.144
3.000.9980.9981.0021.0251.0641.171
Use this as a quick sanity check against the calculator. Values near Tpr = 1.05 are sensitive and should be confirmed with an equation of state.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/
Natural gas Z-factor from the Dranchuk–Abou-Kassem equationThe 11-constant DAK fit reproduces the Standing–Katz chart; the dip is deepest close to Tpr = 101234567891011121314150.20.40.60.811.21.41.6Pseudo-reduced pressure PprCompressibility factor ZTpr = 1.1Tpr = 1.2Tpr = 1.3Tpr = 1.5Tpr = 2.0Tpr = 3.0© Aienginear.com
Aienginear Figure 7. Z-factor from the DAK equation for six pseudo-reduced temperatures, reproducing the shape of the Standing–Katz chart.

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.

Critical (SI): A = W / (C Kd P1 Kb Kc) · √(T Z / M),    C = 0.03948 √( k (2/(k+1))(k+1)/(k−1) )
Subcritical (SI): A = 17.9 W / (F2 Kd Kc) · √( Z T / (M P1 (P1 − P2)) )

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

Powered by Aienginear
LetterEffective area (in²)Effective area (mm²)Typical inlet × outlet (in)
D0.110711 × 2
E0.1961261 × 2
F0.3071981.5 × 2
G0.5033251.5 × 2.5
H0.7855061.5 × 3
J1.2878302 × 3
K1.8381,1863 × 4
L2.8531,8413 × 4
M3.602,3234 × 6
N4.342,8004 × 6
P6.384,1164 × 6
Q11.057,1296 × 8
R16.010,3236 × 8
T26.016,7748 × 10
Effective area is a sizing convention. Final selection uses the certified (actual) area and rated Kd of the purchased valve.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/

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

Powered by Aienginear
#ModuleKey inputsKey result
1Vapour pressureWater, 100 °C101.34 kPa (Antoine), 101.42 kPa (IAPWS)
2Liquid densityToluene, 25 °C846.9 kg/m³ (Rackett)
3Pipe pressure drop50 m³/h water, 4 in Sch 40, 100 m, ΣK 4.5, +5 m0.816 bar total, V = 1.69 m/s
4Erosional velocity5 + 400 m³/h, 850/30 kg/m³, 4 in, C = 100Ve = 19.3 m/s, V/Ve = 0.71
5ASME vessel10 bar g, ID 1500, S 138, E 0.85, CA 3Shell 9.45 mm, 12 mm plate MAWP 13.46 bar g
6Two-phase flowSame fluids as 4, +5° uphillDistributed, 1.073 bar/100 m
7Gas Z-factorγ = 0.65, 40 °C, 70 bar a, 2 % CO₂Z = 0.8762, ρ = 57.8 kg/m³
8Relief valve20 000 kg/h, set 1000 kPa g, M 20, k 1.272,560 mm² → N orifice
All numbers on this page are generated by the same calculation engine as the embedded tool.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/

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

Powered by Aienginear
Areav4.0v5.0.0Why it matters
Friction factorSwamee–Jain explicit onlyColebrook–White iterated; Churchill in 2000 to 4000Removes up to about 1 % explicit-fit error and handles the transition band
Fittings and elevationStraight pipe onlyΣK, equivalent length and static headReal lines are dominated by fittings and lift
Water propertiesAntoine and Rackett onlyIAPWS SR1-86(1992) saturation pressure and liquid densityRackett is about 8 % low for water; IAPWS is the reference
ASME shellHoop stress only, MAWP of the required thicknessHoop and longitudinal, UG-16 minimum, MAWP of the plate you selectMAWP now reflects real plate, mill tolerance and corrosion
Heads2:1 and hemisphericalAdds 6 % torispherical (UG-32(e))Common head type on process vessels
Test pressure1.3 × MAWP1.3 × MAWP × stress ratio, plus pneumatic UG-100Matches the UG-99(b) definition
ErosionDensity entered by handHomogeneous mixture from liquid and gas ratesRemoves a frequent manual error
Two-phaseFixed roughnessUser roughness, optional Payne correction, psi/100 ft outputBetter agreement with field data on inclined lines
New modules—Gas Z-factor (DAK + Hall–Yarborough) and API 520 relief valveCovers gas density and relief sizing in one place
QualityNo checks11-point self-test gate, input validation, print report, CSV, copyEvery session starts with verified benchmarks
Version 5.0.0, released 26 October 2026.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/

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

Powered by Aienginear
CapabilityAienginear suite v5Typical free single-purpose web calculatorSpreadsheet templateCommercial process simulator
Cost and accessFree, no sign-upFree, often with ads or sign-upFree or low costLicensed
Number of linked methods8 modules, one interfaceOne method per pageVariesVery broad
Calculation trace with substituted numbersYes, every moduleRarelyVisible formulasLimited
Applicability and range warningsYes, flagged in plain languageRarelyOnly if builtYes
Built-in benchmark self-testYes, 11 checks on loadNoNoVendor validated
Printable branded report and CSVYesSometimes print onlyYesYes
Works offline after load, data stays localYesUsually server-sideYesYes
Rigorous multicomponent thermodynamicsNo, screening correlationsNoNoYes
Use the suite for screening, checking and teaching; use a simulator for rigorous heat and material balances.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/

Standards and references

Aienginear Table 14

Standards and references

Documents behind each module; always use the edition named in your project design basis

Powered by Aienginear
DocumentEdition or yearUsed for
ASME BPVC Section VIII, Division 12025 editionUG-16, UG-27, UG-32, UG-99, UG-100
API RP 14E, Design and Installation of Offshore Production Platform Piping Systems5th edition (1991, reaffirmed)Erosional velocity, minimum two-phase velocity
API STD 520 Part I, Sizing and Selection of Pressure-relieving Devices10th edition (2020)Gas critical and subcritical relief area
API STD 521, Pressure-relieving and Depressuring Systems7th edition (2020)Relief scenarios and loads (context)
API STD 526, Flanged Steel Pressure-relief Valves7th edition (2017)Orifice letters and effective areas
IAPWS SR1-86(1992), saturation properties of ordinary water1992 revisionWater vapour pressure and liquid density
Crane Technical Paper No. 410Current editionK-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
Aienginear does not reproduce standard text. Buy the current documents from ASME, API and IAPWS for design work.Source: Aienginear.com · aienginear.com/advanced-process-thermodynamic-suite/

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?

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.

Leave a Comment