Geometry Plotter Breaks Down With 64 Cells

Report all good and bad behavior here
Post Reply
terryphi
Posts: 28
Joined: Sun Feb 05, 2017 5:44 am
Security question 1: No
Security question 2: 64

Geometry Plotter Breaks Down With 64 Cells

Post by terryphi » Wed Jun 14, 2017 11:18 pm

Hey,

I was trying to do a 4*4*4 cuboidal lattice with the following code:

Code: Select all

#Sphere of U-238

surf 1  sph  0   0   0   100
surf 9  cube 0.0 0.0 0.0 2  %Bounding Cube
%Bounding cube radius should be (pitch*numElements)/2.

cell 11 1  fuel  -1
cell 12 1 outside 1

cell 21 2  void   -1
cell 22 2 outside 1

cell 31 3 test   -1
cell 32 3 outside 1


%MAIN UNIVERSE. FILL WITH LATTICE 10.
cell 99 0 fill 10  -9
cell 98 0 outside 9

%CUBOIDAL LATTICE IS TYPE 11
%AFTER 11, FIRST TRIPLET IS THE X,Y,Z OF THE ORIGIN
%SECOND TRIPLET IS NUMBER OF ELEMENTS IN X,Y,Z
%THIRD TRIPLET IS PITCH.
lat 10 11 0 0 0 4 4 4 1 1 1
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2



mat fuel    -80.4375010
92235.09c    -6.27118E-1

mat test  -10 rgb 255 0 0
 8016.09c    -1.18473E+1

set acelib "./xs/sss_jeff311u.xsdata"

set pop 200 50 20

plot 1 500 500
plot 2 500 500
plot 3 500 500
mesh 3 500 500

But the plot it gives me is not quite right (I don't think).
http://imgur.com/a/iWNCs

User avatar
Jaakko Leppänen
Site Admin
Posts: 2237
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: Geometry Plotter Breaks Down With 64 Cells

Post by Jaakko Leppänen » Thu Jun 15, 2017 9:03 am

What exactly are you expecting? To mee it looks like you have a four-layered lattice with each layer consisting of 2 universes:

Code: Select all

1 2 1 2
1 2 1 2
1 2 1 2
1 2 1 2
When you make 2D slices of the geometry, you see either an alternating pattern of vertical lines or a single universe, depending on the direction and position.

Also note that the plotter doesn't handle well positions that coincide with surfaces or other geometry boundaries.
- Jaakko

terryphi
Posts: 28
Joined: Sun Feb 05, 2017 5:44 am
Security question 1: No
Security question 2: 64

Re: Geometry Plotter Breaks Down With 64 Cells

Post by terryphi » Thu Jun 15, 2017 7:57 pm

I was trying to get a 3D checkerboard pattern.

Post Reply