| ProjectSample Project — Demonstration Only | Job No.SAMPLE-001 | Client— |
| CalculationAnalysis Sets: Multi-Code Piping Stress Comparison Calculator | Calc byPiping Toolset (calc-core) | Checked byUNCHECKED — sample |
| Date2026-07-30 | Rev0 | BasisASME B31.1/B31.3 sustained+expansion and B31.4/B31.8 hoop/longitudinal/combined, per-code allowable factors |
NPS 8 Sch 40 line (8.625 in OD × 0.322 in wall, Z = 16.81 in³) carrying 600 psi, evaluated against all four codes at once. Moment range resultants of 50,000 / 30,000 / 20,000 in·lbf (in-plane / out-plane / torsional) with SIFs ii = 2.27, io = 1.89; Sc = 20,000 psi, Sh = 17,300 psi; SL = 8,000 psi; SMYS = 35,000 psi with the default design factor F = 0.72.
| Do × t × Z | 8.625 × 0.322 × 16.81 | in / in / in³ |
| Pressure P | 600 | psi |
| Mi / Mo / Mt | 50,000 / 30,000 / 20,000 | in·lbf |
| ii / io | 2.27 / 1.89 | — |
| Sc / Sh | 20,000 / 17,300 | psi |
| SL | 8,000 | psi |
| SMYS | 35,000 | psi |
Same geometry and load case evaluated by each selected code's own screening check, with allowables entered by the user rather than embedded:
hoop = P·Do / (2·t)
Mc = √(Mi² + Mo² + Mt²), imax = max(ii, io)
B31.1 SE = imax·Mc / Z vs SA = f·(1.25·Sc + 0.25·Sh)
B31.3 Sb = √((ii·Mi)² + (io·Mo)²) / Z, St = Mt / (2·Z), SE = √(Sb² + 4·St²) vs SA (same form as B31.1)
B31.4 hoop vs F·SMYS; longitudinal SL vs 0.75·F·SMYS
B31.8 hoop vs F·E·T·SMYS; combined (SL + SEB31.1) vs 0.90·T·SMYS
B31.1 and B31.3 sustained rows both compare the same user-supplied sustained longitudinal stress SL against the hot allowable Sh — the two codes diverge only in how they combine the expansion-case moments into SE. Defaults when not entered: f = 1.0, F = 0.72, E = 1.0, T = 1.0.
| B31.1 sustained / expansion | 0.46243 / 0.28387 | unity |
| B31.3 sustained / expansion | 0.46243 / 0.26055 | unity |
| B31.4 hoop / longitudinal | 0.31888 / 0.42328 | unity |
| B31.8 hoop / combined | 0.31888 / 0.51823 | unity |
| Governing check (code / quantity) | gas-pipeline combined row | — |
| Governing unity | 0.51823 | — |
| Verdict | ALL PASS | — |
The result values above are locked as fixture analysis-set.json, case
“NPS8 sch40 all four codes, moderate loads -> governing B31.8 combined 0.518, ALL PASS”, tolerance 0.001, in the calc-core continuous
verification gate (see https://pipingtoolset.com/trust/validation.html). Allowable-stress and factor data are
user-supplied inputs; citations: ASME B31.1 — Power Piping, sustained and expansion stress design rules. · ASME B31.3 — Process Piping, sustained and expansion stress design rules. · ASME B31.4 — Pipeline Transportation Systems for Liquids and Slurries, Design chapter. · ASME B31.8 — Gas Transmission and Distribution Piping Systems, Design chapter.