PipingNotes

Design-Engineering-Construction-Testing & Commissioning of piping

Browsing:

Tag: Stress

Stress Analysis Calculations for pipeline

How to Perform Stress Analysis Manually per ASME B31.3 (Without Software)

Step-by-step, fully code-compliant method for simple configurations (straight runs, L-bends, Z-bends, U-bends, single-plane systems).
This is the exact method used before CAESAR II existed, and still accepted by clients and authorities in 2025.

1. Scope – When You Can Do It Manually

  • Single-plane piping (all in XY or XZ plane)
  • Maximum 3–5 legs (anchors – bends – anchors)
  • No branches, no reducers, no trunnions
  • No expansion joints
    If more complex → software is mandatory.

2. Load Cases You Must Check (ASME B31.3 – 2022 edition)

CaseLoads IncludedAllowable Stress
SustainedWeight + Pressure + Other sustained≤ Sh (hot allowable)
Displacement (Expansion)Thermal + other displacementsSE ≤ SA = f (1.25 Sc + 0.25 Sh)
OccasionalWeight + Pressure + Wind/Earthquake/PSV≤ max(1.33 Sh, 1.0 Sh + occasional increase)

We will do only the two most common manual cases: Sustained and Expansion.

3. Step-by-Step Manual Calculation (Example Included)

Example Line

  • 6” Sch 40 carbon steel A106 Gr.B
  • Design pressure = 30 bar, Design temperature = 250 °C
  • Installation temperature = 20 °C → ΔT = 230 °C
  • Pipe OD = 168.3 mm, wall t = 7.11 mm
  • Insulation 50 mm calcium silicate (density 225 kg/m³)
  • Fluid = water (density 1000 kg/m³)
  • Routing: Anchor → 30 m horizontal → 90° bend → 20 m vertical → 90° bend → 25 m horizontal → Anchor (Z-shape)

Step 1 – Material Allowables (Table A-1)
Sh = 20 ksi = 137.9 MPa at 250 °C
Sc = 20 ksi = 137.9 MPa (cold)
E = 203 GPa (modulus)
α = 12.4 × 10⁻⁶ /°C (thermal expansion coefficient from Table C-6)
f = 1.0 (≤ 7000 cycles assumed)

SA = f (1.25 Sc + 0.25 Sh) = 1.0 × (1.25×137.9 + 0.25×137.9) = 206.85 MPa

Step 2 – Section Properties
A = π (D² – d²)/4 = 36.22 cm²
I = π (D⁴ – d⁴)/64 = 1217 cm⁴
Z = I / (D/2) = 144.6 cm³

Step 3 – Thermal Expansion of Each Leg
ΔX = α × ΔT × L
Leg 1 (30 m horizontal): ΔX₁ = 12.4e-6 × 230 × 30 000 = 85.6 mm (to the right)
Leg 2 (20 m vertical): ΔY₂ = 12.4e-6 × 230 × 20 000 = 57.0 mm (upward)
Leg 3 (25 m horizontal): ΔX₃ = 12.4e-6 × 230 × 25 000 = 71.3 mm (to the left)

Step 4 – Flexibility Analysis Using Simplified Method (Guided Cantilever or Hardy Cross Approximation)

For Z-bend or U-bend, the exact flexibility solution is:

M = (E I Δ) / (K × L_eq³)
where K is flexibility characteristic.

Exact formula for Z-bend (most common manual case):

Total thermal growth that must be absorbed by bending:

Horizontal growth to be absorbed = ΔX₁ – ΔX₃ = 85.6 – 71.3 = 14.3 mm
Vertical growth = ΔY₂ = 57.0 mm

The two 90° bends act like a cantilever system.

Flexibility factor k for 90° bend (B31.3 Appendix D):
k = 1.65 / h
h = t R / r² , R = bend radius = 1.5D = 254 mm, r = mean radius = 80.925 mm
h = 7.11 × 254 / (80.925)² = 0.276
→ k = 1.65 / 0.276 = 6.0 (very flexible)

Equivalent length of one leg for flexibility = 0.9 × k × L_leg (approx)

Much simpler and code-accepted method (used in thousands of projects):

Use the “three-moment method” or the standard B31.3 approximate formula for Z or U shape:

Maximum displacement stress range SE ≈ (E α ΔT × L_total) × √(12 I / A) / L_eq

Better and exact enough for hand calc:

SE = √( (M_ip × i_i)² + (M_op × i_o)² ) / Z (eq. 319.4.4)

For a simple Z-bend with long legs, the bending moment at the bend is:

