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.

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.

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.

Table 6.3. Specifications for Westinghouse 17 x 17 PWR Assembly for MCNP Modeling
| Parameter | Value |
|---|---|
| Geometry | Square 17 x 17 matrix |
| Fuel assembly dimension | Square 21.4 x 21.4 cm |
| Active fuel height | 420 cm |
| Composition per assembly | Total: 289 |
| Fuel: 264 | |
| Control rod guide thimble: 24 | |
| Instrumentation thimble: 1 | |
| Fuel material | UO at 4.5% enriched U |
| Cladding material | Zircaloy (use zirconium as an approximation) |
| Gap filler | Helium gas |
| Fuel average density | 95 – 96% Theoretical Density |
| Use density 10.96 g/cm | |
| Moderator (coolant) | Light water |
| Average density 0.7295 g/cm | |
| Fuel pellet diameter | 0.819 cm |
| Pellet clad gap | 0.0082 cm |
| Clad thickness | 0.0572 cm |
| Outer diameter of fuel rod | 0.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:
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:
NE361 Single PWR Unit CellC -------------------------------------------------------------------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=11 0 -7 FILL=1C Cell representing U=1. Lattice filled with water and U=2 & U=32 1 -0.7295 30 -31 32 -33 LAT=1 U=1 FILL=-8:8 -8:8 0:02 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 2 2 2 3 2 2 3 2 2 3 2 2 2 2 22 2 2 3 2 2 2 2 2 2 2 2 2 3 2 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 3 2 2 3 2 2 3 2 2 3 2 2 3 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 3 2 2 3 2 2 3 2 2 3 2 2 3 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 3 2 2 3 2 2 3 2 2 3 2 2 3 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 2 3 2 2 2 2 2 2 2 2 2 3 2 2 22 2 2 2 2 3 2 2 3 2 2 3 2 2 2 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2C Cells that represent U=3 which is the instrument/control unit cell3 3 -6.407 4 -5 U=3 $thimble cladding4 1 -0.7295 #3 U=3 $unit cell of waterC Cells that represent U=4 which is the fuel rod unit cell5 2 -10.96 -6 U=2 $UO2 fuel pellet6 4 -0.001297 6 -4 U=2 $He gap radius7 3 -6.407 4 -5 U=2 $fuel pin cladding8 1 -0.7295 #5 #6 #7 U=2 $fuel unit cell water9 1 -0.7295 7 -8 $boundary of assembly99 0 8 -999 $void region outside of assembly999 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
C ************************SURFACE CARD BLOCK*************************C 4 planes for outside unit cell (1.254 cm pitch)30 PX -0.62731 PX 0.62732 PY -0.62733 PY 0.627C cylinder water hole/gap radius4 CZ 0.4177C cylinder clad outer radius5 CZ 0.4749C cylinder radius of fuel pellet6 CZ 0.4095C rect parallel piped outside of assembly7 RPP -10.658 10.658 -10.658 10.658 -210 210*8 RPP -10.659 10.659 -10.659 10.659 -210.1 210.1C 2 planes for top and bottom of assembly90 PZ -21091 PZ 210999 so 600 $sphere for stochastic volume calcc ************************ Data Cards ****************************cMODE NIMP:N 1.0 8R 0.0 0.0VOL 1.90574E+051.90574E+051.69098E+031.48677E+045.83405E+042.35247E+031.77224E+049.55999E+04cc ****************** Criticality and Burn Control Cards **********KCODE 2000 1.3 5 55 500KSRC 1.254 0.0 0.0M1 8016.71C -8.88100E+011001.71C -1.11900E+01MT1 LWTR.04T $H20 AT 600 KM2 92234.73C -4.69781E-0592235.73C -0.03918629192238.73C -0.8421888288016.73C -0.118577903$UO2 4.5% at 1200KM3 40000.58C 1.0 $ZIRCONIUM (APPROX. FOR ZIRCALLOY)M4 2004.71C 1.0 $ HeliumCC *******************************************************************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 7CC Wgt calculated as area of xs of plotting sphere (pi R^2)CC Vol 1 1 1 1 1 1 1 1C F4:N 1 2 3 4 5 6 7 8C VOIDC SDEF SUR=999 NRM=-1 DIR=D1 Wgt= 1130973.35529C SP1 -21 1C 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 = 1.40115 0.00145 When we plot the model we get:

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.

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.
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:
cell (5<2[8 -8 0])
7.91930E-07 0.0202
cell (5<2[7 -7 0])
7.97535E-07 0.0171This 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.

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.

References
Full bibliography- Nuclear, W. (2016). URL: https://world-nuclear.org/
