Materials.xml <element> Problem

Hi all, I believe I found a bug in the materials.xml file while using the attribute. While using the attribute, if I try to specify a xs identifier, it will not be able to find the nuclide in the cross section data. An example of the error I get is as follows ERROR: Could not find nuclide 13027.Mo-100 in cross_sections.xml file!. An example of the difference between the two:

Working:

Not Working:

I’ve attached the two different materials.xml files, one that works and the other that doesn’t if you’d like to see the full file.

Thanks,

Tim

materialsworking.xml (1.14 KB)

materialsnotworking.xml (1.16 KB)

I ran in to the same problem I will look into it.

-Bryan

Already fixed!
https://github.com/mit-crpg/openmc/issues/269

Also note that I will be improving the natural element expansion capability in the near future so that you can specify what cross section set you’re using since different sets have different nuclides available. See https://github.com/mit-crpg/openmc/issues/253