
Lucas Andersson presented the new research findings at the Nordic Fire & Safety Days conference in Copenhagen.
8 September 2026
Open-source code paves the way for safer hydrogen facilities
As the use of hydrogen increases, there is a need for effective and accessible methods to assess what happens during an explosion. Researchers at Luleå University of Technology have now developed an open-source calculation tool that tracks the entire sequence of events—from the moment the gas ignites to how the shock wave affects a building or protective wall.
Hydrogen can help reduce industrial carbon dioxide emissions, in part by replacing coal in iron and steel production. However, an increase in the number of facilities for the production, storage, and use of hydrogen also means that explosion risks must be reliably assessed.
To investigate in detail the damage a gas explosion can cause, advanced computer simulations are required. The calculations must account for combustion, the movement of the shock wave, and how a building or protective wall reacts to the load.
This is known as fluid-structure interaction, or FSI. Simply put, a calculation of the gas’s combustion and the resulting pressure wave is combined with a calculation of the structure’s response as the two interact. In this way, it is possible to track the entire sequence of events—from ignition to a wall bending, being damaged, or, in the worst case, collapsing.
Expensive software becomes a black box
Such calculations are typically performed using commercial software. Licenses can be costly, and the source code is often proprietary. Researchers and engineers can then see which values are entered and what results are produced, but they cannot always examine exactly what happens in between, making troubleshooting and potential manipulation impossible.
Lucas Andersson, a doctoral student in fire engineering at Luleå University of Technology, has now developed a workflow in which the entire calculation chain is based on open source code.
“When the code is open, it’s possible to examine how the calculations are structured, detect any errors, and adapt the method to the facility or structure being studied. Users also aren’t tied to any specific commercial software,” says Lucas Andersson.
The workflow combines three open-source tools. One calculates the combustion of the gas and the propagation of the shock wave, another calculates how the structure reacts, and a third links the two calculations together.
Lucas Andersson, doctoral student in Fire Engineering at Luleå University of Technology, has developed an open-source workflow for calculating how gas explosions affect buildings and protective walls.
Tested against a real hydrogen explosion
To investigate the method’s reliability, the researcher compared the simulations with results from a previous experiment. In the experiment, a mixture of hydrogen and air was detonated next to a reinforced concrete protective wall. The pressure against the wall and the wall’s deflection were measured at a number of points and could then be compared with the computer model’s results.
Initial studies show that the workflow can accurately reproduce the load exerted by the explosion on the wall. Furthermore, the computation time was relatively short. The method needs to be further developed and tested, including for additional types of explosions and structures.
“The goal is to make advanced safety calculations for gas explosions more accessible and transparent. In the long term, this could provide a better basis for designing, for example, buildings and protective walls at hydrogen facilities,” says Lucas Andersson.
The open-source solution can also make it easier for other researchers to verify the results, further develop the method, and compare different safety measures, as well as enable the industry to utilize the model in appropriate situations. This can contribute to safer hydrogen facilities, without advanced impact assessments being limited to organizations that can afford expensive software licenses.
About the project
This work is carried out within the FINAST project (Research and Innovation in Norrbotten for Advanced Green Steel Production and Manufacturing) which is funded by the EU Just Transition Fund and the Swedish Agency for Economic and Regional Growth under grant number 20358499.
Published:
Updated: