openmc icon indicating copy to clipboard operation
openmc copied to clipboard

added ```decay_neutron_energy``` function to match existing ```decay_photon_energy```

Open shimwell opened this issue 1 year ago • 3 comments

Description

It would be useful to have a openmc.data.decay_neutron_energy to match the already existing openmc.data.decay_photon_energy

For my use case I've been doing a few simulations with activated water and one of the products is N17 which is a neutron emitter. I'm keen to know the emission details of the neutrons

I notice there are other nuclides of (Cm, Cf, Bk, Am, Sm, Th, U, Pu) that also decay via neutron emission.

This PR makes use of the existing decay_photon_energy code and a bit more generic so that is can get neutron or photon sources

Fixes # (issue)

Checklist

  • [x] I have performed a self-review of my own code
  • [x] I have followed the style guidelines for Python source files (if applicable)

shimwell avatar Jun 28 '24 14:06 shimwell

Thanks @shimwell, this would be useful to determine neutron dose in spent fuel, just as the decay_photon_energy is in shutdown dose of fusion systems.

Ebiwonjumi avatar Jul 10 '24 14:07 Ebiwonjumi

Wondering if anyone has time to review this PR

shimwell avatar Jan 14 '25 16:01 shimwell

@shimwell Thanks for the ping (and for your patience). I'm making my way through PRs and will try to get to this one soon!

paulromano avatar Jan 14 '25 21:01 paulromano