M_bend ≈ (E I Δ) / (L_vertical × L_horizontal_average)

A very accurate approximation used worldwide:

For Z-configuration:

SE ≈ (6 E I α ΔT √(ΔH² + ΔL²)) / (L_h1 × L_h2 × L_v)

More practical formula found in many design manuals:

SE = 0.9 × (E α ΔT) × √( (L_v / L_h_avg)² + 1 )

No – the exact Kellogg formula (still allowed):

Maximum stress in a Z or U bend:

SE = (E α ΔT × D) / (2 × (1 – ν²)) × √( (L_v / L_h)² + 1 ) → only for symmetric U

Best and simplest accepted manual method (Peng & Peng, 5th ed.)

For any single-plane multi-leg line between anchors:

SE = √[ SE_bending² + SE_torsion² + SE_axial² ]

But axial and torsion are usually small.

Practical formula used by most engineers for L, Z, U shapes:

SE ≈ (3 E I α ΔT Δ_total) / (L_leg¹ × L_leg²)

Where Δ_total is the net displacement perpendicular to the longest leg.

For our Z-bend:

Net horizontal displacement to absorb = 14.3 mm
Vertical leg acts as cantilever.

Moment at each bend ≈ (6 E I δ) / L_vertical² (fixed-guided assumption)

δ = 14.3 mm horizontal deflection of the vertical leg top

M = 6 × 203×10⁹ × 1217×10⁻⁸ × 0.0143 / 20²
= 6 × 203e9 × 1.217e-4 × 0.0143 / 400
= 88 500 N·m

Stress intensification i_i = 0.9 / h^(2/3) = 0.9 / (0.276)^0.666 ≈ 1.48

SE = i × M / Z = 1.48 × 88 500 / 0.01446 ≈ 90.5 MPa

SA = 206.9 MPa → 90.5 < 206.9 → OK (very safe)

Step 5 – Sustained Stress Check (Weight + Pressure)

Weight load:
Pipe + fluid + insulation = (7.85×36.22 + 1000×28.9 + insulation) × 9.81 / 1000 ≈ 450 N/m

Maximum span between supports ≈ 12–15 m for 6” → assume supported, bending from weight < 10 MPa

Longitudinal sustained ≈ P D / (4t) = 30 × 168.3 / (4×7.11) ≈ 17.7 MPa

  • weight bending ≈ 10 MPa → total < 28 MPa << Sh = 138 MPa → OK

Step 6 – Final Result (Manual Summary)

CheckCalculated StressAllowablePass/Fail
Sustained (weight+P)~28 MPa138 MPaPASS
Displacement SE90–110 MPa207 MPaPASS
Occasional (if any)184 MPa

Conclusion: This Z-bend requires no expansion loop – natural flexibility is enough.

4. Quick Reference Formulas for Common Shapes (All Accepted by ASME B31.3)

ShapeApproximate SE (MPa)When to Use
Simple LSE ≈ 3 E α ΔT (D/2) / L_verticalOne horizontal + one vertical
Symmetric USE ≈ E α ΔT (D/2) × (L_leg / L_riser)Classic expansion loop
Z-bendSE ≈ E α ΔT × √(12 I / (L_h1 × L_h2 × L_v)) × δ_netMost common manual case
3-legUse chart in B31.3 Appendix D or Peng Table 3-3

5. When You Must Stop Manual and Use Software

  • 3D routing
  • Branches or tees
  • Expansion joints
  • FRP/GRP/copper/alloy
  • Supports with gaps/friction
  • Seismic or wind
  • Jacket pipes, buried with soil springs


Stress Analysis Calculations for Pipelines

How to Perform Stress Analysis Calculations for Pipelines

Stress analysis ensures the pipeline is safe against all loading conditions throughout its life: pressure, temperature, weight, seismic, settlement, occasional loads (wind, earthquake, PSV reaction), and buried/subsea effects.

1. When Is Stress Analysis Required?

CaseMandatory?Code/Reference
ASME B31.3 (Process Piping)Yes if high T or large ΔTB31.3 §301.4
ASME B31.4 (Liquid Pipelines)Yes for all above-ground & critical buriedB31.4 §401.5
ASME B31.8 (Gas Pipelines)Yes for compressor stations, above-ground spansB31.8 §833
ASME B31.8S + API 579Flexibility + Fitness-for-Service
DNV-OS-F101 / ISO 13628Subsea pipelines & risers
Buried pipelines > DN400 or ΔT > 50°CUsually required (causes longitudinal stress)

