MCNP lattice of the fuel assembly input file?

Click For Summary

Discussion Overview

The discussion revolves around troubleshooting an input file for a 16 x 16 lattice fuel assembly in MCNP, focusing on geometry definition errors that prevent the code from running properly. Participants explore potential issues and solutions related to the input file's configuration and geometry.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant reports an error message indicating a problem with the geometry definition in the input file.
  • Several participants suggest changing the filename to .txt to facilitate file sharing for troubleshooting.
  • Another participant notes that the lattice has universe 0 fills, which they have not encountered before, indicating a potential issue with the geometry.
  • A participant identifies that the lattice is defined in the xz plane instead of the xy plane, suggesting a correction in the fill definitions.
  • It is proposed that changing universe 0 entries to universe 1 may resolve undefined spaces in the geometry.
  • One participant expresses gratitude for the resolution of the geometry errors and confirms that the input file now runs a kcode.
  • Another participant shares an alternative input file for a similar assembly with different temperature settings, noting that it does not use lattices and has different pin diameters.

Areas of Agreement / Disagreement

Participants generally agree on the identification of geometry-related issues in the input file and propose similar solutions. However, there is no consensus on the final objectives of the assembly or the appropriateness of the alternative input file provided.

Contextual Notes

Some limitations include the dependence on specific geometry definitions and the unresolved nature of the final objectives for the assembly. The discussion does not clarify whether all proposed solutions are universally applicable.

Islam Nabil
Messages
14
Reaction score
1
TL;DR
There is an input file of a simple lattice 16 x 16 fuel assembly. I have a message blocking the run of the code; bad trouble in subroutine newcel of mcrun source particle no 1 random number 6647299061401 zero lattice element hit. what is the wrong?
There is an input file for a simple 16 x 16 lattice fuel assembly. I have a message blocking the run of the code;
"bad trouble in subroutine newcel of mcrun source particle no 1 random number 6647299061401 zero lattice element hit."
What is wrong?
 

Attachments

Last edited:
Engineering news on Phys.org
There is an error somewhere in the geometry definition. If you change the filename of the input file to add .txt you can attach it to a post we can have a look at it.

If you can't share the input file you could try to debug it by plotting the geometry, but our help becomes very indirect.
 
Alex A said:
There is an error somewhere in the geometry definition. If you change the filename of the input file to add .txt you can attach it to a post we can have a look at it.

If you can't share the input file you could try to debug it by plotting the geometry, but our help becomes very indirect.
Upload the txt file ...
 

Attachments

Yes, if you click the button 'Attach files' you can find the file, if the name ends .txt
 
Alex A said:
Yes, if you click the button 'Attach files' you can find the file, if the name ends .txt
Already uploaded
 
Alex A said:
Yes, if you click the button 'Attach files' you can find the file, if the name ends .txt
Name changed
 
Sorry, maybe I needed to refresh the page or maybe I did not look at the first post!

Your lattice has universe 0 fills. I have not seen that before. You are cutting that out of the rpp being filled. Ok.

I did mcnp ip inp=file
Clicked to enter a command into the plot window and did,
pz 0
To see a cross section through the middle. Most fuel element positions are undefined. It will take me some time to look at this.
 
Firstly your lattice is xz instead of xy.
fill=-8:9 -9:8 0:0
not
fill=-8:9 0:0 -9:8

Secondly the 0 universe fill is creating a space outside your (cooling?) tubes that is not defined. Changing the universe 0 entries to universe 1 fixes that. That is the usual way to create a 'background' cell, refer the lattice universe to itself. I don't see any other problems at the moment. The geometry errors seem to have gone and the input file now runs a kcode.
 

Attachments

Alex A said:
Firstly your lattice is xz instead of xy.
fill=-8:9 -9:8 0:0
not
fill=-8:9 0:0 -9:8

Secondly the 0 universe fill is creating a space outside your (cooling?) tubes that is not defined. Changing the universe 0 entries to universe 1 fixes that. That is the usual way to create a 'background' cell, refer the lattice universe to itself. I don't see any other problems at the moment. The geometry errors seem to have gone and the input file now runs a kcode.
Thank you, thank you very much, Doctor... The problem has already been resolved... Thank you...
 
  • Like
Likes   Reactions: Alex A
  • #10
I'm not sure what your final objectives are, but this assembly is at room temperature.
I've attached an input for a 16x16 case that uses a fuel temperature of 900 K and all other
temperatures are set at 600 K.

Unfortunately, this doesn't use lattices and the pin diameters are slightly different from what you have.
 

Attachments

  • ce16-1.mcnp.txt
    ce16-1.mcnp.txt
    41.6 KB · Views: 194
  • ce16-1.png
    ce16-1.png
    17.5 KB · Views: 158
  • Like
Likes   Reactions: Islam Nabil and Alex A
  • #11
rpp said:
I'm not sure what your final objectives are, but this assembly is at room temperature.
I've attached an input for a 16x16 case that uses a fuel temperature of 900 K and all other
temperatures are set at 600 K.

Unfortunately, this doesn't use lattices and the pin diameters are slightly different from what you have.
Thanks a lot doctor... King regards
 

Similar threads

Replies
5
Views
3K
Replies
7
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
5K
Replies
2
Views
7K