# How openmc deal with cross-sectional data

**URL:** <https://openmc.discourse.group/t/how-openmc-deal-with-cross-sectional-data/4288>\
**Category:** User Support\
**Created:** [May 17, 2024, 1:52pm UTC](https://openmc.discourse.group/t/how-openmc-deal-with-cross-sectional-data/4288 "2024-05-17T13:52:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawn](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/dawn/32/3319_2.png) [@dawn](https://openmc.discourse.group/u/dawn)\
**Post date:** [May 17, 2024, 1:52pm UTC](https://openmc.discourse.group/t/how-openmc-deal-with-cross-sectional-data/4288/1 "2024-05-17T13:52:56Z")

</div>

Hello!

```
   The upper limit of many elements' cross-sectional data in the 

```

ENDF\_B-VII.0 is 20MeV. If some of the neutrons’ energy is exceeds  
20MeV, how does OpenMC handle it during calculation? Is it directly  
killing this particle? Where can I find the relevant instructions in  
the OpenMC manual?

Thanks

---

<div class="post-metadata">

**Author:** ![gridley](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/gridley/32/1064_2.png) [@gridley](https://openmc.discourse.group/u/gridley)\
**Post date:** [May 17, 2024, 4:52pm UTC](https://openmc.discourse.group/t/how-openmc-deal-with-cross-sectional-data/4288/2 "2024-05-17T16:52:25Z")

</div>

Hello,

As you can see from a typical output from running openmc, you’ll get a message like this:

```auto
 Maximum neutron transport energy: 20000000 eV for N15

```

If a particle is sampled above the upper bound energy, a new energy is retried. So, the particles are not killed, it’s instead that the energy distribution will be truncated and re scaled to fall in the allowable range. You can see the relevant behavior in src/source.cpp. Do you think this should be specifically noted in the documentation?

---

<div class="post-metadata">

**Author:** ![dawn](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/dawn/32/3319_2.png) [@dawn](https://openmc.discourse.group/u/dawn)\
**Post date:** [May 26, 2024, 2:25pm UTC](https://openmc.discourse.group/t/how-openmc-deal-with-cross-sectional-data/4288/3 "2024-05-26T14:25:32Z")

</div>

Thanks for taking the time to answer my question.Your help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![WJG12138](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@WJG12138](https://openmc.discourse.group/u/WJG12138)\
**Post date:** [July 18, 2025, 3:39am UTC](https://openmc.discourse.group/t/how-openmc-deal-with-cross-sectional-data/4288/4 "2025-07-18T03:39:48Z")

</div>

Openmc is not unable to handle energy above 20MeV, it has a global energy upper limit, which is achieved by traversing the energy upper limit of the nuclides involved in the simulation, taking its minimum value as the global energy upper limit, and then when the neutron energy is sampled, if this global upper limit is exceeded, the sampling is repeated until the neutron energy falls within the global upper limit. In other words, if there are two nuclides in a simulation, the energy of nuclide 1 is 150 MeV, and the energy of nuclide 2 is 30 MeV, then the maximum energy of neutrons in this simulation is 30 MeV, which is a conservative design to ensure that all nuclides can be supported by valid data.
