S(a,b) for U-Zr/H fuel material

Good evening,
I’ve just compiled OpenMC and use it for the first time. It run properly with examples provided with the package.
I have constructed an example to treat a Triga reactor cell. The fuel is U-Zr/H, and I need to use S(a,b) for H in ZrH and Zr in ZrH.
In MCNP I’am familiar with this and use the entry: mt2 h/Zr.10t Zr/h.10t
When I tried the same for OpenMC it crashes with the following error: ERROR: S(a,b) table zr/h.10t did not match any nuclide on material 2
Material 2 has been defined as:













and all cross section tables have been loaded successfully. They are taken from MCNP package (ENDF-B7).
When I comment the second <sab “z/h” …> line it works properly.

Did any one meet this problem before.

Good morning,

It seems as if you have found a bug! Sorry about that. What was going on here is that the zr/h table (and many S(a,b) tables) list multiple options for which nuclides the data can be applied to. OpenMC is currently only using the first of these nuclides to check for existence of the nuclide in the material when it should have been using them all.

I have created an issue on GitHub so that the other developers are aware of the bug; you can track the progress of its completion at this link: https://github.com/mit-crpg/openmc/issues/227

Thanks again, and we should get through this bug pretty quickly!
Adam

Just as an update – this bug was fixed by Adam and merged in to the develop branch of OpenMC. It will be included in the next release.

Paul