Fatal error: "entries are not monotonically increasing"

  • Thread starter Thread starter Basmah
  • Start date Start date
  • Tags Tags
    Mcnp Mcnp5 Mcnp6
AI Thread Summary
The error "entries are not monotonically increasing" in gamma spectra is likely due to the input data not being in the correct format for the SI card, which defaults to H for histograms. This issue arises when the data consists of discrete energies and probabilities rather than a continuous distribution. It is recommended to revert to the original data and use the L card instead of H. Additionally, testing with a simple geometry and energy bins can help verify if the spectrum behaves as expected. Properly formatting the input data is crucial for resolving this error.
Basmah
Messages
1
Reaction score
0
I have encpuntered this error with the gamma spectra "entries are not monotonically increasing". Despite attempting the following solutions, the issue remains unresolved:
  • Rearranging Energies in ascending order.
  • Removed any duplicate energy values.
What may be causing this error? and how can I solve it?
 

Attachments

Engineering news on Phys.org
Welcome to PF @Basmah,

The SI card defaults to H, a histogram with monotonically increasing entries, which this input data very much isn't. That would make sense if this is a distribution being modeled. If this is a gamma spectrum then the table is probably a series of discrete energies and probabilities so the SI card should start with an L

So I suggest you go back to your original data before you tried to order it, use L and see if the spectrum (try a simple geometry, no materials, a tally with energy bins) is what you expect.
 
Hello everyone, I am currently working on a burnup calculation for a fuel assembly with repeated geometric structures using MCNP6. I have defined two materials (Material 1 and Material 2) which are actually the same material but located in different positions. However, after running the calculation with the BURN card, I am encountering an issue where all burnup information(power fraction(Initial input is 1,but output file is 0), burnup, mass, etc.) for Material 2 is zero, while Material 1...
Hi everyone, I'm a complete beginner with MCNP and trying to learn how to perform burnup calculations. Right now, I'm feeling a bit lost and not sure where to start. I found the OECD-NEA Burnup Credit Calculational Criticality Benchmark (Phase I-B) and was wondering if anyone has worked through this specific benchmark using MCNP6? If so, would you be willing to share your MCNP input file for it? Seeing an actual working example would be incredibly helpful for my learning. I'd be really...

Similar threads

Back
Top