Geometry error in newcel

  • Thread starter Thread starter Jaddyd
  • Start date Start date
  • Tags Tags
    Mcnp5 Mcnp6
Click For Summary
SUMMARY

The forum discussion addresses a geometry error encountered in MCNP 5, specifically the "geometry error in newcel" message, which results in the termination of the run due to lost particles. Key issues include warnings about energy bins below cutoff and materials being set to conductors. Users suggest modifying the source definition (sdef) position from (0.5, 0, 0) to (0, 0, 0) to avoid errors related to surface positioning. Additionally, it is recommended to clear the output directory of unnecessary files to prevent further errors during execution.

PREREQUISITES
  • Familiarity with MCNP 5 simulation software
  • Understanding of source definition parameters in MCNP
  • Knowledge of file management in computational simulations
  • Basic understanding of particle transport and geometry in Monte Carlo methods
NEXT STEPS
  • Review MCNP 5 documentation on geometry definitions and error handling
  • Learn about the implications of energy cutoff settings in MCNP simulations
  • Investigate best practices for managing output files in MCNP
  • Explore troubleshooting techniques for common MCNP errors
USEFUL FOR

This discussion is beneficial for MCNP users, computational physicists, and researchers involved in particle transport simulations who are troubleshooting geometry-related errors and optimizing their simulation setups.

Jaddyd
Messages
7
Reaction score
4
TL;DR
run terminated because 10 particles got lost.
meshtal already exists. meshtam is created instead.
warning. 4 of 4 tallies did not pass all 10 statistical checks.
warning. 4 of 4 tallies were all zeros.
I am facing a problem after running my input file through MCNP 5 it give me these comment👇👇
Can any one help me to resolve the error?
Code:
mode n p
  comment.  photonuclear physics may be needed (phys:p).                                                              

  comment.           9 surfaces were deleted for being the same as others.                                            
  warning.     1 energy bins of tally       14 are below energy cutoff.                                               
  warning.     1 energy bins of tally       34 are below energy cutoff.                                               
  warning.    3 materials had unnormalized fractions. print table 40.                                                 
 comment. using random number generator  1, initial seed = 19073486328125
 imcn   is done

 runtpe already exists.  runtpf is created instead.
  warning.  material        1 has been set to a conductor.                                                            
  warning.  material        3 has been set to a conductor.                                                            
  warning.  material        4 has been set to a conductor.                                                            
  warning.  material        6 has been set to a conductor.                                                            
  warning.  material        8 has been set to a conductor.                                                            

                              ctm =        0.00   nrn =                 0
 dump    1 on file runtpf   nps =           0   coll =                0
 xact   is done

 cp0 =   1.93
 geometry error in newcel
 run terminated because  10 particles got lost.
 meshtal already exists.  meshtam is created instead.
  warning.     4 of   4 tallies did not pass all 10 statistical checks.                                               
  warning.     4 of   4 tallies were all zeros.                                                                       

                              ctm =        0.00   nrn =             11035
 dump    2 on file runtpf   nps =          15   coll =              654
 mcrun  is done
 

Attachments

Last edited by a moderator:
Engineering news on Phys.org
I have to make changes to make it work with my old libraries but it runs for me. If the version you attached gives errors can you attach the full output file please?
 
  • Like
Likes   Reactions: berkeman
Kindly receive FYNA
 

Attachments

Alex A said:
I have to make changes to make it work with my old libraries but it runs for me. If the version you attached gives errors can you attach the full output file please?
Can you also share with me those changes you've made?
 
The file you attached has this sdef line,
Code:
sdef pos=0.5 0 0 erg=2.45
The file you ran has this sdef line,
Code:
sdef pos=0 0 0 erg=2.45
If a source is on a surface the code can make mistakes. 0 0 0 is on surface 8 (px 0). If 0.5 is wrong, only a tiny change is needed to not be 0 so 0.001 should work.

I don't see any other changes and this would explain the fatal error.
 
  • Informative
  • Like
Likes   Reactions: Astronuc, berkeman and Jaddyd
Alex A said:
The file you attached has this sdef line,
Code:
sdef pos=0.5 0 0 erg=2.45
The file you ran has this sdef line,
Code:
sdef pos=0 0 0 erg=2.45
If a source is on a surface the code can make mistakes. 0 0 0 is on surface 8 (px 0). If 0.5 is wrong, only a tiny change is needed to not be 0 so 0.001 should work.

I don't see any other changes and this would explain the fatal error.
Thank you so much!
 
  • Like
Likes   Reactions: Astronuc, Alex A and berkeman
Hi Team, I have managed to run my previous input file, after making some changes i run it again it gives me these error

"bad trouble in subroutine unique of xact

cannot create runtpe "

then it stope to proceed. Kindly assist. I have attached my input file
 

Attachments

When run MCNP can create a lot of output files, when next run it typically alters a letter and retries. Eventually, 26 letters later it can give up and error. outp, mdata, runtpe, comout and other files depending on what the program is asked for. Move these to a fresh directory or delete if they are not needed, but clear the directory of these files and their 1 letter alts.

Also check you have enough free disk space. A few hundred MB should be easily enough for most problems.
 
  • Informative
Likes   Reactions: berkeman and Jaddyd
Alex A said:
When run MCNP can create a lot of output files, when next run it typically alters a letter and retries. Eventually, 26 letters later it can give up and error. outp, mdata, runtpe, comout and other files depending on what the program is asked for. Move these to a fresh directory or delete if they are not needed, but clear the directory of these files and their 1 letter alts.

Also check you have enough free disk space. A few hundred MB should be easily enough for most problems.
Thank you so much! I see, there is a lot of runtp....... files it needs to be deleted! I appreciate a lot.
 
  • Like
Likes   Reactions: berkeman

Similar threads

  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 20 ·
Replies
20
Views
19K