# Neutron Flux Spectrum Calculated with OpenMC

**URL:** <https://openmc.discourse.group/t/neutron-flux-spectrum-calculated-with-openmc/6256>\
**Category:** User Support\
**Created:** [March 16, 2026, 2:24pm UTC](https://openmc.discourse.group/t/neutron-flux-spectrum-calculated-with-openmc/6256 "2026-03-16T14:24:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DinaEl](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@DinaEl](https://openmc.discourse.group/u/DinaEl)\
**Post date:** [March 16, 2026, 2:24pm UTC](https://openmc.discourse.group/t/neutron-flux-spectrum-calculated-with-openmc/6256/1 "2026-03-16T14:24:50Z")

</div>

How can I obtain and plot the neutron flux spectrum in OpenMC using Python?

---

<div class="post-metadata">

**Author:** ![nuclearkevin](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/nuclearkevin/32/4190_2.png) [@nuclearkevin](https://openmc.discourse.group/u/nuclearkevin)\
**Post date:** [March 16, 2026, 5:49pm UTC](https://openmc.discourse.group/t/neutron-flux-spectrum-calculated-with-openmc/6256/2 "2026-03-16T17:49:49Z")

</div>

Hello, and welcome to the OpenMC forums!

The following example Jupyter notebook goes through the steps necessary to obtain a flux spectrum: [Jupyter Notebook Viewer](https://nbviewer.org/github/openmc-dev/openmc-notebooks/blob/main/flux-spectrum.ipynb)

---

<div class="post-metadata">

**Author:** ![DinaEl](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@DinaEl](https://openmc.discourse.group/u/DinaEl)\
**Post date:** [March 17, 2026, 5:47pm UTC](https://openmc.discourse.group/t/neutron-flux-spectrum-calculated-with-openmc/6256/3 "2026-03-17T17:47:07Z")

</div>

Okay, I’ll check it. Thank you!
