JPB Process Calcs

Thermal (Hydraulic Expansion) Relief

Relief Systems · Calculator S5-04 · Verified: the solver reproduces its worked example and is covered by tests.

Relief rate and orifice area for a blocked-in liquid line or vessel exposed to a heat source, per the API 521 thermal expansion equation.

Open the calculator

Overview

What it calculates

This calculator estimates the relief rate needed to protect liquid that is trapped between closed valves while something heats it. The rate is the heat input times the liquid's cubical expansion coefficient, divided by its density and specific heat. The US working form is Q (gpm) = BΦ / (500 G c). The code then applies the liquid relief equation with Kd = 0.65, using set pressure minus back pressure, and reports whether a valve with the API 526 D orifice area of 0.110 in² (71 mm²) would carry that rate.

When to use it

Use it for blocked-in pipe runs exposed to sun, heat-traced lines, and the cold side of an exchanger that can be isolated while the hot side keeps flowing. The rate is usually tiny. The hazard comes from liquid being nearly incompressible, so pressure in a full, isolated line can rise very fast even with modest heating.

Inputs that matter most

The rate is directly proportional to both heat input and B. The fluid choice matters a great deal. The preset for light hydrocarbons, 0.0011 per °F (0.00198 per K), is more than five times the water preset. Water's real coefficient also changes strongly with temperature, so use a custom value at relieving temperature for hot water. Specific gravity and specific heat sit in the denominator. The heat input basis selector is only a label. You must enter the heat input yourself in every case.

Reading the results

If the D-orifice check says no, the heat input is likely large, for example a high-duty exchanger with the cold side blocked in. Size that case properly in PSV Sizing (Liquid) with the vendor's Kd and any back pressure correction.

Limits and common mistakes

Blocked-in volume does not appear in the equation. A longer line does not need more relief capacity for the same heat input. Do not confuse this case with fire. If heating can boil the liquid, use Fire Case Relief Load (API 521). Small thermal relief valves often have a smaller orifice than the D size, so check the actual valve's area against the required area.

Equations

Qrelief=B Φ500 G cQ_{relief} = \frac{B\,\Phi}{500\,G\,c}
Relief rate (US working form: gpm, Φ in Btu/hr, B in 1/°F, c in Btu/(lb·°F)).

Source: API 521

SymbolMeaningUnits (US / SI)
QreliefQ_{relief}Relief rategpm / m³/h
BBCubical expansion coefficient-
Φ\PhiHeat inputhp / kW
GGSpecific gravity-
ccSpecific heatBtu/(lb·°F) / kJ/(kg·K)

Inputs

InputSymbolDefaultTypical range or options
Heat input basisSolarSolar
Heat tracing / exchanger tube rupture
Ambient
Enter heat input directly
Heat inputΦ\Phi216.2 hp (161.2 kW)
Cubical expansion coefficient (B)Water (B ≈ 0.0002 /°F)Water (B ≈ 0.0002 /°F)
Light hydrocarbon (B ≈ 0.0011 /°F)
Medium hydrocarbon (B ≈ 0.0008 /°F)
Heavy oil (B ≈ 0.0004 /°F)
Custom
Custom B (1/K)BB0.00198
Specific heatcc0.5692 Btu/(lb·°F) (2.383 kJ/(kg·K))
Specific gravityGG0.584
Set pressurePsetP_{set}114 psig (786 kPag)
Back pressurePbP_b0 psig (0 kPag)

Outputs

Assumptions and limitations

Assumptions

Limitations

Worked example

Worked example: G=0.584, Q=550,000 Btu/hr, B=0.0011/°F, S=0.5692 Btu/(lb·°F)

Inputs

Heat input basisEnter heat input directly
Heat input216.2 hp (161.2 kW)
Cubical expansion coefficient (B)Custom
Custom B (1/K)0.00198
Specific heat0.5692 Btu/(lb·°F) (2.383 kJ/(kg·K))
Specific gravity0.584
Set pressure114 psig (786 kPag)
Back pressure0 psig (0 kPag)

Expected results

Relief rate3.64 gpm (0.8267 m³/h)
Required area7.325×10-5 ft² (6.805×10-6 m²)

The calculator's test suite checks that the solver reproduces these results.

References

Thermodynamic traps

Open the calculator

Page last updated 2026-10-28.