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 3 · Neutron Transport & Deterministic Codes

Deterministic Solutions to Transport Problems

On this page

Chapter 3 · 4 / 712 min readPDF page 78

Worked examples

Often it is helpful to analyze a heterogeneous reactor that is constructed of fuel rods in assemblies by looking at a single fuel pin surrounded by a column of coolant. This entity is known as a unit cell. The unit cell for a pressurized water reactor would consist of a cylinder of UO2_2 fuel surrounded by a cylinder of metal cladding and a rectangular parallelepiped of water with dimensions of pitch x pitch x length of the fuel assembly. When we apply a reflected boundary condition to the sides of the parallelepiped, all neutrons leaving the cell are scattered back with the same energy and angle as though they were physically bounced off a mirror. When a single unit cell is mirrored, the resulting model represents an infinite array of unit cells and, in many ways, reacts like a full reactor without leakage. A similar boundary is known as a periodic boundary condition. In a periodic boundary, all the neutrons leaving the right side of the unit cell are copied and enter the left side. Depending on the problem, a periodic condition may be a better representation of the actual flux in the system.

Figure 3.7. Example of two common boundary conditions. The left represents a periodic condition where particles leaving (red) on one side are repeated as entering (green) on the other side with the same angle of travel. The right figure represents a reflected condition where particles are returned as though they bounced off a mirror.
Figure 3.7. Example of two common boundary conditions. The left represents a periodic condition where particles leaving (red) on one side are repeated as entering (green) on the other side with the same angle of travel. The right figure represents a reflected condition where particles are returned as though they bounced off a mirror.

We describe computer codes that use approximations to solve the neutron transport code, such as discrete ordinate methods, as deterministic codes. These codes have several common properties and many advantages and some disadvantages when compared to the stochastic Monte Carlo codes we will explore later. The remainder of this chapter will be dedicated to using the SCALE6.2 package to solve neutron transport problems with deterministic methods. We will look at a single unit-cell calculation for a pressurized water reactor fuel pin using discrete ordinates and diffusion methods in the NEWT module of SCALE. Within NEWT, we will explore changes to the order of quadrature and changes to group structure. We will also use NEWT in the TRITON module to process it for burnup. Finally, we will iterate the results for the fuel pin over various temperatures to calculate a fuel temperature coefficient for an infinite reactor.

Example 3.1

Use the T-NEWT module of SCALE6.2 to determine k∞_\infty for a reflected geometry model of a PWR unit cell with the following parameters:

Pitch:1.311 cm
Fuel:density: 10.2 g/cm3, 750 ∘^\circC
composition: UO2_2 enriched to 4.5 wt% 235^{235}U
pellet radius 0.385 cm
Cladding:density 6.407 g/cm3^3, 300 ∘^\circC
composition: zirconium
inner radius 0.390 cm
outer radius 0.461 cm
Gap:assume helium for material at 300 ∘^\circC
Moderator:density 0.715 g/cm3^3, 300 ∘^\circC
composition: H2_2O

Solution: To begin working with SCALE6.2, enter the FULCRUM editor. You can enter comments in the top of the file as a header using the apostrophe (') to lead the comments. The FULCRUM editor will indicate that the line is a comment by displaying it in green font. You should always put meaningful comments at the top of the file for future reference. Following the comments in the header, use the CTRL + SPACE keystroke to bring up the drop-down menu that allows you to select the module you wish to use as your input file. Select the T-NEWT module from the drop-down menu to tell SCALE which module to run. The FULCRUM editor will then populate a base of the input that has comments to let the user know what needs to be completed.

The following image displays what the input will look like with a couple of comment lines followed by the skeleton input inserted by the editor when user select the T-NEWT module. Note that the input has blue code to show the start and stop locations for blocks required for input labeled "read" and "end". Between those commands are comments that indicate to the user what information is required within each block. In some cases, sample data in the correct form is placed in those blocks to help the user. That sample data will almost always have to be adjusted to match the requirements for the problem being modeled.

SCALE input — Example 3.1, listing 1
'Computational Design in NE Example 3.1
'Kenneth Allen 14 January 2023
=t-newt parm=(   )
title-goes-here
xslib-goes-here

read comp

' TODO: define comp

end comp

read celldata

' TODO: define celldata

end celldata


read model
title-goes-here

read parameters

' TODO: define parameters

end parameters


read materials

  mix=1 end

' TODO: define materials

end materials


read geometry

global unit 1

' TODO: define global unit here

media 1 1 1


boundary 1 2 2


' TODO: add units below

end geometry


end model

end

Start to fill in the structure of the input file. Within the parenthesis following param write “bonami”. This specifies the Bondarenko method for calculating the resonances for the cross sections. On the next line, write a title for the file. This will be repeated in the output file. On the next line write the library. In this case, we are using the ENDF 7 in a 252-group structure. At this point, the top input file should look like the following:

SCALE input — Example 3.1, listing 2
'Computational Design in NE Example 3.1
'Kenneth Allen 14 January 2023
=t-newt parm=(bonami)
NE361 Example 3.1 UO2 Unit Cell
v7-252

Move the cursor in between the read comp and end comp block and use the CTRL + SPACE keystroke to bring up the drop down menu to get assistance filling in the material compositions. The first material in the unit cell will be the UO2_2 fuel at the weight percent, temperature and density indicated. The easiest way to specify this fuel is to use the

Input
wtptcomp   -basic +volume fraction + temperature + isotopics

option from the list. This option will default to the following:

SCALE input — Example 3.1, listing 3
read comp
wtptuo2 1 10.96 2 92000 88.15 8000 11.85 1.0 293
                92234 0.5 92235 5.0 92238 94.5 end

This is a default for weight fraction UO2_2. The first line reads a name for the mixture starting with the letters "wtpt" indicating the fractions of elements and isotopes are in weight percent. The name is followed by the mixture number (1), the density (10.96 g/cm3^3) the atom identifier for U in given by the Z number followed by three zeros (92000), the weight fraction of U in UO2_2 (88.15%), the atom identifier for O (8000), the weight fraction of O (11.85%), the temperature in kelvin (293). The second line reads the isotope numbers given by the atomic number (Z) followed by the mass number (A). This identification number is known as a ZAID number. The three isotopes of U are given followed by their mass fractions. (234^{234}U at 0.5%, 235^{235}U at 5%, and 238^{238}U at 94.5%). We can modify the input to meet our needs by changing the density, temperature (750 ∘^\circC = 1023 k) and mass isotope fractions to read the following:

SCALE input — Example 3.1, listing 4
read comp
wtptuo2 1 10.2 2 92000 88.15 8000 11.85 1.0 1023
                92234 0.5 92235 4.5 92238 95.0 end

Now that we have the fuel composition, we can move on to specify the cladding, gap and moderator materials. There are several options for creating materials in the drop-down menu. For the fuel, we selected the weight percent, because the fuel composition was provided in weight percent and the only additional information needed was the weight percentage of uranium and oxygen in the fuel which is always around 88.15% and 11.85% for UO2_2 regardless of enrichment which are the provided values in the wtpt selection. We will use a different menu option for the other materials.

Now it is time to set up the cladding. Move the cursor down one line and use the CTRL + SPACE to get the composition drop down again. This time select the first option: stdcomp - basic (configurable). This will bring up a window that allows you to select the composition. Use the options in the window to select a zirconium cladding at the correct temperature. It should be material 2. The window should look like:

Example 3.1, listing 5

Repeat for helium in material 3. This will serve the area in the gap between the fuel pellet and the inner radius of the cladding.

Example 3.1, listing 6

Repeat again for water:

Example 3.1, listing 7

At this point, all the compositions are defined in the problem and we can proceed to define the unit cell regions and geometry to facilitate cross section processing.

Move the cursor after read celldata and CTRL + SHIFT to get the drop-down menu. Select:

Input
lattice - squarepitch

The default will give you:

SCALE input — Example 3.1, listing 8
read celldata
latticecell squarepitch hpitch=0.0 1 fuelr=0.0 2 gapr=0.0 3 cladr=0.0 4 end

Modify the numerical entries to match the desired geometry and make sure the numbers following the dimensions correspond to the mixture numbers assigned in the composition block such as 1 for the fuel mixture and 4 for the moderator which is the outermost region of the unit cell.

SCALE input — Example 3.1, listing 9
read celldata
latticecell squarepitch hpitch=0.6555 4 fuelr=0.385 1
                      gapr=0.390 3 cladr=0.461 2 end
end celldata

After the read model line enter text for a title. Move the cursor after read parameters and CTRL + SHIFT to get the drop down menu. There are ≈\approx65 different parameters that you can specify! For our problem the default values will suffice for all of them. However, we will specify the discrete ordinate quadrature number (SN_N). By selecting

Input
sn - order of sn level symmetric quadrature set

which will default to:

SCALE input — Example 3.1, listing 10
read parameters
sn=6
end parameters

We will leave it as an SN = 6 for now and change it in the future to see how the values and computation times vary.

The next region after the parameters includes the mixing table inside the materials block. The default information includes a mixture 1 denoted by mix=1 end. If we try to use the drop-down menu here, it will add another line that is the same. To generate the mixing table, we will modify the line by adding a command, pn, to control the scattering order and another optional command, com, for a comment where we will write the name of the material. As a rule of thumb, the scattering order should be 1 for everything except materials with high scatter cross sections, like a moderator. Using the same number convention we used for the materials, our materials block will look like:

SCALE input — Example 3.1, listing 11
read materials
mix=1 pn=1 com='UO2 Fuel' end
mix=2 pn=1 com='Zirc Clad' end
mix=3 pn=1 com='gap He' end
mix=4 pn=2 com='Water' end
end materials

We will now specify the geometry. The default global unit is set to 1. This will suffice for our simple model. Everything we define will be part of this global unit.

Move the cursor after global unit 1 and CTRL + SHIFT to get the drop down menu. You will see a list of geometry shapes to include a cylinder and a cuboid. Select cylinder and the default will give:

SCALE input — Example 3.1, listing 12
read geometry

global unit 1
cylinder 1 1.0

This line reads that a cylinder with an integer name of 1 has a radius of 1.0 cm. We will change this to reflect that this our innermost cylinder which is our fuel with a radius of 0.385 cm. Repeat for the gap and clad and add a cuboid with dimensions of the half-pitch in the negative to positive x and y directions. We will name each geometry surface with an unique integer number. For our problem, we will choose to name the surfaces from 1 - 4, however we are not constrained to using sequential numbers. The total unit cell geometry should now look like:

SCALE input — Example 3.1, listing 13
read geometry
global unit 1
cylinder 1 0.385
cylinder 2 0.390
cylinder 3 0.461
cuboid 4 0.6555 -0.6555 0.6555 -0.6555

Now we will specify the media and the boundary condition to finish the geometry. The skeleton gives us the first media default as media 1 1 1.

This line shows the material id number, the bias placeholder and the region definition vector. The bias placeholder is not used in the NEWT model and is there to be consistent with the KENO model. Therefore, all of our bias numbers will be 1.

The region definition vector in SCALE is defines as positive values are “inside” the surface boundary number and negative values are outside. In this case, we said that our geometry consisted of three cylinders named 1, 2, and 3 and one cuboid named 4. For our first media (UO2_2) it is defined as:

SCALE input — Example 3.1, listing 14
media 1 1 1

which is to say, media 1 (UO2_2) has a bias placeholder of 1 and is inside cylinder 1. Our next media entry will be:

SCALE input — Example 3.1, listing 15
media 3 1 2 -1

which says media 3 (gap) has a bias of 1 and is outside cylinder 1 and inside of cylinder 2. Just to note, the positive and negative sense of composition is exactly opposite in MCNP from SCALE. We will see this in later examples.

After defining all four regions, we will have to define the boundary conditions for the problem. The default is given as:

SCALE input — Example 3.1, listing 16
boundary 1 2 2

This states that the boundary of our problem is unit 1 with a local grid of 2 by 2. We need to adjust this because our cuboid is the boundary, and we can make a finer grid of 10 by 10.

SCALE input — Example 3.1, listing 17
boundary 4 10 10
end geometry

We can finish up our problem by specifying the boundary conditions. The default boundary is reflective so that will work. However, in order to specify the conditions, move the cursor after end geometry and CTRL + SHIFT to get the drop down menu. Select bounds. This will get the default read and end statements. In the middle we will write all=refl. We could also have specified periodic, vacuum or white as an option. Our final input deck is:

SCALE input — Example 3.1, listing 18
'Computational Design in NE Example 3.1
'Kenneth Allen 14 January 2023
=t-newt parm=(bonami)
NE361 Example 3.1 UO2 Unit Cell
v7-252

read comp
wtptuo2 1 10.2 2 92000 88.15 8000 11.85 1.0 1023
                92234 0.5 92235 4.5 92238 95.0 end
zirconium 2 den=6.407000 1.0 573.0 end
helium 3 1.0 573.0 end
water 4 den=0.715000 1.0 573.0 end
end comp

read celldata
latticecell squarepitch hpitch=0.6555 4 fuelr=0.385 1
                      gapr=0.390 3 cladr=0.461 2 end
end celldata

read model
UO2 Unit Cell

read parameters
sn=6
end parameters

read materials
  mix=1 pn=1 com='UO2 Fuel' end
  mix=2 pn=1 com='Zirc Clad' end
  mix=3 pn=1 com='helium gap' end
  mix=4 pn=2 com='water mod' end
end materials

read geometry
global unit 1
cylinder 1 0.385
cylinder 2 0.390
cylinder 3 0.461
cuboid 4 0.6555 -0.6555 0.6555 -0.6555
media 1 1 1
media 3 1 2 -1
media 2 1 3 -2
media 4 1 4 -3
boundary 4 10 10
end geometry

read bounds
all=refl
end bounds

end model

end

Now that we have completed the input, we can check for errors by first looking at the “Validation” window on the bottom right tab in FULCRUM. If the window is blank, then the program has not found any errors. We can then look at our geometry by selecting the “View” tab at the top and “View Geometry”. We will get a default top-down view for our unit cell colored by different materials:

Example 3.1, listing 19

The viewer has some options to include outlines and change colors as well as viewing from the side versus the top.

We can now run our model of an SN_N = 6 discrete ordinate unit cell for a PWR at operating temperature. Do so by clicking on the “Run” tab at the top of the page. You can observe the progress by clicking on the messages tab at the bottom and looking at the window. When it is done running, you will see something like:

Input
Scale job C:/Users/Kenneth.Allen/Example3-1.inp is finished.Output is stored in C:\ Users\ Kenneth.Allen\ Example3-1.out
Process finished with 0 return code; ran in 16 secs, finished at Sun Jan 15 17:59:52 2023

Navigate to the file folder where the output is stored and open it in a text editor, like TextPad®. As you scroll through the output, you will see a lot of data that describes the input values, defaults and calculations performed. As you move through, you will see:

Program output — Example 3.1, listing 20
Four-Factor Estimate of k-infinity.  Fast/Thermal boundary:   0.6250 eV
      Fiss. neutrons/thermal abs. (eta):          1.869959
      Thermal utilization (f):                    0.938067
      Resonance Escape probability (p):           0.632055
      Fast-fission factor (epsilon):              1.257538
                                            --------------
      Infinite neutron multiplication             1.394254

This is the value for k∞_\infty we were asked to determine.

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