MCNP Error: JCO, Cell Cards & Surface Cards

In summary, the error "JCO" in MCNP refers to "Junction Card Overlap," which occurs when two or more cell cards in the input deck have the same region name and intersect with each other. To fix this error, you will need to check for overlapping cell cards and either rename regions or adjust the geometry. Cell cards in MCNP define the geometry of the model and are assigned unique region names. Surface cards define boundaries and are assigned unique surface numbers. To avoid errors, carefully review the input deck, generate a plot of the model geometry, and use descriptive and unique names for regions and surfaces.
  • #1
phan xuan tham
1
0
hi everyone, i have a mcnp error, it don't finish, it only run a half! i hope someone can help me! thank you!
and my code
JCO
c cell cards
1 1 -0.00117 -100 300
2 2 -1.52 (-100:-101) -300 #1 $solution
3 4 -7.93 (-110:-111)#1#2 $clad
4 3 -1 (-200:-201)#3#1#2 $water
5 4 -7.93 (-210:-211)#4#3#1#2 $clad
6 3 -1 -400
7 1 -0.00117 (211 210 111 110 -500 400)
8 0 500

c surface cards (origin 0 0 0)
c
c tank
100 rcc 0 0 4.2 0 0 56.5 22.5 $cylinder
101 trc 0 0 0 0 0 4.2 1.4 22.5 $cone
110 rcc 0 0 3.9 0 0 57.1 22.8
111 trc 0 0 -0.3 0 0 4.2 1.7 22.8
c water
200 rcc 0 0 1.7 0 0 39.4 25
201 trc 0 0 -2.2 0 0 3.9 1.4 25
210 rcc 0 0 1.4 0 0 40 25.3
211 trc 0 0 -2.5 0 0 3.9 1.7 25.3
c
300 pz 28.024
c
400 rcc 35 0 10 0 0 20 5
c
500 sph 5 0 30 45

c data cards
c
mode n
c
c materials
c air
m1 1001.60c 7.0459e-7
8016.60c 0.010877e-3
7014.60c 0.03784e-3
c solution
m2 1001.60c 0.0604
8016.60c 0.037816
7014.60c 1.896e-3
92235.60c 1.764271e-4
92238.60c 7.62014924e-4
c water
m3 1001.60c 0.06732
8016.60c 0.03342
c mt3 lwtr.01t
c clad
m4 14000. 0.0047
26000. 0.057
25055.60c 0.001736
24000. 0.018
28000. 0.00809
c
imp:n 1 1 1 3r 10 0
sdef cel=2 pos=0 0 5 erg=d1
sp1 -3
f4:n 6
nps 1e5

upload_2017-3-20_11-16-18.png
 
Last edited:
Engineering news on Phys.org
  • #3


Hi there,

I'm sorry to hear that you're experiencing an error in your MCNP code. It can be frustrating when things don't work as expected. Can you provide more information about the error you're receiving? It would be helpful to know what part of the code is causing the error and if there are any error messages or codes associated with it.

In the meantime, I noticed a few things in your code that may be causing issues. In your cell cards, it looks like you're using negative numbers for the cell numbers, which is not allowed in MCNP. You also have a mixture of "#" and "$" symbols, which are used for different purposes in MCNP. The "#" symbol is used for comments, while the "$" symbol is used for material and data cards.

I would suggest double checking your cell and surface cards to make sure everything is formatted correctly. If you're still having trouble, feel free to share more details and I'll try my best to help. Good luck!
 

1. What does the error "JCO" in MCNP mean?

The error "JCO" in MCNP stands for "Junction Card Overlap." This error occurs when two or more cell cards in the input deck have the same region name and intersect with each other. This can cause inconsistencies in the geometry and result in incorrect calculations.

2. How can I fix the "JCO" error in MCNP?

To fix the "JCO" error, you will need to check your input deck for any overlapping cell cards with the same region name. You can either rename the regions or adjust the geometry to avoid the overlap. You can also use the "FILL=" option in the cell card to fill any void spaces between intersecting regions.

3. What are cell cards in MCNP?

Cell cards in MCNP define the geometry of the model being simulated. They specify the material, density, and geometric properties of a particular region in the model. Each cell card is assigned a unique region name, which is used to identify the region in other cards or input files.

4. What are surface cards in MCNP?

Surface cards in MCNP define the boundaries of the model being simulated. They specify the location, shape, and orientation of surfaces that separate different regions in the model. Each surface card is assigned a unique surface number, which is used to identify the surface in other cards or input files.

5. How can I avoid errors with cell and surface cards in MCNP?

To avoid errors with cell and surface cards in MCNP, it is important to carefully review and check your input deck for any inconsistencies or overlapping regions. You can also use the "PLOTT=1" option in the run control to generate a plot of the model geometry, which can help identify any errors. Lastly, it is recommended to use descriptive and unique region and surface names to avoid any confusion or conflicts.

Similar threads

Replies
6
Views
1K
Replies
2
Views
1K
Replies
3
Views
2K
  • Nuclear Engineering
Replies
2
Views
1K
  • Nuclear Engineering
Replies
4
Views
2K
  • Nuclear Engineering
Replies
7
Views
2K
  • Nuclear Engineering
Replies
4
Views
2K
Replies
2
Views
2K
  • Nuclear Engineering
Replies
2
Views
2K
  • Nuclear Engineering
Replies
9
Views
3K
Back
Top