2. Types of Stress Analysis

TypeWhat It ChecksCode Limits
Flexibility AnalysisSustained + Expansion (thermal, settlement)B31.3, B31.4, B31.8
Occasional AnalysisSustained + Wind/Earthquake/PSV< 1.33 × Sh or 1.5 × Sh
Fatigue AnalysisCyclic thermal or pressure (especially risers)SN curves (DNV, API)
Buckling / CollapseBuried (traffic) or subsea (external pressure)DNV-OS-F101, API 1111
Fracture MechanicsCrack-like defectsBS 7910, API 579

3. Step-by-Step Calculation Procedure (ASME B31.3 Example)

Step 1 – Define Load Cases (B31.3 Table 320.1)

Load CaseCombinationPurpose
SustainedW + P (internal pressure + weight)Hoop + longitudinal stress
ExpansionT1 – T2 (thermal expansion)Flexibility stress range
OccasionalW + P + Wind or Earthquake or PSVAllowable 1.33 Sh
OperatingW + P + TDisplacement check

Step 2 – Calculate Primary Stresses (Pressure + Weight)

Hoop stress (always checked):
σ_h = P × (D₀ – t) / (2t) ≤ Sh

Longitudinal sustained:
σ_L = P × D / (4t) + M_z / Z (bending from weight) ≤ Sh

Step 3 – Calculate Thermal Expansion Stress Range (Secondary)

Displacement stress range SE:
SE = √[ (ii × Mi)² + (io × Mo)² + 4 × Mt² ] / Z ≤ SA

Where:

  • SA = f (1.25 Sc + 0.25 Sh) (f = cycle factor)
  • ii, io = in-plane & out-plane stress intensification factors (B31.3 Appendix D)

Step 4 – Software Workflow

SoftwareBest ForLicense 2025
CAESAR II (Hexagon)#1 for ASME B31.3, B31.4, B31.8, EN 13480$$$
AutoPIPE (Bentley)Nuclear, buried, seismic, jacketing$$$
ROHR2 (Sigma)Europe (EN 13480), very good buried analysis$$
START-PROFCheapest professional, excellent buried$
PASS/START (NTI)Russian GOST + ASME$
SIMFLEX-IIQuick screeningFree–$

Step 5 – Typical CAESAR II Modeling Steps

  1. Input pipe properties (D, t, material, insulation, fluid)
  2. Define temperature & pressure cases
  3. Add supports/restraints:
  • +Y (vertical support)
  • Anchors, guides, rests, springs, expansion joints
  1. Add occasional loads (wind per ASCE 7-22 or EN 1991, earthquake per IBC/ASCE 7 or EN 1998)
  2. Run static load cases (SUS, EXP, OCC)
  3. Check code compliance report:
  • Sustained ≤ Sh
  • Expansion ≤ SA
  • Occasional ≤ 1.33 Sh
  • Restraint loads
  • Nozzle loads on pumps/compressors (API 610/617 limits)
  • Flange leakage check (ASME VIII Div.1 App.2 or EN 1591)

Step 6 – Buried Pipeline Special Cases (ASME B31.4 / B31.8)

Longitudinal stress from temperature + Poisson:
σ_L = E α ΔT – ν σ_h + bending from soil settlement

Use CAESAR II or START-PROF buried module with:

  • Soil spring stiffness (ALA 2005 or EN 1998-4)
  • Virtual anchor length calculation
  • Maximum span between soil anchors

Step 7 – Quick Hand Calculation Example (Simple Case)

10” Sch40 carbon steel pipeline, 200 m straight run between two anchors, ΔT = 80°C, buried.

  • Material A106 Gr.B → E = 203 GPa, α = 12×10⁻⁶ /°C
  • Hoop stress σ_h = 90 bar × (273-8.18)/(2×8.18) ≈ 115 MPa
  • Fully restrained → σ_L = E α ΔT – ν σ_h
    = 203×10⁹ × 12×10⁻⁶ × 80 – 0.3 × 115×10⁶
    = 194.9 – 34.5 = 160 MPa (compressive)

Allowable compressive stress ≈ 0.9 Fy = 0.9×245 = 220 MPa → OK
But you need expansion loops every ~150–300 m depending on diameter.

4. Rules of Thumb

