mctools / ncrystal

NCrystal : a library for thermal neutron transport in crystals and other materials
https://mctools.github.io/ncrystal/
Other
41 stars 18 forks source link

ncmat2endf script #183

Open marquezj opened 5 months ago

marquezj commented 5 months ago

I have been working on a script to generate thermal scattering files in the ENDF-6 format. This is a common request from users in the radiation transport community that use codes that do not have native support for NCrystal. It replaces NJOY+NCrystal by extracting and formatting the information directly from the Info objects. The script is available here:

https://github.com/marquezj/ncmat2endf

It uses endf-parserpy to generate the files.

I am opening this issue to start the discussion. Later I can generate a pull request to actually incorporate it.

tkittel commented 1 month ago

@marquezj a heads up, one of the things needed for this tool is automated tests. Some can use larger files, but we also need some where files and output are of a rather reasonable size so it can be included in the soon-to-be-in-ncrystal-repo-itself tests.