openmc.data.njoy.make_ace

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

Generate incident neutron ACE file from an ENDF file

Parameters:
  • filename (str) – Path to ENDF file
  • temperatures (iterable of float, optional) – Temperatures in Kelvin to produce ACE files at. If omitted, data is produced at room temperature (293.6 K).
  • ace (str, optional) – Path of ACE file to write
  • xsdir (str, optional) – Path of xsdir file to write
  • pendf (str, optional) – Path of pendf file to write. If omitted, the pendf file is not saved.
  • **kwargs – Keyword arguments passed to openmc.data.njoy.run()
Returns:

Return code of NJOY process

Return type:

int