Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added decay_neutron_energy function to match existing decay_photon_energy #3065

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

shimwell
Copy link
Member

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

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

@Ebiwonjumi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants