Allen CDNE

Computational Design in Nuclear Engineering · Allen

Download the PDF

Computational Design in Nuclear Engineering, second edition, by Kenneth S. Allen, Ph.D., P.E.

Download the PDF

Chapter 6 · Advanced MCNP Topics

Universes and Repeated Lattice Structures

On this page

Chapter 6 · 4 / 610 min readPDF page 193

Worked examples

Up until now, we have modeled some very simple problems. We have been able to fully define a model in about five cells with a handful of surfaces. However, real problems are often much more complex. Take, for example, a pressurized water reactor fuel assembly (Figure 6.4). The assembly has on the order of 17 x 17 of the unit cell pins we defined in Example 6.4. We could specify all 289 unit cells by making cylinders located on the x and y axes at the appropriate distances. This would be a very daunting task. Fortunately, MCNP has a method for specifying repeated structures in a lattice. This allows us to model a single fuel pin and a single control rod guide tube and then repeat them in the appropriate arrangement to match the assembly. After we make a single assembly, we can repeat that assembly in an appropriate lattice to make an entire reactor.

Figure 6.4. A cutaway segment of a PWR assembly on the left and the control rod cluster on the right. The cluster drops through the top of the assembly through the control rod guide thimbles.
Figure 6.4. A cutaway segment of a PWR assembly on the left and the control rod cluster on the right. The cluster drops through the top of the assembly through the control rod guide thimbles. (Nuclear; 2016)

The method for nesting one geometry in another is accomplished using universes. We could describe the technique as students in a classroom or soldiers in formation. However, because all students and soldiers are not identical, a better analogy would be checkers on a checkerboard. We can think of all the red checkers as being the same and all the black checkers being the same. Although red and black checkers are similar, they are different from each other and are arranged on a square grid – the checkerboard. Let’s define the checkerboard as Universe 1. It is a regularly ordered arrangement of equal-sized squares in eight rows and eight columns. We can then define a blank space as Universe 2, a red checker as being Universe 3 and a black checker as Universe 4. If we were to map out the arrangement for the board at the start of a game, we would get the arrangement presented in Figure 6.5.

Figure 6.5. A normal checkerboard set up for the start of a game. If the board is universe 1, a blank square is universe 2, a red checker is universe 3 and a black checker is universe 4, the map of the sub-universes within universe 1 is on the right.
Figure 6.5. A normal checkerboard set up for the start of a game. If the board is universe 1, a blank square is universe 2, a red checker is universe 3 and a black checker is universe 4, the map of the sub-universes within universe 1 is on the right.

So far we have modeled the equivalent of a single checker in MCNP. That is the unit fuel pin. In order to make a fuel assembly like what is pictured in Figure 6.4, we will need to first define the other possible unit cells that could go into our assembly. A standard PWR assembly will have fuel pins, control rod guide tubes and an instrument guide tube. The control rod guide tubes and the instrument guide tube are empty zirconium-alloy tubes that allow for control rods to be inserted from the top or measuring instruments to be installed from the bottom. They also serve as the vertical support structure for the assembly. The entire assembly is held together with metal spacer grids and will have a nozzle assembly on the top and bottom. For an MCNP model of the assembly, we will normally not model the spacer grids or the nozzles because they don’t significantly affect the criticality of the assembly. Therefore, in order to model the assembly, we need to have the arrangement of the rods and the dimensions of the control rod guide tubes and the instrument tube.

Once we have made the unit cells for all of our different types of cells, we will need to assign locations for the rods. For the Westinghouse 17 x 17 design, we will use the arrangement presented in Figure 6.6. We will use the dimensions in Table 6.3. For simplicity, we will use the same clad dimensions for the control rod and instrument guide thimbles as we use for the fuel rod.

Figure 6.6. Standard rod locations for a 17 x 17 PWR assembly.
Figure 6.6. Standard rod locations for a 17 x 17 PWR assembly.

Table 6.3. Specifications for Westinghouse 17 x 17 PWR Assembly for MCNP Modeling

Parameter Value
GeometrySquare 17 x 17 matrix
Fuel assembly dimensionSquare 21.4 x 21.4 cm
Active fuel height420 cm
Composition per assemblyTotal: 289
Fuel: 264
Control rod guide thimble: 24
Instrumentation thimble: 1
Fuel materialUO2_2 at 4.5% enriched 235^{235}U
Cladding materialZircaloy (use zirconium as an approximation)
Gap fillerHelium gas
Fuel average density95 – 96% Theoretical Density
Use density 10.96 g/cm3^3
Moderator (coolant)Light water
Average density 0.7295 g/cm3^3
Fuel pellet diameter0.819 cm
Pellet clad gap0.0082 cm
Clad thickness0.0572 cm
Outer diameter of fuel rod0.95 cm
Pitch (center-to-center)1.254 cm