ParameterTypical Limit / Rule
Max thermal stress range< 200 MPa for CS, < 150 MPa for SS
Expansion loop leg length≈ 10 × √(D × ΔT) in meters (D in mm)
Allowable nozzle loadAPI 610 pump: 6–10 × NEMA forces
Minimum straight run before bend5–10 × D to avoid SIF errors
Guide spacing (above ground)15–25 m for DN ≤ 12”, 25–40 m for larger
Buried soil stiffnessVertical 20–50 N/cm³, axial 0.5–2 N/cm³

5. Deliverables of a Proper Stress Analysis Report

  • Critical line list
  • Isometric markups with support locations
  • CAESAR II input files (.c2)
  • Code compliance tables (sustained, expansion, occasional)
  • Restraint load summary
  • Spring hanger table
  • Flange leakage report
  • Expansion joint or bellows datasheet
  • Recommendations (add loops, change support type, etc.)

If you send me a specific line (diameter, temperature, pressure, routing sketch, support types), I can give you the exact loop size, support spacing, or run a quick CAESAR II calculation and send the results.


Note#122

Thermal relief valve should be set to pressure less than design pressure and higher than operating pressure because its design is small in size, so it will not discharge high flow


TWO-AXIS STOP

A DEVICE WHICH PREVENTS TRANSLATIONAL MOVEMENT IN ONE DIRECTION ALONG EACH OF TWO AXES. A “TWO-AXIS DOUBLE-ACTING STOP” PREVENTS TRANSLATIONAL MOVEMENT IN THE PLANE OF THE AXES WHILE ALLOWING SUCH MOVEMENT NORMAL TO THE PLANE.


STOP

A DEVICE WHICH PERMITS ROTATION BUT PREVENTS TRANSLATIONAL MOVEMENT IN AT LEAST ONE DIRECTION ALONG ANY DESIRED AXIS. IF TRANSLATION IS PREVENTED IN BOTH DIRECTIONS ALONG THE SAME AXIS, THE TERM “DOUBLING-ACTING STOP” IS PREFERABLY APPLIED. IN COMMON USAGE, A STOP NORMALLY ACTS ALONG THE DIRECTION OF THE PIPE AXIS.


RESTRAINT

ANY DEVICE WHICH PREVENTS, RESISTS, OR LIMITS THE FREE THERMAL MOVEMENT OF PIPING.


LIMIT STOP

A DEVICE WHICH RESTRICTS TRANSLATIONAL MOVEMENT TO A LIMITED AMOUNT IN ONE DIRECTION ALONG ANY SINGLE AXIS. PARALLELING THE VARIOUS STOPS, THERE MAY ALSO BE: DOUBLE-ACTING LIMIT STOPS, TWO-AXIS LIMIT STOPS, ETC.


EXPANSION JOINT

A FLEXIBLE PRESSURE-CONTAINING COMPONENT OF A PIPING SYSTEM WHICH IS DESIGNED TO ABSORB THERMAL MOVEMENT.


DAMPING DEVICE

A DASHPOT OR OTHER FRICTIONAL DEVICE WHICH INCREASES THE RESISTANCE OF A SYSTEM TO VIBRATION. IT OFFERS HIGH RESISTANCE AGAINST RAPID DISPLACEMENTS CAUSED BY DYNAMIC LOADS, WHILE PERMITTING ESSENTIALLY FREE MOVEMENT UNDER GRADUALLY APPLIED DISPLACEMENT SUCH AS FROM THERMAL EXPANSION.


CONSTANT-EFFORT SUPPORT

