Mcnp error the new source has overrun the old source

Click For Summary
SUMMARY

The forum discussion centers on the MCNP error message "the new source has overrun the old source," which occurs when the user sets 5000 source histories per cycle on the KCODE card. The error consistently appears at source particle number 5688 during the first inactive cycle. Reducing the source histories to 1000 resolves the issue, indicating a potential misconfiguration in the input file. A solution provided suggests adjusting the fifth entry in the KCODE card to a value of 10000 or 15000 to accommodate the number of particles.

PREREQUISITES
  • Understanding of MCNP (Monte Carlo N-Particle Transport Code)
  • Familiarity with KCODE card settings in MCNP
  • Basic knowledge of source histories in Monte Carlo simulations
  • Experience with input file configurations in MCNP
NEXT STEPS
  • Review MCNP documentation on KCODE card configurations
  • Learn about troubleshooting common MCNP error messages
  • Explore best practices for setting source histories in MCNP simulations
  • Investigate the implications of particle number settings in Monte Carlo methods
USEFUL FOR

Beginners in MCNP, simulation analysts, and researchers working with Monte Carlo methods who are troubleshooting source history configurations and error messages.

gsyou
Messages
7
Reaction score
1
mcnp error "the new source has overrun the old source"

I am a beginner with MCNP. This error really confused me. Who knows what this error means? Thank you.
 
Last edited:
Engineering news on Phys.org
And the error is really tricky. When I set 5000 source histories per cycle on KCODE card, the error appeared every time at source particle no. 5688, and only one inactive cycle has run. But when I set 1000 source histories per cycle, the error disappeared, and MCNP seems run well. This really makes me confused. Does it imply any error in my input file?
 
gsyou said:
And the error is really tricky. When I set 5000 source histories per cycle on KCODE card, the error appeared every time at source particle no. 5688, and only one inactive cycle has run. But when I set 1000 source histories per cycle, the error disappeared, and MCNP seems run well. This really makes me confused. Does it imply any error in my input file?
dear, you just put a fifth entry in kcode. if your number of particles is 5000, then put 5000*2 = 10000 or 15000 as fifth entry in your kcode. then see how it works...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
1K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K