openmc_mcnp_adapter icon indicating copy to clipboard operation
openmc_mcnp_adapter copied to clipboard

Adding xsdir to cross_sections.xml conversion

Open shimwell opened this issue 1 year ago • 1 comments

when trying to run an old mcnp simulation in openmc I guess it would also be handy to have the xsdir converted to a cross_sections.xml

then we can ensure the same nuclear data is used.

this could be a case where the xsdir file is converted but also the ACE file referenced in the xsdir file gets converted to h5 as well

is this xsdir-to-crosssections-xml functionality something that would be well suited to living in this package?

shimwell avatar Jun 10 '24 15:06 shimwell

It should be feasible by considering the xsdir structure, leveraging on available xsdir parser, e.g. PyNE or F4Enix, and the functions available in the openmc.

If this request is still relevant, I may try to propose a tentive converter based on this approach.

alberto743 avatar Jun 20 '25 14:06 alberto743