To create a repeated lattice in MCNP, make a unit cell for both the fuel and the control rod/instrumentation thimble rods. The unit cells will each part of the cell will have a universe identifier “U=n” where n is a number assigned to that universe. For example, the cells for fuel, gap, clad, and water for the fuel cell would all have U=2 in their definition. After the unit cells are defined, create a cell that is a void the size of the assembly that will be filled with universe 1. Universe 1 will be the lattice. MCNP can make either a rectangular (LAT=1) or triangular pitch (LAT=2) lattice. The lattice parameter is added to a cell definition and includes the following format:

Input
LAT=1 U=1 FILL=-8:8 -8:8 0:0 

This notation indicates a square lattice, named Universe 1, will be filled from the center location 8 spaces to the negative X and 8 spaces to the positive X and 8 spaces to the positive and negative Y. We could also fill the lattice in the Z direction if we wanted to specify a change in the vertical direction. Example 6.5 details the model for a 17 x 17 Westinghouse PWR assembly with the specifications in Table 6.3.

Example 6.5

Write an MCNP input file for the Westinghouse 17 x 17 assembly detailed in Figure 6.6 and Table 6.3. Complete the KCODE calculation and report the results. Include a plot of the geometry from the top of assembly.

Solution:

MCNP input — Example 6.5, listing 1 — mcnp, hover a line
NE361 Single PWR Unit Cell
C -------------------------------------------------------------------
C | This is a KCODE calculation for a single PWR assembly. |
C | Assembly is based on a Westinghouse 17 x 17 assembly with no |
C | control rods installed. |
C | The cell has a pitch of 1.254 cm, length of 420 cm. The fuel |
C | radius is 0.4095 cm. It is fueled with UO2 at 4.5 w/o enriched |
C | U-235. The cladding is zirconium, and the gap is He |
C -------------------------------------------------------------------
C ************************CELL CARD BLOCK****************************
C Cell the size of the outside of assembly - void filled with U=1
1 0 -7 FILL=1
C Cell representing U=1. Lattice filled with water and U=2 & U=3
2 1 -0.7295 30 -31 32 -33 LAT=1 U=1 FILL=-8:8 -8:8 0:0
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 3 2 2 3 2 2 3 2 2 2 2 2
2 2 2 3 2 2 2 2 2 2 2 2 2 3 2 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 3 2 2 3 2 2 3 2 2 3 2 2 3 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 3 2 2 3 2 2 3 2 2 3 2 2 3 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 3 2 2 3 2 2 3 2 2 3 2 2 3 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 2 3 2 2 2 2 2 2 2 2 2 3 2 2 2
2 2 2 2 2 3 2 2 3 2 2 3 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
C Cells that represent U=3 which is the instrument/control unit cell
3 3 -6.407 4 -5 U=3 $thimble cladding
4 1 -0.7295 #3 U=3 $unit cell of water
C Cells that represent U=4 which is the fuel rod unit cell
5 2 -10.96 -6 U=2 $UO2 fuel pellet
6 4 -0.001297 6 -4 U=2 $He gap radius
7 3 -6.407 4 -5 U=2 $fuel pin cladding
8 1 -0.7295 #5 #6 #7 U=2 $fuel unit cell water
9 1 -0.7295 7 -8 $boundary of assembly
99 0 8 -999 $void region outside of assembly
999 0 999 $ bounding sphere graveyard

Hover a line

Each line is read as a cell, a surface, or a data card. Tap a line on a small screen.

  • ●Cell cards
  • ●Surface cards
  • ●Data cards
MCNP input — Example 6.5, listing 2 — mcnp, hover a line
C ************************SURFACE CARD BLOCK*************************
C 4 planes for outside unit cell (1.254 cm pitch)
30 PX -0.627
31 PX 0.627
32 PY -0.627
33 PY 0.627
C cylinder water hole/gap radius
4 CZ 0.4177
C cylinder clad outer radius
5 CZ 0.4749
C cylinder radius of fuel pellet
6 CZ 0.4095
C rect parallel piped outside of assembly
7 RPP -10.658 10.658 -10.658 10.658 -210 210
*8 RPP -10.659 10.659 -10.659 10.659 -210.1 210.1
C 2 planes for top and bottom of assembly
90 PZ -210
91 PZ 210
999 so 600 $sphere for stochastic volume calc
 
c ************************ Data Cards ****************************
c
MODE N
IMP:N 1.0 8R 0.0 0.0
VOL 1.90574E+05
1.90574E+05
1.69098E+03
1.48677E+04
5.83405E+04
2.35247E+03
1.77224E+04
9.55999E+04
c
c ****************** Criticality and Burn Control Cards **********
KCODE 2000 1.3 5 55 500
KSRC 1.254 0.0 0.0
M1 8016.71C -8.88100E+01
1001.71C -1.11900E+01
MT1 LWTR.04T $H20 AT 600 K
M2 92234.73C -4.69781E-05
92235.73C -0.039186291
92238.73C -0.842188828
8016.73C -0.118577903
$UO2 4.5% at 1200K
M3 40000.58C 1.0 $ZIRCONIUM (APPROX. FOR ZIRCALLOY)
M4 2004.71C 1.0 $ Helium
PRINT
C
C *******************************************************************
C Uncomment these cards to do the stochastic volume tally.
C Note you must comment out the kcode, ksrc, and vol cards above.
C You must change the importance from 1.0 7R 0.0 0.0 to 1.0 8R 0.0.
C Also, remove reflected boundary conditions on surface 7
C
C Wgt calculated as area of xs of plotting sphere (pi R^2)
C
C Vol 1 1 1 1 1 1 1 1
C F4:N 1 2 3 4 5 6 7 8
C VOID
C SDEF SUR=999 NRM=-1 DIR=D1 Wgt= 1130973.35529
C SP1 -21 1
C nps 10000000

