Thermal (Hydraulic Expansion) Relief
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.
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
Source: API 521
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Relief rate | gpm / m³/h | |
| Cubical expansion coefficient | - | |
| Heat input | hp / kW | |
| Specific gravity | - | |
| Specific heat | Btu/(lb·°F) / kJ/(kg·K) |
Inputs
| Input | Symbol | Default | Typical range or options |
|---|---|---|---|
| Heat input basis | Solar | Solar Heat tracing / exchanger tube rupture Ambient Enter heat input directly | |
| Heat input | 216.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) | 0.00198 | ||
| Specific heat | 0.5692 Btu/(lb·°F) (2.383 kJ/(kg·K)) | ||
| Specific gravity | 0.584 | ||
| Set pressure | 114 psig (786 kPag) | ||
| Back pressure | 0 psig (0 kPag) |
Outputs
- Relief rate ()
- Required area ()
- Selected API 526 orifice letter
- ¾×1 in valve (orifice D, 0.110 in²) adequate?
- Heat input used ()
- B used (1/K)
Assumptions and limitations
Assumptions
- A ¾ × 1 in valve is normally adequate for thermal relief; this calculation confirms adequacy for the assumed heat input rather than driving valve selection.
- Blocked-in liquid volume and pipe/vessel geometry do not enter the rate equation (this is a steady-state rate relation, not a volume/time-to-fill calculation) — geometry only feeds the optional heat-flux-based heat input estimate.
- The preset B values by fluid family are typical published figures for reference, not a digitized chart; use "Custom" for a specific fluid’s actual cubical expansion coefficient at relieving temperature.
Limitations
- Uses the liquid relief area equation family at Kd=0.65, Kb=Kc=1 for preliminary required-area output — override by using S5-02 directly if manufacturer Kd or back-pressure corrections apply.
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 basis | Enter heat input directly |
|---|---|
| Heat input | 216.2 hp (161.2 kW) |
| Cubical expansion coefficient (B) | Custom |
| Custom B (1/K) | 0.00198 |
| Specific heat | 0.5692 Btu/(lb·°F) (2.383 kJ/(kg·K)) |
| Specific gravity | 0.584 |
| Set pressure | 114 psig (786 kPag) |
| Back pressure | 0 psig (0 kPag) |
Expected results
| Relief rate | 3.64 gpm (0.8267 m³/h) |
|---|---|
| Required area | 7.325×10-5 ft² (6.805×10-6 m²) |
The calculator's test suite checks that the solver reproduces these results.
References
- Standard Gas Processing Engineering Practice
- API Standard 521
Thermodynamic traps
- Thermal Expansion Rupture: Trapped water gains about 36 psi per °F (US units). Trapped water gains about 4.5 bar per K (SI units).
- The Triple Point Trap: CO2 triple point: 75 psia and minus 70°F (US units). CO2 triple point: 5.18 bar and minus 56.6°C (SI units).
Page last updated 2026-10-28.