ASME B31.12 is the ASME code for hydrogen piping and pipelines: it sets which materials are allowed, how embrittlement is accounted for, and which limits the flexibility analysis must meet. We explain what it requires, how it differs from other B31 codes, and how we apply it in our hydrogen piping stress analysis.
What is ASME B31.12?
Its full designation is ASME B31.12-2023, Hydrogen Piping and Pipelines, published by ASME on 12.29.2023. It is the section of the ASME B31 Code for Pressure Piping devoted to hydrogen, and it supersedes the 2019 edition.
It is organized in three parts. Part GR covers the general requirements: materials, welding, heat treatment, testing, inspection, and maintenance. Part IP covers industrial piping and Part PL, pipelines. Each part is used together with Part GR, but independently of the other.
When does ASME B31.12 apply?
It applies to piping and pipelines carrying gaseous hydrogen or gaseous mixtures containing hydrogen, and to liquid hydrogen piping.
It covers the piping up to and including the connection to vessels and equipment, but not the equipment itself. It also governs the location and type of supports, though not the structure they are attached to.
It is not intended to be applied retroactively to existing hydrogen installations.
What does ASME B31.12 add compared with other B31 codes?
The underlying difference is hydrogen embrittlement: the code adjusts materials, design, and inspection to account for it. These are the points worth locating in the standard:
| Topic | What it sets | Where to find it |
|---|---|---|
| Permitted materials | Its own materials index; it excludes many materials that ASME B31.3 allows, because they are not suitable for hydrogen | Tables GR-2.1.1-1 and GR-2.1.1-2; Mandatory Appendix A, Table A-2-1 |
| Material performance factor, Mf | Accounts for the effect of hydrogen on carbon and low-alloy steels in industrial piping | Tables IX-5B and IX-5C |
| Material performance factor, Hf | The equivalent for carbon steels in pipelines | Table IX-5A |
| Pipeline design | Two options, A and B, with different design factors | Tables PL-3.7.1-1 and PL-3.7.1-2 |
| Hardness | Hardness testing and acceptance criteria for welds | GR-3.10; Table IP-10.4.3-2 |
| Operation and maintenance | Maintenance plan and leak monitoring | Chapter GR-5 |
Table 1. Requirements specific to ASME B31.12 and where they are located in the standard.
Source: ASME B31.12-2023, official table of contents.
Appendix A also gives general precautions for hydrogen service.
What does ASME B31.12 require in flexibility analysis?
Part IP devotes Chapter IP-6, Flexibility and Support, to flexibility. It requires two types of load to be analyzed and the supports to be defined:
- Displacement loads (IP-6.1): thermal expansion and contraction, and movements imposed by equipment and anchors.
- Sustained loads (IP-6.2): weight and pressure.
- Supports (IP-6.3): type and location of each one.
The design criteria are in Chapter IP-2 and the allowable stresses for each material in Table IX-1A. Nonmandatory Appendix B offers alternative rules for evaluating the stress range. For pipelines, the reference is paragraph PL-2.5.
At CADE we perform this analysis with CAESAR II. In addition to the code stresses, we obtain the displacements and the reactions at each support.
How does it differ from ASME B31.3 in flexibility analysis?
Part IP of ASME B31.12 follows the structure of ASME B31.3, and flexibility analysis is set up the same way. The differences lie in two factors that change the result:
| Topic | ASME B31.3 | ASME B31.12, Part IP |
|---|---|---|
| Pressure design thickness | Weld joint strength reduction factor, W | Material performance factor, Mf, instead of W |
| Allowable displacement stress range, SA | Equations with the cyclic stress range reduction factor, f | The same equations |
| Number of cycles used to calculate f | Full cycles expected over the service life | Expected cycles multiplied by 10 for materials susceptible to embrittlement, within the temperature range where it can occur |
| 304 and 316 stainless steels | W = 1 | Mf = 1 |
Table 2. Differences between ASME B31.3 and ASME B31.12 that affect flexibility analysis.
For the same layout, B31.12 leaves less margin against fatigue in carbon and low-alloy steels. That is why recalculating wall thickness is not enough: flexibility must be reviewed too.
Example: how much the allowable range drops with the factor of 10
Consider a carbon steel line expected to see about 10,000 full displacement cycles over its service life, for example two start-ups and shutdowns a day for 14 years. The cyclic stress range reduction factor is f = 6.0 · N−0.2:
- With ASME B31.3: N = 10,000 and f ≈ 0.95.
- With ASME B31.12: N = 100,000 and f = 0.60.
The allowable displacement stress range drops by 37%. A layout that passed comfortably under B31.3 may need more flexibility: expansion loops, changes of direction or different supports.
Talk to our Engineering and Consulting team
At CADE we have experience in the design of hydrogen piping systems and in their flexibility analysis to ASME B31.12. If your facility handles hydrogen, contact our Engineering and Consulting area to find out how we can help with your project.
Related CADE services: Engineering and Consulting · Piping design and stress analysis
More information: ASME B31.12-2023, Hydrogen Piping and Pipelines (official table of contents) · ASME B31.3-2024, Process Piping
You may also like: Leak prevention in hydrogen systems · STRESS ANALYSIS OF PIPES WITH RATIO D / t> 100 · GRP/FRP piping flexibility calculations