Hover a line

Each line is read as a cell, a surface, or a data card. Tap a line on a small screen.

  • ●Cell cards
  • ●Surface cards
  • ●Data cards

We used the stochastic volume calculation to get the volumes. The KCODE resulted in k∞_\infty = 1.40115 ±\pm 0.00145 When we plot the model we get:

Example 6.5, listing 3

If we look at the lattice structure of our assembly, we will see that there is symmetry to the arrangement. Figure 6.7 is an illustration of the symmetry within the fuel assembly lattice and assigns numbers to each of the input values for the cells in the order in which they are entered in the input.

Figure 6.7. Illustration of the 17 x 17 assembly region of symmetry.
Figure 6.7. Illustration of the 17 x 17 assembly region of symmetry.

Because of the symmetry and the reflected boarder on the model, we can tally information on 1/8th of the cells in the lattice and know that the results will be repeated. One of the most important values we can get for any assembly is a measure of the power in each fuel rod and a comparison to the total average power in the assembly. When we find the maximum ratio of pin power to average power, we will know the peak-to-average power for the assembly which is an important design characteristic. For our simple reflected model, we should have a very uniform power across the assembly, especially at BOL when no burnup has occurred. We know that flux is proportional to power so we can use an F4 volumetric flux tally on each of our fuel pins. We could also use an F6 energy deposition tally to examine the fission energy deposited in each cell.

To tally on a repeated lattice, we have to set our tally name followed by an identifier of the cell that we want to tally. Because we are tallying within a lattice, we will need to use a slightly different convention.

MCNP input — Screenshot 1 — mcnp, hover a line
F4:N (5<2 [17])
(5<2 [33])
(5<2 [34])
(5<2 [49])
(5<2 [50])
(5<2 [51])
(4<2 [65])
(5<2 [66])
(5<2 [67])
(5<2 [68])
(5<2 [81])
(5<2 [82])
(5<2 [83])
(5<2 [84])
(5<2 [85])
(4<2 [97]) continued for all of the highlighted cells

Hover a line

Each line is read as a cell, a surface, or a data card. Tap a line on a small screen.

  • ●Cell cards
  • ●Surface cards
  • ●Data cards

The input above is for the first 16 cells in the highlighted area in Figure 6.7. The first line gives the command to conduct an F4 tally on cell 5 (fuel pin) within cell 2 (assembly) at location 17 in the lattice. The last line is for cell 4 (water cell for the control rod/ instrument thimble). We would extend the input for all of the highlighted unit cells to get an output for the entire assembly.

Once we are done, the output will give tally information in the form of:

Program output — Screenshot 2
cell (5<2[8 -8 0])
                 7.91930E-07 0.0202
cell (5<2[7 -7 0])
                 7.97535E-07 0.0171

This output continues for all the cells. Note that the first cell is identified by the coordinates [8 -8 0] which is the location of pin 17. The positive sense of y is inverted from what we present in Figure 6.7 but the symmetry for the model is maintained.

Figure 6.8. Peak-to-average flux map for 17 x 17 assembly based on flux tally. Note the high peaks are at the control rod / instrument guide tube locations.
Figure 6.8. Peak-to-average flux map for 17 x 17 assembly based on flux tally. Note the high peaks are at the control rod / instrument guide tube locations.

Now that we have the tally information, we can use a spreadsheet to copy the information to an entire grid of x, y, and z coordinates for the whole assembly. We can also take an average for the assembly and then calculate the peak-to-average flux for each cell. Finally, we can make a 3-D plot for the peak-to-average flux at BOL which is presented in Figure 6.8. Notice how the flux is strongly peaked in the control rod and instrument guide tubes. This is an artifact of using the flux tally and the total flux is much higher in the water in the empty control rod guide tubes. If we zero out the results for the control rods and repeat the plot for only the fuel we get Figure 6.9. This is a representation of the power in the cells generated from fission. The highest power fuel rods are closest to the empty control rod guide tubes which makes sense because there is more moderator in those regions. The highest peak-to-average power is around 1.15 which is acceptable for design purposes.

Figure 6.9. Peak-to-average power map for 17 x 17 assembly. The highest power cells are the closest to the empty control rod guide tubes.
Figure 6.9. Peak-to-average power map for 17 x 17 assembly. The highest power cells are the closest to the empty control rod guide tubes.

Computational Design in Nuclear Engineering, second edition, by Kenneth S. Allen, Ph.D., P.E. — the complete book as a 394-page PDF.

Download the PDF