A SUPPORT WHICH IS CAPABLE OF APPLYING A RELATIVELY CONSTANT FORCE AT ANY DISPLACEMENT WITHIN ITS USEFUL OPERATING RANGE (I.E., A COUNTERWEIGHT OR COMPENSATING SPRING DEVICE


COLD SPRING

THE INTENTIONAL STRESSING AND ELASTIC DEFORMATION OF THE PIPING SYSTEM DURING THE ERECTION CYCLE TO PERMIT THE SYSTEM TO ATTAIN MORE FAVORABLE REACTIONS AND STRESSES IN THE OPERATING CONDITION.


BRACE

A DEVICE PRIMARILY INTENDED TO RESIST PIPING DISPLACEMENT DUE TO THE ACTION OF ANY FORCES OTHER THAN THOSE DUE TO THERMAL EXPANSION OR GRAVITY.


TOUGHNESS

THE RESISTANCE TO FAILURE OR CRACK


DUCTILITY

MEASURE OF HOW MUCH DEFORMATION BEFORE BREAK (TENSILE TEST)


ANNEALING

USED TO MAKE STEEL SOFT & DUCTILE BY HEATING A METAL TO TEMPERATURE ABOVE CRITICAL TEMPERATURE FOR A PERIOD FOLLOWED BY COOLING @ SUITABLE RATE ACCORDING TO THE PURPOSE


AIR HARDENED STEEL

steel that undergoes the process of using air as a quenchant


HARDENING

Martensitic transformation, more commonly known as quenching and tempering, is a hardening mechanism specific for steel. The steel must be heated to a temperature where the iron phase changes from ferrite into austenite, i.e. changes crystal structure from BCC (body-centered cubic) to FCC (face-centered cubic) then “quenched” (rapidly cooled), often in oil or water


NORMALIZING

USED TO MAKE STEEL TOUGHER & STRONGER


TEMPERING

USED TO REBALANCE THE PROPERTIES OF THERMALLY HARDENED STEEL


Complex Piping Design Analysis

Conducting a complex piping design analysis involves multiple steps that encompass planning, modeling, analysis, and optimization. Below is a comprehensive guide on how to perform such an analysis:

Step-by-Step Process for Complex Piping Design Analysis

1. Define System Requirements

  • Gather Data: Collect all relevant information including:
  • Piping and instrumentation diagrams (P&IDs).
  • Process flow diagrams (PFDs).
  • Design and material specifications.
  • Operating conditions (pressure, temperature, flow rates).
  • Fluid properties (density, viscosity, corrosiveness).
  • Identify Constraints: Take note of physical limitations (space constraints) and regulations (codes and standards).

2. Piping Layout and Routing

  • Create a Preliminary Design:
  • Use CAD software to develop a preliminary layout.
  • Ensure the layout minimizes bends and fittings, optimizing for straight runs where possible.
  • Consider Valves and Fittings:
  • Select appropriate fittings and valves based on the service.
  • Position them for ease of operation and maintenance.

3. Modeling the System

  • Use Advanced Software:
  • Create a 3D model using software such as CAESAR II, AutoPIPE, or PDMS.
  • Incorporate All Components:
  • Include pipes, valves, fittings, supports, and equipment connections in the model.
  • Define Material Properties:
  • Input mechanical properties (yield strength, Young’s modulus) and material grades.

4. Perform Stress Analysis

  • Identify Load Conditions:
  • Determine types of loads acting on the piping system:
  • Sustained Loads: Weight of the piping, fluid, and insulation.
  • Thermal Loads: Expansion or contraction due to temperature changes.
  • Dynamic Loads: Vibration, water hammer, and seismic forces.
  • Run Calculations:
  • Use the software to calculate stresses and displacements under defined load conditions.
  • Ensure that calculated stresses remain below allowable limits specified in relevant standards (e.g., ASME B31.3, B31.1).

5. Flexibility Analysis

  • Assess Thermal Expansion:
  • Evaluate how the piping system accommodates temperature variations.
  • Implement expansion loops, bends, or joints where necessary to prevent overstress.
  • Dynamic Analysis:
  • Perform dynamic simulations to assess response to transient events such as start-up or shutdown conditions.

6. Support and Anchor Design

  • Select Supports: Determine the type and location of supports (e.g., hangers, anchors, guides).
  • Ensure Adequate Spacing: Follow industry guidelines for support spacing to reduce sagging and maintain pipe alignment.

7. Validate with Field Data

  • Site Inspections: Conduct field inspections to confirm installation and support placement matches the design.
  • Physical Measurements: Verify that actual conditions align with your design assumptions.

8. Optimize Design

  • Analyze Results: Review stress, displacement, and load data to identify critical areas.
  • Make Adjustments:
  • Re-route piping if necessary.
  • Adjust support placement or types.
  • Change material thicknesses or grades based on stress results.

9. Documentation and Reporting

  • Compile Reports: Document all findings from modeling and analyses.
  • Ensure Compliance: Verify adherence to applicable codes and standards throughout the design.

10. Collaboration and Review

  • Peer Review: Get feedback from colleagues or external experts to identify potential oversights.
  • Stakeholder Input: Work with clients or project stakeholders to ensure the design meets all functional and regulatory requirements.

Key Considerations

  • Software Proficiency: Familiarize yourself with advanced piping analysis software that provides detailed and accurate models.
  • Interdisciplinary Coordination: Collaborate with other engineering disciplines (e.g., mechanical, civil) to ensure a well-integrated design.
  • Safety Factors: Always apply appropriate safety factors as dictated by design codes.

Summary

By following these steps, you can achieve an accurate and thorough complex piping design analysis, ensuring that the system is safe, efficient, and compliant with industry standards.