openmc.data.njoy.make_ace_thermal

openmc.data.njoy.make_ace_thermal(filename, filename_thermal, temperatures=None, ace='ace', xsdir='xsdir', **kwargs)[source]

Generate thermal scattering ACE file from ENDF files

Parameters:
  • filename (str) – Path to ENDF neutron sublibrary file
  • filename_thermal (str) – Path to ENDF thermal scattering sublibrary file
  • temperatures (iterable of float, optional) – Temperatures in Kelvin to produce data at. If omitted, data is produced at all temperatures given in the ENDF thermal scattering sublibrary.
  • ace (str, optional) – Path of ACE file to write
  • xsdir (str, optional) – Path of xsdir file to write
  • **kwargs – Keyword arguments passed to openmc.data.njoy.run()
Returns:

Return code of NJOY process

Return type:

int