Piping Toolset
Home › Worked Examples

Worked Examples — 16 Fixture-Verified Piping Calculations

Every example below is a hand-derived calculation published with its full step-by-step arithmetic — and every one is simultaneously a fixture case in the calc-core release gate, re-verified on every commit. If the app and the published example ever disagreed, the build would go red.

Focus areas: ASME BPE hygienic tubing, ASME B31.1 power piping, and ASME B31.3 process piping, plus the flexibility and pipeline-integrity calculations that surround them. Derivation policy and tolerances are documented in the validation methodology.

Process Piping — ASME B31.3 (8)

Worked exampleProblemHeadline result
ASME B31.3 Pipe Wall Thickness Calculator NPS 6 (6.625 in OD) carbon-steel line at 2,000 psi design pressure. Allowable stress 20,000 psi, seamless (E = 1.0, W = 1.0), Y = 0.4, corrosion allowance 1/16 in, mill tolerance 12.5%. t — pressure design thickness: 0.31851 in COMPUTED
ASME B31.3 Allowable Working Pressure Calculator NPS 8 Sch 40 (8.625 in OD × 0.322 in wall), S = 17,500 psi, E = 1.0, y = 0.4, corrosion allowance 0.065 in, 12.5% mill tolerance. tp — thickness available: 0.21675 in COMPUTED
Hydrostatic / Pneumatic Leak Test Pressure Calculator (ASME B31.3) Design pressure 300 psi; allowable stress 20,000 psi at ambient test temperature and 17,500 psi at design temperature; B31.3 factors. Stress ratio ST/S: 1.14286 — COMPUTED
Welded Branch Connection Reinforcement Calculator (ASME B31.3 ¶304.3.3) NPS 8 Sch 40 run (8.625 × 0.322) with an NPS 4 Sch 40 branch (4.5 × 0.237) at 90°, no pad, no allowance credit. Required walls: th = 0.147 in, tb = 0.077 in. A1 — required: 0.5918 in² PASS
Mitered Elbow Allowable Pressure Calculator (ASME B31.3 ¶304.2.3) 3-cut miter, half-angle 15°, S = 20,000 psi, E = 1.0, available wall Tc = 0.25 in, mean radius r2 = 4.1515 in, effective bend radius R1 = 12 in. Pm1 (Eq. 4a): 707.6 psi COMPUTED
Stress Intensification & Flexibility Factor Calculator (B31.3 Appendix D) NPS 6 Sch 40 long-radius elbow: D = 6.625 in, T = 0.28 in, R1 = 9 in — the PVP Suite selftest case. h — flexibility characteristic: 0.25038 — COMPUTED
Displacement Stress Range Check (ASME B31.3 ¶319.4.4) NPS 6 Sch 40 point (Z = 8.49575 in³) with a pure in-plane moment range of 44,139 in·lb intensified by ii = 2.26557 (the Appendix D elbow above); A106-B allowables Sc = 20,000, Sh = 17,300 psi, f = 1.0. SE — displacement stress range: 11,770.6 psi PASS
Pipe Bend Minimum Wall Thickness Calculator (B31.3 ¶304.2.1) NPS 8 (8.625 in OD) bent at R = 12 in (≈1.4D), P = 1,000 psi, S = 20,000 psi, E = 1, y = 0.4, allowance 0.065 in. I intrados / extrados: 1.28049 / 0.86782 — COMPUTED

Power Piping — ASME B31.1 (1)

Worked exampleProblemHeadline result
ASME B31.1 Power Piping Wall Thickness Calculator NPS 8 (8.625 in OD) main steam-class line at 1,000 psi. SE = 15,000 psi, y = 0.4, allowance A = 0.065 in, 12.5% mill tolerance. t — pressure design thickness: 0.28003 in COMPUTED

BPE / Hygienic Tubing (4)

Worked exampleProblemHeadline result
Dead-Leg L/d Ratio Calculator (ASME BPE) Instrument tee off a hygienic process line: dead-leg length 50 mm, branch ID 25 mm, standard limit of 2. L/d ratio: 2.0 — PASS
Hygienic Line Slope / GSD Drainability Calculator (ASME BPE) A transfer line installed at 1 in of fall over 192 in of run (16 ft), drawing calls GSD1. Slope: 0.0625 (1/16) in/ft PASS
CIP Spray Device Flow Sizing Calculator (ASME BPE) Vertical vessel, 3 ft diameter, static spray ball with the default 2.5–3.0 gpm/ft band. Wetted length: 9.4248 ft COMPUTED
CIP Flow & Velocity Calculator (5 ft/s Rule, ASME BPE) 2.0 in ID transfer line; find the CIP flow for 5 ft/s, then check a skid that can only deliver 60 gpm. Required flow @ 5 ft/s: 48.96 gpm PASS

Thermal Flexibility & Pipelines (3)

Worked exampleProblemHeadline result
Expansion Loop / Leg Sizing Calculator (Guided Cantilever) 2½ in (2.875 in OD) carbon-steel line, installed at 52 °F, operating at 350 °F, 100 ft anchor-to-anchor. α = 6.7×10⁻⁶ in/in·°F, E = 29×10⁶ psi, S = 15,600 psi — the published flow-sheet example. ΔL — thermal growth: 2.396 in COMPUTED
Pipe Thermal Growth Calculator (in / 100 ft) Steam line with tabulated expansion 2.6 in/100 ft at operating temperature, 120 ft between anchors — the PVP Suite selftest case. Free growth: 3.12 in COMPUTED
B31G Corroded Pipe Remaining Strength Calculator (Level 1) NPS 8 Sch 40 pipeline (8.625 × 0.322), corrosion patch 2.886 in long, 0.100 in deep, operating basis 800 psi. z — length parameter: 3.00 — FAIL