Serpentmanual
Serpentmanual
User’s Manual
Jaakko Leppänen
Preface
This documentation is a User’s Manual for the Serpent continuous-energy Monte Carlo re-
actor physics burnup calculation code.1 Code development started at the VTT Technical Re-
search Centre of Finland in 2004, under the working title “Probabilistic Scattering Game”,
or PSG. This name is used in all publications dated before the pre-release of Serpent 1.0.0
in October 2008. The name was changed to due to the various ambiguities related to the
acronym. The code is still under development and this manual covers only the main func-
tionality available in June 18.
The official Serpent website is found at http://montecarlo.vtt.fi. Support and minor updates
in the source code are currently handled via the Serpent mailing list, in which all users are
encouraged to join by sending e-mail to: [email protected]. Any feedback is appreci-
ated, including comments, bug reports, interesting results and ideas and suggestions for fu-
ture development. A discussion forum for Serpent users is found at http://ttuki.vtt.fi/serpent.
For a quick start, experienced Monte Carlo code users are instructed to view the lattice input
examples in Chapter 11 starting on page 133.
1
For referencing the code, use either the website: “http://montecarlo.vtt.fi” or this report: “J. Leppänen. Ser-
pent – a Continuous-energy Monte Carlo Reactor Physics Burnup Calculation Code. VTT Technical Research
Centre of Finland. (June 18, 2015)”
2
Contents
Preface 2
1 Installing and Running Serpent 8
1.1 Compiling Serpent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2 Running the Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3 Parallel Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.4 Nuclear Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.4.1 Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.4.2 Directory File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.4.3 Radioactive Decay and Fission Yield Data . . . . . . . . . . . . . . 13
2 Input 15
2.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.2 Input format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.2.1 Input cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.2.2 Comment lines and sections . . . . . . . . . . . . . . . . . . . . . 16
2.2.3 Dividing the input into several files . . . . . . . . . . . . . . . . . . 16
2.2.4 Input errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.3 Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3 Geometry 19
3.1 The Universe-based Geometry Model in Serpent . . . . . . . . . . . . . . . 19
3.2 Surface Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2.1 Surface types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.2.2 Positive and negative surface sides . . . . . . . . . . . . . . . . . . 21
3.2.3 Surface examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.3 Cell Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3
CONTENTS 4
The Serpent code is written in standard ANSI-C language. The code is mainly developed
in the Linux operating system, but it has also been compiled and tested in MAC OS X and
some UNIX machines.1 The Monte Carlo method is a computing-intensive calculation tech-
nique and raw computing power has a direct impact on the overall calculation time. It should
be taken into account that the unionized energy grid format used in Serpent requires more
computer memory compared to other continuous-energy Monte Carlo codes. One gigabyte
of RAM should be sufficient for steady-state calculations, but a minimum of 3 Gb is recom-
mended for burnup calculation.
The source code is compiled simply by running the GNU Make utility.2 The Makefile pro-
vides for detailed instructions and various options for different platforms. Serpent uses the
GD open source graphics library [1] for producing some graphical output. If this library is
not installed in the system, the source code must be compiled with the “NO_GFX_MODE”
option. The compilation should not result in any errors or warning messages and it should
produce an executable named “sss”. Any problems in installation should be reported by
e-mail to: [email protected].
Code updates are provided to registered users by distributing the updated source files by
e-mail. New files replace old ones and the code must be re-compiled for the changes to take
effect.
1
The main platforms in PSG/Serpent development have been a 2.6 GHz dual-core AMD Opteron PC with
5 Gb RAM running Fedora Core 4 and an iBook G4 with 1.2 GHz PowerPC processor and 768 Mb RAM
running OS X v10.4.
2
For a detailed description of Makefiles, see: http://www.gnu.org/software/make.
8
1.2 Running the Code 9
All interaction between the code and the user is handled through one or several input files
and various output files, as described in the following chapters. The code is run from the
command line interface. The general syntax is:
The geometry test option can be used for debugging the geometry in addition to the geometry
plotter. The code randomly samples neutron tracks across the geometry and checks that the
cells are correctly defined. Some input errors can spotted using this option.
The volume checking option can be used to verify that the volumes used in the calculation
are correct. The code is able to calculate cell volumes for simple lattice geometries, but
some more complicated geometry types require the values to be set by the user. The volumes
3
The results of a Monte Carlo calculation depend on the sequence of pseudo random numbers used during
the simulation. This sequence is fixed by the random number seed and the calculation can be repeated using the
same seed. The capability to reproduce the same simulation is important, for example, for debugging purposes.
Some codes, such as MCNP [2], use a fixed seed value, which results in the same results every time the code is
run. The Serpent code uses by default a different seed for each run and hence the results are different as well.
This behavior can be overridden by the replay command line option or by setting the seed manually in the input
file.
1.3 Parallel Calculation 10
are used for normalizing reaction rates for detectors and burnup calculation. The number of
random points should be large (at least 1,000,000) for good statistical accuracy.
The random particle / pebble distribution generator works by prompting the user information
on the volume type and dimensions, particle data and packing fractions. The code then
generates a distribution inside the desired volume without overlapping any particles. The
data is written in a file using format that can be directly read into the explicit HTGR geometry
model (See Sec. 3.8.2 on page 40). The option is available from code version 1.1.5 on.
1. The seed file is overwritten by a new value each time the code is run without the replay
option and the old seed is lost.
SEE ALSO:
Serpent uses the Message Passing Interface (MPI) [3] for parallel calculation. To activate this
capability the code must be compiled with the “PARALLEL_MPI” option (see the Makefile
for details) and the MPI libraries must be installed on the system.
There are two options for running the code in the parallel calculation mode. The first option
is to use the standard MPI tools, such as mpirun:
This command executes the calculation in 10 hosts as defined in the parallel environment.
The second option is to use the built-in MPI runner and define the number of tasks in the
command line:
In this calculation mode, the code attempts to run mpirun on its own. This may require small
modifications in the source code or may not work at all in some systems. The file path for
mpirun is defined by the “MPIRUN_PATH” precompiler variable in the “header.h” source
file.
1.4 Nuclear Data 11
2. When multiple tasks are sharing the same memory space, the size of allocated memory
is also multiplied. This should be taken into account when setting the memory size in
the compilation.
3. The methodology is still under development. The calculation lacks error tolerance and
load sharing and the mode should be used only in systems consisting of identical hosts.
Most of the MPI routines were directly adopted from PSG and features exclusively
available in Serpent (including burnup calculation) are not thoroughly tested.
SEE ALSO:
The Serpent code reads continuous-energy interaction data from ACE format cross section
libraries. The current installation package contains libraries based on JEF-2.2, JEFF-3.1,
ENDF/B-VI.8 and ENDF/B-VII evaluated data files. Since the data format is shared with
MCNP, alternative data for various isotopes should be readily available to most users. There
are also several ACE format data libraries based on different evaluations publicly available
through the OECD/NEA Data Bank [4]. New libraries can be produced from raw ENDF
format data using the NJOY nuclear data processing system [5].
Three types of cross sections are available in the data files. Continuous-energy neutron cross
sections (type 1) are used for the actual transport simulation. The data contains all necessary
reaction cross sections, together with energy and angular distributions, fission neutron yields
and delayed neutron parameters.
The second data type is the dosimetry cross section (type 2). Dosimetry cross sections ex-
ist for a large variety of materials and may include derived reaction modes not commonly
encountered in transport calculation. The data may consist of one or several partial cross
sections, but all energy and angular distributions are omitted. The data can be used with
detectors but not in physical materials included in the transport calculation.
1.4 Nuclear Data 12
Thermal scattering cross sections (type 3) are used to replace the low-energy free-gas elastic
scattering reactions for some important bound moderator nuclides, such as hydrogen in water
or carbon in graphite. Thermal systems cannot be modelled using free-atom cross sections
without introducing significant errors in the spectrum and the results.
The cross section data is accessed by using a separate directory file, which differs from the
“xsdir” file commonly used with ACE format data. A conversion between the two formats
can be made by running the “xsdirconvert” utility script, included in the installation package:
The Serpent directory file contains the data necessary for the code for locating the cross
section libraries and forming the material compositions. Each line in the directory file has
the following format:
where <alias> is the name identifying the nuclide in the input file
<zaid> is the actual nuclide name in the data
<type> is the type of the data
<ZA> is the isotope identifier (1000*Z + A)
<I> is the isomeric state number (0 = ground state)
<AW> is the atomic weight
<T> is the nuclide temperature (in K)
<bin> is the binary format flag (0 = ASCII, 1 = binary)
<path> is the data path for the library
EXAMPLES:
The alias is the nuclide name used in the input file and it may or may not be the same as
the actual isotope name. The xsdirconvert tool writes two entries for each nuclide, one using
the original name and another one using the element symbol and the isotope number. The
data types are: 1 = continuous-energy, 2 = ACE dosimetry. 3 = thermal scattering, The
temperature entry is used with transport data only and the atomic mass with transport and
dosimetry cross sections.
Isomeric states are identified from the state number4 (see Am-242m in the example). There
is no standard convention on how to name these isotopes in the ACE format data, but the
xsdirconvert-tool assumes that the mass number of isomeric state nuclides is increased above
300. If another convention is used, the state number must be set manually in the directory
file. It is recommended that the isomeric state entries are always carefully checked after
running xsdirconvert.
Radioactive decay and fission yield data is needed for running the Serpent code in the inde-
pendent burnup calculation mode. It is recommended that the libraries are included in the
coupled mode as well, since it enables the data to be reproduced in the output file, making it
directly available to the coupled calculation.
The decay constants and fission product distributions are read from standardized ENDF for-
mat data files [6]. The format is directly accessible and the data requires no preprocessing.
JEF-2.2, JEFF-3.1, ENDF/B-VI.8 and ENDF/B-VII data libraries are included in the instal-
lation package. More data can be downloaded from various Internet sources:
1. The weight in the directory file is given as the atomic weight, not the atomic weight
ratio as in MCNP xsdir files.
2. The temperature in the directory file is given in Kelvin, not in MeV as in the MCNP
xsdir files.
4. The data path in the directory file must refer to the absolute, not the relative location
of the library file.
5. The code always uses the first matching entry in the directory file. The use of duplicate
isotope names may lead to unexpected results.
SEE ALSO:
Input
2.1 General
The Serpent code has no interactive user interface. All communication between the code and
the user is handled through one or several input files and various output files discussed in
Chapter 6. User-defined detectors are discussed as a separate item in Chapter 7 and burnup
calculation in Chapter 8.
The format of the input file is unrestricted. The file consists of white-space (space, tab or
newline) separated words, containing alphanumeric characters(’a-z’, ’A-Z’, ’0-9’, ’.’, ’-’).
If special characters or white spaces need to be used within the word (file names, etc.), the
entire string must be enclosed within quotation marks.
The input file is divided into separate data blocks, denoted as cards. The file is processed
one card at a time and there are no restrictions in what order the cards should be organized.
The input cards are listed in Table 2.1 and detailed descriptions are provided in the following
chapters. All input cards and special command words are case-insensitive. Each input card is
delimited by the beginning of the next card. It is hence important that none of the parameter
strings used within the card coincide with the card identifiers in Table 2.1.
15
2.2 Input format 16
The Serpent code provides two types of comments for the input files. The percent-sign (%)
or hash (#) are used to define a comment line. Anything from this character to the end of the
line is omitted when the input file is read. The alternative is to use C-style comment sections
beginning with “/*” and ending with “*/”. Everything within these delimiters is omitted,
regardless of the number of newlines or special characters between them.
Complicated input descriptions can be simplified by dividing the cards into separate files.
This capability may also be useful if different calculation cases share some partial data.
Additional input files are recursively read from the main file using the include-command:
include "<filename>"
continuing with the main file. The number of nested input files is unrestricted. Since file
names and paths often include non-alphanumeric characters, it is good practice to always
enclose the strings within quotation marks.
The Serpent code performs some error checking on the input file before proceeding with the
calculation. These checks include:
– Checking that the values of some parameters are within a reasonable range.
– Checking that all cards that are referred to in other cards are defined.
– Checking that the input contains sufficient data for running the simulation.
Failure in any of the checks results in an error message and the termination of the calculation.
Most common input errors are caused by missing parameters or mistyped command words.
In the former case, the result is often an error message related to parameter type or number.
The program does not recognize card names with typing errors, but rather processes the entire
card as if was a set of parameters belonging to the previous card. Such errors may stop the
calculation later on for entirely different reasons, or in the worst case, run the simulation with
a set of parameters totally different from what the user intended. In case of any unexpected
behavior, the typing of the card names should the first thing to be checked.
1. The input file consists of white-space separated words containing alphanumeric char-
acters. If special characters or white spaces need to be used (file names, etc.), the entire
string must be enclosed within quotation marks.
2. Each card is delimited by the beginning of the next card and it is hence important
that the card names are not used in for other purposes, for example as cell or material
names. If the name of an input card is spelled incorrectly, the previous card is not
delimited, which may result in a completely unexpected behavior.
2.3 Units 18
3. Running the Serpent code should never result in crash or termination without an error
message. In such case, please report the problem by e-mail to
[email protected].
2.3 Units
Table 2.2 summaries the most essential units used in the code.
1. Power, neutron flux, reaction rate and all related quantities depend on how the neutron
source rate is normalized.
SEE ALSO:
Geometry
The Serpent code uses a universe-based geometry model for describing complicated struc-
tures, very similar to MCNP. This means that the geometry is divided into separate levels,
which are all constructed independently and nested one inside the other. This approach al-
lows the complexity of the geometry to be divided into smaller parts, which are much easier
to handle. It also enables the use of regular geometry structures, such as square and hexago-
nal lattices, commonly encountered in reactor applications.
Perhaps the best example of a universe-based geometry construction is the reactor core. At
the highest level, the geometry consists of fuel pins, in which the fuel pellets are surrounded
by cladding and coolant. Each pin type is described independently in its own universe. The
next level is the fuel assembly, in which the pin universes are arranged in a regular lattice.
The assembly may also comprise flow channel walls, moderator channels or any support
structures. In the next geometry level these assembly universes are arranged in another lattice
to form the core layout, which can be surrounded by radial and axial reflectors and finally
the reactor pressure vessel wall.
The basic building block of the geometry is the cell, which is a region of space determined
using simple boundary surfaces. Each cell is filled with a homogeneous material composi-
tion, void or another universe.
Serpent provides for various elementary and derived surface types for geometry construc-
tion. A “derived” surface type refers here to a surface comprised of two or more elementary
surfaces, such as a cube constructed of six planes. The input format does not make any dif-
19
3.2 Surface Definitions 20
ference between elementary and derived surfaces and the description below applies to both.
The present code version contains 20 surface types, listed in Table 3.1. The number of
parameters is fixed and depends on the type. Some surface types have parameters that are
optional.
For the three types of planes, the x0 , y0 and z0 coordinates refer to distances from the ori-
gin. For sphere, cube and the cylindrical surfaces these parameters define the coordinates
of the surface center. Sphere, cube and cylinder radii are given by r. The square, hexago-
nal and cruciform cylinders also include an optional parameter r0 , which defines the radius
of rounded corners. If this parameter is omitted, it is assumed that the corners are sharp.
The optional parameters z1 and z2 are bottom and top planes of truncated cylinder. The
cylindrical surfaces are illustrated in Figure 3.1.
The cuboid is defined by the minimum and maximum coordinates in each direction.
The hexagonal prismatic surfaces are similar to the corresponding cylinders, with the differ-
ence that the enclosed space is limited by bottom and top planes at z1 and z2 .
The “pad” is a cylindrical surface type that was included in the code in order to model the
neutron pad in the VENUS-2 reactor dosimetry benchmark [7]. The surface is defined as a
sector between angles θ1 and θ2 cut out from a layer between cylinders of radii r1 and r2 .
The “cone” or “conz” surface type (see Fig. 3.2) is determined by the x0 , y0 and z0 coordi-
nates of the base, the base radius r and the height h. The height of the cone also determines
the orientation: a positive value for a cone pointing in positive direction and a negative value
for a cone pointing in the negative direction of the z-axis. Cones oriented in the x- and y-axes
(“conx” and “cony”, respectively) are defined in a similar manner.
The “dode” and “octa” surface types (see Fig. 3.3) are determined by the x0 and y0 coor-
dinates of the central axis and two distances r1 and r2 from the center. If the second value
is omitted, the surface is a regular octa- or dodecagonal cylinder. The octagonal cylinder
basically consists of two intersecting square and the dodecagonal surface of two intersecting
3.2 Surface Definitions 21
regular hexagons.
Ax + By + Cz = D
The surfaces are used for defining the geometry cells as will be described in the following
section. For this purpose, each surface is associated with a positive side and a negative side.
It is defined that a point is inside a surface if it is located on the negative side of the surface.
3.2 Surface Definitions 22
r r1
d r r2
x0 y0 x0 y0 x0 y0
Figure 3.1: Basic cylinder types. The surfaces are infinite in the z-direction. The square
cylinder illustrates the definition of rounded corners.
x0 y0 z 0
r
cone
Figure 3.2: The cone surface.
For the three types of planes, the positive side is defined in the direction of the positive
coordinate axis. The positive sides of the sphere, cube, cone and the cylindrical surfaces are
defined outside the perimeter of the surface.
r1 r1
r2 r2
r1
x0 y0 r1 x0 y0 r2
r2
octa dode
Figure 3.3: The octagonal and dodecagonal cylinder surfaces.
1. In code versions earlier than 1.1.8 the cone surface type may only be used with the full
delta-tracking calculation mode (threshold = 1).
2. Reflective and periodic boundary conditions may only be used in geometries where
the outermost boundary is defined by a square or hexagonal cylinder or a cube.
3. The dodecagonal cylinder surface type is available from code version 1.1.4 on.
4. The octagonal cylinder and general plane and quadratic surface are available from code
version 1.1.9 on.
SEE ALSO:
The geometry description in the Serpent code consists of two- or three-dimensional regions,
denoted as cells. Each cell is defined using a set of positive and negative surface numbers,
which correspond to the surface identifiers defined in the surface cards. Unlike MCNP and
other Monte Carlo codes, Serpent can only handle intersections of boundary surfaces. This
means that the neutron is inside the cell, if and only if it is on the same side of each boundary
surface as given in the surface list (see the examples below).
The lack of the union operator restricts the generality of the geometry description to some
extent. This limitation is compensated for by providing a large collection of derived surface
types, which in most cases can be used to replace the unions of the elementary surfaces. The
advantage of this approach is that the geometry description remains relatively simple.1
The cell name is a text string that identifies the cell.2 Each cell belongs to a universe, which
is determined by the universe number (lattices and universes are thoroughly described in
Section 3.6 on page 28). Cell material determines the name of the material that fills the cell
(see Chapter 4 for material definitions). There are three exceptions:
2. If the cell describes a region of space that is not part a of the geometry, the material
name is set to “outside”.
3. If the cell is filled by another universe, the material name is replaced by command
“fill” and the number of the filling universe.
The “outside” cells are required for filling the regions of space that are not a part of the actual
geometry. When the neutron streams to such a region, the history is terminated or boundary
conditions are applied.
The cell shape is determined by the list of boundary surfaces. Positive entries refer to positive
(“outside”) surface sides and negative entries to negative (“inside”) surface sides. The cell is
defined as the intersection of all surfaces in the list.
surf 1 pz 5.000
2
When the number of cells in the geometry is large, it is often easier to replace cell names with numerical
constants. This is possible since the code treats cell numbers as any other text strings. This convention is
followed in most example cases in this manual.
3.3 Cell Definitions 26
1. Material names “void”, “outside” and “fill” are reserved for empty cells, cells
not belonging to the geometry and cells filled by another universe, respectively.
2. Only the intersection operator is available for cell definitions. This means that a point
is inside the cell if and only if it is inside (or outside if defined by a negative surface
number) all the boundary surfaces in the list.
SEE ALSO:
Since Serpent is primarily a lattice physics code, the geometry has a simplified definition for
fuel pins consisting of nested annular material layers. The syntax of the pin card is:
pin <id>
<mat 1> <r1>
<mat 2> <r2>
...
<mat n>
Pin definitions are most commonly used with lattices to define fuel assemblies. Examples
are given in the following section.
1. The pin identifier is a universe number, which must not coincide with another universe.
2. The outermost material regions is given without a radius and it fills the rest of the
universe.
SEE ALSO:
3.5 Nests
Fuel pin and particle (see Sec. 3.8 on page 39) are special cases of the nest geometry type,
defined as:
3.6 Universes and Lattices 28
Each universe is by default centered at the origin, which may sometimes cause difficulties
with filled cells. The origin can be shifted to another location using the universe transforma-
tion card:
3.6 Universes and Lattices 29
Universe rotations were implemented in Version 1.1.14. The syntax of the transformation
card with rotations has two alternative formats:
trans <u> <x> <y> <z> <rx> <ry> <rz>
trans <u> <x> <y> <z> <a1> ... <a9>
3.6.2 Lattices
Lattices are special universes, filled with a regular structure of other universes. The Ser-
pent code has eight lattice types: square lattice, two hexagonal lattices, the circular cluster
array, three infinite 3D lattices filled with a single universe and the vertical stack.
The syntax of the lattice card for the square and hexagonal lattices is:
3.6 Universes and Lattices 30
1. Square lattice
2. X-type hexagonal lattice (unit cell is the x-type hexagonal cylinder, see Fig. 3.1)
3. Y-type hexagonal lattice (unit cell is the y-type hexagonal cylinder, see Fig. 3.1)
Each lattice defines a universe, which must be embedded inside a cell using the fill com-
mand. If the bounding cell is larger than the lattice, neutrons may stream to undefined lattice
positions, which results in a geometry error. This can be avoided by increasing the lattice
size by defining additional positions in the periphery (see examples below).
The circular array is needed for constructing some cluster-type fuel assemblies, used in
CANDU, MAGNOX, AGR and RBMK reactors. The array is also convenient for deter-
mining the fuel rod layout in some small research reactors, such as the TRIGA.
Infinite 3D lattices
The infinite 3D lattices are used to construct repeated structures of identical cells that fill
the entire universe. This type of construction can be used, for example, for describing the
microscopic fuel particles inside an HTGR fuel pebble or compact. The syntax is:
Vertical stack
Universes can be vertically stacked, one on top of the other, using lattice type 9:
<z> <u>
Cuboidal 3D lattice
The cuboidal lattice is a 3D structure composed of cuboids with different dimensions in the
x-, y- and z-directions. The syntax is:
lat <u0> <type> <x0> <y0> <z0> <nx> <ny> <nz> <px> <py> <pz>
The universe and lattice definitions are best described using a few examples. The fist example
is a 17×17 PWR MOX fuel assembly containing three types of fuel pins and empty control
rod guide tubes (see Figure 3.4 on page 45).
void 4.43750E-01
clad 4.75000E-01
water
1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1
1 2 3 3 3 2 3 3 2 3 3 2 3 3 3 2 1
2 3 3 3 3 4 3 3 4 3 3 4 3 3 3 3 2
2 3 3 4 3 3 3 3 3 3 3 3 3 4 3 3 2
2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2
2 2 4 3 3 4 3 3 4 3 3 4 3 3 4 2 2
2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2
2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2
2 2 4 3 3 4 3 3 4 3 3 4 3 3 4 2 2
2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2
2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2
2 2 4 3 3 4 3 3 4 3 3 4 3 3 4 2 2
2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2
2 3 3 4 3 3 3 3 3 3 3 3 3 4 3 3 2
2 3 3 3 3 4 3 3 4 3 3 4 3 3 3 3 2
1 2 3 3 3 2 3 3 2 3 3 2 3 3 3 2 1
1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1
The second example is a hexagonal VVER-440 lattice with 126 fuel pins and a central in-
strumentation tube. Empty lattice positions are filled with water (see Figure 3.5 on page 45).
pin 1
void 0.08000
fuel 0.37800
void 0.38800
clad 0.45750
water
pin 2
water 0.44000
clad 0.51500
water
pin 3
water
3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
3 3 3 3 3 3 3 1 1 1 1 1 1 1 3
3 3 3 3 3 3 1 1 1 1 1 1 1 1 3
3 3 3 3 3 1 1 1 1 1 1 1 1 1 3
3 3 3 3 1 1 1 1 1 1 1 1 1 1 3
3 3 3 1 1 1 1 1 1 1 1 1 1 1 3
3 3 1 1 1 1 1 1 1 1 1 1 1 1 3
3 1 1 1 1 1 1 2 1 1 1 1 1 1 3
3 1 1 1 1 1 1 1 1 1 1 1 1 3 3
3 1 1 1 1 1 1 1 1 1 1 1 3 3 3
3 1 1 1 1 1 1 1 1 1 1 3 3 3 3
3 1 1 1 1 1 1 1 1 1 3 3 3 3 3
3 1 1 1 1 1 1 1 1 3 3 3 3 3 3
3 1 1 1 1 1 1 1 3 3 3 3 3 3 3
3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
The third example is a CANDU cluster consisting of 37 pins in 4 rings. The third ring is
rotated by 15 degrees (see Figure 3.6 on page 46).
pin 1
fuel 0.6122
clad 0.6540
coolant
% --- Cluster:
All three examples are illustrated using the geometry plotter in Section 3.9 on page 42. It
should be noted that the plots contain cell structures not included in the above examples.
cell 1 1 uranium -1
cell 2 1 void 1
0.0 1
5.0 1
10.0 1
15.0 1
20.0 1
Notice that the origin of universe 1 is positioned at the bottom of each layer.
1. Each universe is defined independently and must cover all space. Regions of space not
belonging to the geometry must be defined using “outside” cells.
2. The lowest level of the geometry belongs to universe 0, which must always exist.
3. Each universe has its own origin, which can be shifted using the universe transforma-
tion command.
4. Cells in higher geometry levels can only be accessed through filled cells or lattices.
5. Each lattice defines a universe, which must be embedded inside a cell using the fill
command. The lattice must fill the container cell completely to avoid neutron stream-
ing to undefined lattice positions.
6. Hexagonal lattices are defined using a square matrix for the universe layout. To posi-
tion the lattice cells correctly, a number of empty cells must be defined for each row.
The definition is best described in the example in Sec. 3.6.3 on page 33.
8. If the infinite lattice types are is used in burnup calculation, material volumes must be
set manually (see Sec. 4.1.2 on page 49).
9. The vertical stack lattice type is available from code version 1.1.8 on.
SEE ALSO:
What happens to neutrons that end up in a region defined as being outside the geometry is
dictated by the boundary conditions. There are three options:
3. Periodic boundary - the neutron is moved to the opposite side of the geometry
The condition is set by the “bc” parameter, described in Section 5.7 on page 59.
Reflective and periodic boundary conditions can be used to construct infinite and semi-
infinite lattice structures. The way these boundary conditions are handled in Serpent is
somewhat different from other Monte Carlo codes. Instead of stopping the neutron at the
boundary surface, reflections and translations are handled by coordinate transformations.
This limits the outermost boundary to a few specific surface types that can be used to define
a square or hexagonal lattice structure. There are basically three options:
Infinite 2D geometry: The geometry has no dependence on the z-coordinate. The outer
boundary is defined by a single square or hexagonal cylinder (“sqc”, “hexxc” or
“hexyc”).
Radially infinite, axially finite 3D geometry: The outer boundary is defined by a square
or hexagonal cylinder (“sqc”, “hexxc” or “hexyc”and two axial planes (“pz”).
The boundary condition takes effect in the radial direction only. The axial boundary
conditions are black.
Infinite 3D geometry: The outer boundary is defined by a single cube, cuboid or hexag-
onal prism (“cube”, “cuboid”, “hexxprism”or “hexyprism”). The boundary
condition takes effect in all directions.
3.7 Repeated Boundary Conditions 37
The following examples illustrate the different geometry types. The details of the geometry
are omitted for the sake of simplicity and replaced by a fill command.
An infinite 2D hexagonal geometry can be defined as:
% --- Cells:
cell 1 0 fill 10 -1
cell 99 0 outside 1
set bc 3
Note that the reflective boundary condition is unphysical in a hexagonal geometry. infinite
2D square geometry can be defined as:
cell 1 0 fill 10 -1
cell 99 0 outside 1
set bc 2
cell 1 0 fill 10 -1 2 -3
cell 97 0 outside 1 2 -3
cell 98 0 outside -2
cell 99 0 outside 3
set bc 2
cell 97 0 outside 1
cell 98 0 outside -1 -2
cell 99 0 outside -1 3
3.7 Repeated Boundary Conditions 38
but the code may run slower because the boundary condition will be handled also for some
neutrons that end up outside the geometry.
As for the infinite 2D geometry, the boundary in an infinite 3D geometry must be defined by
a single surface, such as a cube:
cell 1 0 fill 10 -1
cell 99 0 outside 1
set bc 2
or a hexagonal prism:
cell 1 0 fill 10 -1
cell 99 0 outside 1
set bc 3
In both cases the boundary conditions are enforced in both radial and axial directions.
1. The outer boundary must be defined by a single surface in infinite 2D and 3D geome-
tries. The allowed surface types for a 2D geometry are square and hexagonal cylinders.
Infinite 3D geometries can be defined using a cube, cuboid or hexagonal prism.
2. Axially infinite, radially finite geometries are defined by a square or hexagonal cylinder
and two axial planes. The way the outside world is defined may affect the running time.
3. The hexagonal cylinder and prismatic surfaces are physically reasonable only with
periodic boundary conditions (reflective boundary conditions work if the geometry
has a 30 degree symmetry). The use of reflective boundary conditions with these
types was enabled in update 1.1.18. In earlier code versions the boundary condition is
automatically changed into periodic.
SEE ALSO:
particle <id>
<mat 1> <r1>
<mat 2> <r2>
...
<mat n>
The implicit particle fuel model works by sampling new particles on the neutron flight path
during the tracking process. The input syntax is:
disp <u0> <uf> <pf1> <r1> <u1> ... <pfn> <rn> <un>
The implicit particle fuel model was revised in update 1.1.3. It should be noted that the
model is not exact and there are statistically significant differences compared to the explicit
model described below. The implicit model seems to work best for low packing fractions but
no comprehensive validation has been carried out yet.
3.8 HTGR geometry types 40
A better choice for modeling HTGR geometries is the explicit particle fuel model, which
reads the positions of the particles from a separate file. The same model can be used for
setting up reactor-scale pebble-bed geometries. The input syntax is:
The options are used to activate the calculation of various particle / pebble-wise parameters.
Currently the only available option is the power distribution, which is requested with op-
tion “pow”. The code writes the output in a separate file “<inputfile>.out”, where
“<inputfile>” is the file where the distribution was read. The input data is included for
convenience. The format of the output is:
The following example shows how the particle distribution inside a single PBMR fuel pebble
can be modeled using a regular 3D array and the two particle fuel models in the Serpent code.
particle 1
fuel 0.0250
buffer 0.0340
PyC 0.0380
SiC 0.0415
PyC 0.0455
matrix
The first option is to describe the particle distribution as a regular cubical lattice:
The implicit particle fuel model is defined using a list of packing fractions and particle types:
surf 1 inf
cell 1 2 matrix -1
The explicit particle fuel model reads particle coordinates from a separate input file (can be
used for pebble distributions at reactor scale as well):
surf 1 inf
cell 1 2 matrix -1
% --- Option 3: explicit particle fuel model (read coordinates from file):
pbed 10 2 "particles.inp"
3.9 Geometry plotter 42
Finally the pebble description using one of the three options (all assigned with universe
number 10):
% --- Pebble:
1. The implicit particle fuel model was revised in update 1.1.3. The model is not exact
and should be used with caution. Test calculations show that the model works best for
low packing fractions.
2. If the implicit particle fuel model is used in burnup calculation, material volumes must
be set manually (see Sec. 4.1.2 on page 49).
SEE ALSO:
The geometry plotter uses the GD open source graphics library [1] for producing png format
output files for visualization. In order to use the plotter, the source code must be compiled
with this library included (see the Makefile for detailed instructions). The syntax of the
plotter command is:
3.9 Geometry plotter 43
The plotted area is a rectangle defined by the orientation, the position on the perpendicular
coordinate axis and the coordinates of the two corners. Zero position is assumed if the
position parameter is omitted. If the corner coordinates are not given, the boundary values
of the geometry are used.
Example plots are shown in Figures 3.4–3.7. The lattices in the first three cases are described
in the universe and lattice examples in Sec. 3.6.3. In each case the plotter command was:
This generates a 1000 by 1000 pixel plot perpendicular to the z-axis, located at z = 0 and
covering the entire geometry.
1. The geometry plotter uses the GD open source graphics library [1], which must be
installed in the system.
2. The plotter produces png (portable network graphics) format output files.
3.9 Geometry plotter 44
3. The colors in the plot represent different materials. The color for each material is
selected randomly (void regions are black, geometry errors bright green or red).
4. Surfaces are drawn with black lines, which may overlap cell regions. Plotted surfaces
may not necessarily represent the actual cell boundaries.
SEE ALSO:
Figure 3.4: A 17×17 PWR MOX fuel assembly with 3 pin types.
Figure 3.5: A hexagonal VVER-440 fuel assembly with 126 fuel pins and a central instru-
mentation tube in an infinite lattice. The proportions of the assembly are slightly distorted
since the hexagonal assembly is fitted inside a square region.
3.9 Geometry plotter 46
Figure 3.6: A CANDU cluster with 37 fuel pins in 4 rings. The third ring is rotated by 15
degrees.
Figure 3.7: A 10×10 BWR fuel fuel assembly with 7 pin types and an asymmetrically posi-
tioned moderator channel.
Chapter 4
Materials
The geometry in Monte Carlo codes consists homogeneous material regions, which in Ser-
pent are defined using cells and surfaces (see Chapter 3 for geometry definition).1 Each
material consists of a list of nuclides and each nuclide is associated with a cross section
library, as defined in the directory file (see Sec. 1.4.2 on page 12).
Nuclide temperatures are fixed when the cross section data is generated and cannot be
changed afterwards. It is important to use cross section libraries generated at the right tem-
perature to correctly model the Doppler-broadening of resonance peaks. It is equally (or even
more) important to use the appropriate bound-atom thermal scattering libraries for moderator
nuclides.
Soluble absorbers can be defined by mixing two material compositions. This option is in-
troduced in Sec. 5.14 on page 69. The concentration can be used for critical keff iteration.
Serpent also has the option to use a built-in Doppler broadening routine to adjust nuclide
temperatures before the calculation. This method is described in Sec. 4.3 on page 50.
4.1.1 Nuclides
Nuclide names may be arbitrary aliases defined in the directory file. The usual convention,
also used by MCNP, is:
1
It is, in principle, possible to model continuously varying material compositions when the delta-tracking
method is used for neutron transport. This option is considered for the future versions of the Serpent code.
47
4.1 Material definitions 48
<Z><A>.<id>
where <Z> is the element Z
<A> is the isotope mass number (three digits)
<id> is the library id
For example, “92235.09c” refers to 235 U. Natural element cross sections are denoted by
mass number zero (“40000.06c” for natural zirconium). The library id usually refers to
data evaluation or temperature (“60c” for ENDF/B-VI.0 based data, “09c” for data gener-
ated at 900K, and so on...).
If the material density is set to zero or “sum”, the value is calculated from the isotopic com-
position. The isotope fractions must then be in absolute density units, not relative fractions.
Material volumes and masses are used for normalizing reaction rates, which is important,
for example, in burnup calculation. The code calculates these automatically for simple pin
structures, but the values must be entered manually for some more complicated geometries.
4.2 Thermal scattering libraries 49
where <R> is the value for red channel (between 0 and 255)
<G> is the value for green channel (between 0 and 255)
<B> is the value for blue channel (between 0 and 255)
if the colors are not set, random values are used in the plots.
Other options are used to set up depletion zones in burnup calculation and to determine ther-
mal scattering libraries for moderator materials and temperatures for Doppler broadening.
Material definitions in burnup calculation is a separate topic in Section 8.2 on page 109.
Thermal scattering and Doppler broadening are discussed below.
Thermal scattering cross sections are used to replace the low-energy free-gas elastic scat-
tering reactions for some important bound moderator nuclides, such as hydrogen in water
or carbon in graphite. Thermal systems cannot be modelled using free-atom cross sections
without introducing significant errors in the spectrum and results. Thermal scattering data is
defined using:
The Doppler broadening routine is initiated by adding a “tmp” entry in the material card:
92235.09c -0.03173
92238.09c -0.84977
8016.09c -0.11850
1. Nuclide names are used for identification only. All information used in the calculation
is read from the directory file and the cross section data.
2. Positive entries in material density and isotopic composition refer to atomic densities
and atomic fractions, respectively, and negative entries to mass densities and mass
fractions. Typical input errors in material compositions are related to confusing the
two definitions.
3. Isotopic compositions can be given as density values, rather than fractions, since the
compositions are normalized before the calculation.
4. The mass fraction of oxygen in UO2 fuel is ∼0.1185. Natural boron consists of 20%
10
B and 80% 11 B (atomic fractions).
5. Thermal scattering data must be used for moderator materials (water, graphite, etc.)
when modelling thermal systems. The use of free-atom cross sections will introduce
significant errors in the results.
6. Doppler broadening is available from code version 1.1.0 on, and completed in version
1.1.2. The broadened temperature must be above the original nuclide temperature.
SEE ALSO:
1. Directory files and the “xsdirconvert” utility (Sec. 1.4.2 on page 12)
Options
5.1 General
Serpent has various calculation parameters determined using the “set” command:
The default calculation mode in Serpent is the k-eigenvalue criticality source method, in
which the simulation is run in cycles and the source distribution of each cycle is formed by
the fission reaction distribution of the previous cycle. External source simulation is discussed
as a separate topic in Chapter 9. The parameters for criticality source calculation are set
using:
53
5.2 Neutron Population and Criticality Cycles 54
The number of source neutrons per cycle is fixed. Since the number of generated source
points usually differs from this value, the source size is increased (keff < 1) or decreased
(keff > 1) to match the given source size.
Inactive cycles are cycles that are run in order to allow the initial fission source distribution to
converge before starting to collect the results. In lattice calculations the convergence is typ-
ically reached well within the first 20 cycles. Source convergence in full-core calculations,
however, may take much longer.
The initial source points are randomly selected inside the fissile cells in the geometry and no
source input is needed from the user. The simulation requires an initial guess for keff , which
by default is set to unity. This is usually sufficient, but if the system is far from criticality,
the simulation may die out during the first few cycles. This problem may be overcome by
setting the initial keff guess to a more appropriate value.
If all fissile material is located in a small region compared to the geometry dimensions, initial
source sampling may fail. The default source can be overridden by defining an external
source, as described in Section 9.2 of Chapter 9. If the “nps” parameter is not set, the
user-defined source is used as the initial guess only, and the simulation proceeds in power
iterations.
The statistical accuracy of the results depends on the total number of active neutron histories
run, which is determined by the population size per cycle and the total number of active
cycles. Appropriate values for a typical lattice calculation are 500 active cycles of 5000
source neutrons. If more precision is required or the geometry is larger, it is suggested that
the population size, rather than the number of cycles is increased.
The collection interval defines the number of generations run for each batch of results. By
default this value is set to one, and increasing the number has essentially the same impact as
running more neutrons per generation and fewer generations.1
Serpent uses two buffers to store data for new source points and neutrons produced in multi-
plying scattering reactions and certain special calculation modes. In some cases these buffers
may be overrun, which terminates the simulation. To overcome such problems, the buffer
size may be increased by setting:
where <f> is the buffer factor (criticality mode) or total size (external source mode)
In criticality source mode the buffer size is population size multiplied by the given factor (set
to 2.5 by default). In external source mode neutron histories are run one at a time and the
value of nbuf sets the absolute size of the buffer (set to 1000 by default).
1. It is important that a sufficient number of cycles is discarded to allow the initial fis-
sion source to converge before starting to collect the results. This number depends on
the size and the complexity of the geometry. Fission source convergence is a compli-
cated research topic, subject to both theoretical and practical considerations [9–14].
It should be noted, however, that problems with source convergence are practically
never encountered in lattice calculations where the neutron migration distance is long
compared to the dimensions of the geometry.
2. The k-eigenvalue criticality source calculation yields physically consistent results only
in the special case that keff = 1. When the system is far from criticality, the importance
of fission neutrons is either over- (keff < 1) or underestimated (keff > 1). The result is
that the neutron population becomes biased in energy and space (and time), which may
affect the final results as well. The problem originates from the basic methodology
and the fact that a physically sub- or super-critical chain reaction is simulated as a
steady-state system. Deterministic lattice transport codes use neutron leakage models
to overcome this problem, but the methodology for Monte Carlo calculation is not well
established.
3. All source neutrons are born in fission. Other neutron-multiplying (n,xn) reactions are
treated as scattering within the criticality cycle.
4. External source definitions are available from version 1.1.11 on.
5. Buffer size and collect interval are options available from version 1.1.13 on.
SEE ALSO:
1. Simulating the neutron chain reaction and the k-eigenvalue criticality source calcula-
tion mode in Ref. [15] (Sec. 5.5 on page 112).
2. Discussion on neutron leakage models in Monte Carlo calculation in Ref. [15] (Sec. 9.5
on page 171).
3. External source simulation (Chapter 9).
The continuous-energy reaction cross sections in Serpent are reconstructed using a single
unionized energy grid for all nuclides. The reason for this approach is the major speed-up
in calculation, achieved by minimizing the number of grid search iterations.2 The default
2
Each nuclide in the continuous-energy ACE format data is associated with its own energy grid. The
calculation of material total cross sections, for example, is carried out by summing over all the constituent
nuclides. This requires an iterative energy grid search to be performed for each nuclide, which may take a
significant fraction of the overall CPU time, especially since the procedure has to be repeated each time the
neutron enters a new material. The advantage of using the same grid for all nuclides is that the grid search has
to be performed only once, each time the neutron scatters to a new energy.
5.3 Energy grid reconstruction 56
method for grid reconstruction is that all grid points of all nuclides in the ACE format data
are included in the master grid. The disadvantage of this method is that computer memory is
wasted for storing a large number of redundant data points. The available memory is usually
not a problem in fresh fuel calculations, but the introduction of actinide and fission product
isotopes in burnup calculation may result in an excessively large master grid. Serpent has
a method for avoiding this problem by combining adjacent grid points. The reconstruction
parameters are given by:
The default value for the fractional reconstruction tolerance is zero in the transport calcula-
tion mode and 5 · 10−5 in the burnup calculation mode. Test calculations have shown that
the results are not significantly affected until the tolerance is raised above 10−3 . There is
no absolute guarantee, however, that the results are valid in all imaginable cases when the
grid size is significantly reduced. It is therefore suggested that the grid reduction is not used
unless necessary because of insufficient computer memory.
The lower limit of the energy grid is by default set to 10−9 MeV and the upper limit to
15 MeV. Very few neutrons are born or scattered to higher or lower energies in fission reactor
applications.
1. Grid reduction inevitably leads to some loss of data. There is no guarantee that this
reduction does not affect the results.
2. Test calculations have shown that the reduction in grid size does not significantly affect
the overall calculation time.
5.4 Library File Paths 57
SEE ALSO:
1. Cross section data in the PSG code in Ref. [15] (Sec. 8.2 on page 143). NOTE: Some
of the described methods are outdated.
2. A more recent description of the unionized energy grid formats in Serpent is found in
Ref. [16].
The Serpent code uses a single directory file for determining the cross sections used in the
transport simulation. The directory file can be generated from an MCNP xsdir file using the
“xsdirconvert” utility (see Sec.1.4 on page 11). The cross section library directory file path
is set using:
where <file> is the file path for the ACE directory file
A default directory path can be set by defining environment variable SERPENT_DATA. The
code looks for cross section directory files in this path if not found at the absolute location.
1. The cross section library directory file is a text file generated by the “xsdirconvert”
utility.
2. The environment variable feature is available from code version 1.1.8 on.
SEE ALSO:
The use of unresolved resonance probability tables can be switched on and off using:
5.5 Unresolved resonance data 58
set ures <use> [<mode>] [dilu] [<iso 1> <iso 2> ...]
1. Sample all cross sections at once, each time the neutron scatters to a new energy, adjust
material totals and majorant.
2. Sample cross sections when the neutron enters a new material. Use a pre-calculated
majorant cross section corresponding to the maximum probability table values.
3. Sample cross sections when the neutron enters a new material. Switch to surface
tracking when neutron is in the unresolved range.
The overall calculation time using the different options depends on the case, in particular the
flux spectrum and the number of nuclides with probability table data. Mode 1 is used by
default. It should also be noted that options 2 and 3 work by sampling the cross sections for
physical materials. If a material is used for detector calculation only, the probability tables
may not be appropriately sampled. This is not a problem for method 1.
Since the overall impact of using unresolved resonance cross sections is a self-shielding
effect, the calculation routine can be optimized by omitting the probability table sampling
for nuclides with low concentration. This limit is given by the infinite dilution cut-off, which
is set to zero by default.
If the options are followed by a list of nuclide names (94239.09c, etc.), the probability table
treatment is used or omitted only for the listed nuclides. If no list is given, the options cover
all nuclides with probability table data.
In order for the methodology to work, the probability table data must be available in the ACE
format cross section libraries. This data is not included, for example, in the default libraries
provided with installation package 1.1.0. The methodology is available from update 1.1.4 on
and is still under development. The mode and infinite dilution cut-off options were added in
update 1.1.5. The treatment is currently switched off by default.
3
Serpent pre-calculates certain material-wise total cross sections to avoid having to sum over the constituent
nuclides during the transport cycle. This pre-calculation cannot be combined with probability table sampling,
which has to be carried out on-the-fly.
5.6 Doppler-Broadening Rejection Correction (DBRC) 59
There is a physical flaw in the ENDF reaction laws of the ACE format data, that ignores
the impact of thermal motion on angular distributions of elastic scattering near resonances.
The phenomenon becomes important in heavy nuclides (A > 200) with scattering resonances
at low energy (< 0.2 keV), and ignoring it may result in a noticeable under-prediction of
resonance absorption and over-prediction of keff . To correct this flaw, Serpent can apply a
Doppler-broadening rejection correction (DBRC) in the thermal free-gas model:
1. The correction increases resonance absorption, which may reduce keff by few hundred
pcm.
2. DBRC is not widely used by other Monte Carlo codes, so switching the correction on
may increase differences to any reference results.
4. Zero-Kelvin cross section data is not available in the cross section libraries distributed
with the current base versions.
SEE ALSO:
Boundary conditions determine the fate of neutrons escaping outside the defined geometry.
The boundary conditions are set using:
5.7 Boundary conditions 60
set bc <c>
Different boundary conditions can be applied in x-, y- and z- surfaces of square cylinder,
cube and cuboidal boundary. The syntax is then:
Symmetries in finite geometries can be taken into account using the universe symmetry op-
tion:
set usym <uni> <sym> <x> <y>
1. The reflective and periodic boundary conditions can only be used in geometries where
the outer boundary surface is either a square or a hexagonal cylinder or a cube.
2. Even though the reflective and the periodic boundary conditions produce the same
results in many cases, it should be noted that they are not equivalent when the geometry
is asymmetric. This is the case, for example, for BWR assemblies surrounded by an
asymmetric moderator channel. Infinite BWR lattices must alway be defined using
reflective, instead of periodic boundary conditions.
3. If black boundary conditions are used, the outer geometry boundary must be non re-
entrant or leakage will produce unphysical results.
5.8 Source rate normalization 61
SEE ALSO:
The integral reaction rate estimates given by a Monte Carlo simulation are more or less
arbitrarily normalized, unless fixed by a given constant. The Serpent code provides for seven
options for source rate normalization.
It should be noted that the heating power is not the same thing as the total fission power
(recoverable fission energy production rate), mainly because a significant fraction of heat
is produced in (n,γ) reactions. The direct calculation of this heating power is difficult and
Serpent uses an approximation based on the total fission rate and empirical heating values
directly proportional to fission energy. The heating value for U-235 fission is 202.27 MeV
and the values for other nuclides are scaled according to the ratios of fission Q-values. The
U-235 heating value can also be set manually using:
1. The source rate normalization affects only integral reaction rates encountered, for ex-
ample, in detector calculation. Homogenized group constants are unaffected since the
normalization cancels out.
2. The default normalization is unit loss rate. It should be noted that the value generally
differs from source and generation rates due to neutron-producing reactions.
3. If the geometry is two-dimensional, the values are divided by unit length. The total
heating power (W), for example, becomes the linear power (W/cm).
4. Power density is given in units of kW/g, not W/g used in several other codes. The
typical order of magnitude for this parameter in LWR calculations is 20E-3 ... 50E-3.
SEE ALSO:
3. Additional options for source rate normalization in burnup calculation (Sec. 8.4.2 on
page 112).
The universes in which the group constants are calculated can be set by:
The statistical error in assembly discontinuity factors can be reduced by taking advantage of
the symmetry of the geometry. The symmetry option is set by:
All group constants are generated using the same few-energy group structure. The default
structure consists of two energy groups: fast group above 0.625 eV and thermal group below
that. This can be overridden by setting the group boundaries manually:
When it comes to multiplying scattering reactions, such as (n,2n), (n,3n) or (n, 2nα), there
is some ambiguity in the way group-to-group scattering matrices and removal cross sections
are defined and used in nodal diffusion codes.
The first option is to reflect only the scattering rate, i.e. to disregard the number of neutrons
produced in each reaction. In this case, the sum of each matrix column equals the group-wise
5.9 Group constant generation 65
The second option is to include neutron production in the cross sections, so that the prod-
uct of group flux and the corresponding group-transfer cross section yields the rate at which
neutrons enter group h from scattering reactions in group g, taking into account the mul-
tiplication in (n,xn) reactions. The summation to total scattering cross section no longer
holds.
Serpent versions from 1.1.15 on calculate both matrixes (see Sec. 6.1.23). The definition of
the scattering matrix also affects the removal cross section:
and the whether production of secondary neutrons is included or not is selected by:
where <opt> is the scattering matrix option (0 = include only scattering rate,
1 = include also production)
The option is available from version 1.1.15 on. The methods used in previous versions
correspond to option 0. Option 1 is currently used as the default.
1. The methodology has been thoroughly tested only in cases where group constants are
homogenized over the entire geometry. The calculation may produce incorrect results
for diffusion coefficients and assembly discontinuity factors if the homogenization is
restricted to a higher universe.
2. The list of universes given after the gcu option is exclusive. If a collision point is
located in several universes in the list, only the highest universe is scored.
3. The use of the symmetry option will lead to erroneous results if the geometry is not
truly symmetric.
4. The listed energy values cover only the group boundaries between the minimum and
maximum energy of the cross section data. The absolute boundary values are defined
in the reconstruction of the master energy grid.
5. The energy groups are indexed in increasing lethargy (decreasing energy) (1 = highest
group, <ne> = lowest group).
SEE ALSO:
5.10 Full-core power distributions 66
Serpent can calculate assembly or pin-wise power distributions in full-core simulations. This
option is set by:
The code calculates integral fission power inside nested lattice structures (core and assembly
lattices). The output data is printed in a separate file named “<input>_core<n>.png”,
where <input> is the name of the input file and <n> is the burnup step.
1. This is an experimental feature, available from version 1.1.8 on. The routine has not
been thoroughly tested. The results may not be considered reliable, especially when
used in combination with the the track-length estimator option.
2. When used in full 3D mode with axial binning, the routine produces very large output
files.
SEE ALSO:
The Woodcock delta-tracking tracking method used by Serpent loses its efficiency in the
presence of localized heavy absorbers, such as control rods or burnable absorber pins. To
overcome this problem, the code switches to the conventional surface-to-surface ray-tracing
5.11 Delta-tracking options 67
when the probability of sampling a physical collision falls below a user-defined threshold.
The value is set by:
set dt <thresh>
Finding the optimal value for the threshold parameter can only be accomplished by trial and
error. The default value is 0.9, which seems to work well for most cases.
Serpent also has a built-in optimization routine that tries to find the best value for the cut-off
criterion. From version 1.1.9 on the optimization handles each material separately, which has
shown to improve the efficiency at least in some complicated HTGR full-core geometries.
The optimization is switched on by giving a negative threshold value. This value also serves
as the initial guess, so <thresh> = -0.9 is the recommended choice for optimization.
where <mat 1> <mat 2> ... are the materials where delta-tracking
will not be used
The tracking routine in serpent selects between surface and delta-tracking, based on the cut-
off criterion described above. Some geometries may run faster, however, if surface tracking
is always used in very large material regions comprised of simple cells. A good example of
such region is the outer reflector in a full-core geometry. It should be noted, however, that
this option may also impair the efficiency if not properly used.
1. The cut-off value is set to 0.9 by default in code version 1.1.1 and later. Earlier versions
use the optimization by default. The optimization routine was changed in update 1.1.9
to handle each material separately.
2. The optimization has not been thoroughly tested and the methodology is not guaran-
teed to result in the optimal threshold value in terms of CPU time.
3. The code should always yield consistent results with and without delta-tracking. If any
discrepancies are observed, please report them by e-mail to [email protected]
SEE ALSO:
1. Description of the basic Woodcock delta-tracking method in Ref. [15] (Sec. 5.3.3 on
page 100).
2. Description of the extended delta-tracking method used in PSG in Ref. [15] (Sec. 8.3.1
on page 149). NOTE: The described methods are partially outdated.
Serpent has the option to plot all cross sections in a matlab m-file format. The cross section
data plotter is activated using:
The fission source entropy for convergence studies is calculated by default and the total
entropy is divided in x-, y- and z-components. The entropy mesh is set by:
set entr [<nx> <ny> <nz> <x0> <x1> <y0> <y1> <z0> <z1>]
The source entropies are written in the history output file as function of criticality cycle.
SEE ALSO:
Materials with soluble absorber, most commonly boron in light water, can be defined by
mixing two material compositions. This is considerably simpler than explicitly listing the
associated isotopic fractions. The soluble absorber is defined using:
The absorber concentration can be changed during burnup calculation by re-defining the
value between burnup intervals. The first value is used during the first interval, the second
during the second interval and so on.
1. If soluble absorber is used with multiple materials, all must share the same isotopic
composition.
2. Only the total absorption channel of the absorber material is used and fission, scattering
and all the other reaction modes are discarded. This is a good approximation if the
concentration is low and the material is high-absorbing. The maximum concentration
for natural boron in water is around few-thousand ppm per weight. If the concentration
is higher, it is better to determine the isotopic composition explicitly.
3. The methodology is available from code version 1.0.2 on.
SEE ALSO:
5.15 Iteration
keff can be iterated to a desired value by allowing the variation in some geometry, material
or physics variable. Iteration is defined by:
The soluble absorber iteration works by varying the concentration of soluble absorber (see
Sec. 5.14) to yield the desired keff .
The albedo boundary condition iteration is an attempt to simulate the effects of neutron
leakage in an infinite-lattice geometry. The method works by sampling leakage (k > 1) or
multiplication reactions (k < 1) each time a neutron crosses a repeated or periodic bound-
ary. It should be noted that this method is highly experimental, and does not have physical
foundation similar to deterministic leakage models.
The second experimental leakage model is the B1 iteration. The method works similar to
the α-eigenvalue simulation: leakage absorption or multiplication reactions are introduced
to balance neutron source and loss rates. The cross section for the reaction is equal to
the B1 -factor multiplied by the leakage spectrum, given by the energy-dependence of the
volume-integrated diffusion coefficient. Since the diffusion coefficient cannot be defined
as a continuous-energy parameter, the code calculates a fine-group spectrum using an esti-
mate based on the diffusion area and the removal cross section (<spec> = 1) or the P1-
approximation (<spec> = 2). The energy variable is divided into <ne> equal lethargy-
width bins (default = 500).
1. When iteration is used in burnup calculation mode, the procedure is repeated indepen-
dently for each burnup step.
2. Soluble absorber must be defined in the absorber iteration mode.
3. The α-eigenvalue calculation, albedo iteration and B1 mode are available from update
1.1.5 on.
4. The albedo- and B1 -iteration modes are experimental, rather than standard Monte
Carlo techniques. The theory is not on a particularly solid foundation and the results
are generally not satisfactory when compared to deterministic calculations.
5. The B1 iteration mode must not be confused with the fundamental mode calculation,
discussed in Section 5.16.
6. The α-eigenvalue simulation is a widely-used method, but the implementation in Ser-
pent has not been validated. The mode does not account for delayed neutron emission.
7. Some of the keff estimates are different from a standard calculation, depending on the
iteration mode used.
SEE ALSO:
The fundamental mode calculation can be considered as an intermediate solution to the crit-
icality spectrum problem, until the development of a valid Monte Carlo based leakage cor-
rection. The calculation consists of two stages. First, the Monte Carlo simulation is run to
produce homogenized micro-group cross sections for B1 equations. The solution of these
equations yields the criticality spectrum, which is used to re-homogenize the cross sections.
output parameters (see Sec. 6.1.30) and does not affect the values of other group constants.
The energy group boundaries in the few-group structure must match the boundaries in the
micro-group structure.
1. The fundamental mode calculation is available from version 1.1.14 on. The spectrum
correction affects only a set of separately produced few-group constants. Extending
the correction to burnup calculation is under development.
2. The group boundaries in the few-group structure must match the boundaries in the
micro-group structure.
3. Relative statistical errors are not included in the results.
4. The fundamental mode calculation must not be confused with the experimental B1
iteration, discussed in Section 5.15.
SEE ALSO:
Serpent can iterate the concentration of fission product poison Xe-135 to an equilibrium
value in transport or burnup calculation. The equilibrium xenon calculation is set by:
The calculation is based on the production rates of Xe-135 and its precursors (I-135, Te-135,
Sb-135 and Sn-135), the absorption rate of Xe-135 and the radioactive decay of the isotopes.
The production and absorption rates are normalized to source rate. The decay and fission
yield data are read from external libraries, similar to a burnup calculation.
2. When used in the burnup calculation mode, the concentration of Xe-135 is handled
separate from the other nuclides. The equilibrium concentration is copied in the de-
pletion output.
3. The capability was included in code version 1.1.9 and currently it may not work with
unresolved resonance probability table sampling, soluble absorbers or k-eff iteration.
SEE ALSO:
2. Setting the decay and fission yield library file paths (Sec. 8.4 on page 111)
The Monte Carlo simulation uses a sequence of random numbers, generated from an initial
seed value. This seed is by default taken from system time. The calculation can be repro-
duced using the “replay” command line option, which forces the code to use the same seed
as in the previous run. The seed value can also be set manually using:
The use of track-length flux estimate can be forced in place of the collision estimator using:
By default, Serpent uses various pre-calculated summation cross sections for each material
to speed-up the transport simulation. This increases the overall memory demand per mate-
rial, which may become a limiting factor in burnup calculation. To reduce the demand, the
calculation can be switched off using:
Calculation of fission product poison cross section (production of I-135, Xe-135, Pm-149
and Sm-149 and absorption of Xe-135 and Sm-149) can be switched on and off by setting:
SEE ALSO:
5.18 Miscellaneous parameters 75
Output
The main output file contains all results calculated by default during the transport cycle.
User-defined detectors produce another file, described in Section 7.2 on Page 105. Inventory
data in burnup calculation is discussed in Section 8.5 on Page 116.
The file is named “<input>_res.m”, where “<input>” is the name of the input file.
The data is written in matlab m-file format to simplify the simultaneous post-processing of
several files. Each parameter is read to a variable (scalar or vector) and a run index “idx”
is assigned to each file. Each time a new file is read, the index is first increased by, 1 so that
the new data is placed on the next line in the result matrix. The following Octave example
illustrates the procedure:1
octave:1> idx = 0
idx = 0
octave:2> run1_res;
octave:3> FISSXS
FISSXS =
octave:4> run2_res;
octave:5> FISSXS
FISSXS =
1
GNU Octave is a Matlab-compatible open-source language for numerical computations.
77
6.1 Main output file 78
octave:6> run3_res;
octave:7> FISSXS
FISSXS =
Three input files: “run1_res.m”, “run2_res.m” and “run3_res.m” are read and the data from
each file is placed on a different row in the variables. Variable “FISSXS” is the homoge-
nized fission cross section, calculated in this case using a two-energy group structure. The
first two columns are the total (one-group) value and the associated relative statistical error,
respectively. The following four columns contain the same data for the two energy groups in
ascending order.
Output data in burnup calculation is written in a single file. The run index is updated for each
burnup step. The variables in the main output file are listed in the following.
NOTES:
6.1 Main output file 79
1. In parallel calculation mode, the number of source neutrons per cycle is the number
for each parallel task.
2. CPU type and MHz are read from /proc/cpuinfo and available memory from /proc/meminfo.
NOTES:
NOTES:
NOTES:
NOTES:
NOTES:
1. Precursor-group wise decay heat production is available from version 1.1.17 on. The
option for setting the group boundaries is described in Sec. 8.4.8.
NOTES:
1. The values are printed only if soluble absorber defined (see Sec. 5.14 on page 69).
6.1.15 Iteration
NOTES:
1. The values are printed only if iteration is in use (see Sec. 5.15 on page 70).
NOTES:
6.1 Main output file 85
1. The values are printed only if xenon iteration is in use (see Sec. 5.17 on page 72).
2. The concentrations are averaged over all regions involved in the iteration
NOTES:
6.1.18 Normalization
NOTES:
3. Total power density is printed only if total fissile mass is calculated or given by the
user.
NOTES:
1. The neutron reproduction time is also commonly known as the “neutron generation
time”.
2. The analog estimates and delayed neutron emission time are calculated for the entire
geometry. The implicit estimates are calculated in the universe set by the user.
NOTES:
1. The parameters are calculated using simple analog estimates and inteded mainly for
the demonstration of basic reactor physics phenomena.
NOTES:
1. The number of precursor groups Jd depends on data. The usual number is 6 or 8. The
first two entries refer to the total value and the associated relative statistical error.
2. Since different precursor group structures cannot be combined, the number of groups
is fixed to the value used in the first actinide in the input. Delayed neutron emission is
entirely omitted for nuclides using a different group structure.
Earlier code versions, including base version 1.1.0, contain a serious flaw in group constant
calculation. The collision flux estimator yields zero values in void regions, resulting in
a systematic over-prediction of the homogenized values. The problem was fixed in code
update 1.1.3.
NOTES:
1. The first two entries are the total (one-group) value and the associated relative statisti-
cal error. The remaining 2G entries are few-group values.
2. The normalization of group-flux does not work in the pre-release version 1.0.0 of the
Serpent code (corrected in version 1.0.1). The one-group value should be equal to
variable TOT_FLUX (see Sec. 6.1.18).
3. All cross sections are macroscopic.
4. Capture cross section includes all (n,0n) reactions.
5. Absorption cross section includes capture and fission.
6. Elastic scattering includes thermal bound-atom reactions.
7. Group-removal cross section includes absorption and scattering out of the energy
group. Option to include neutron multiplication was added in version 1.1.15 (see Sec.
5.9).
8. Reduced absorption cross section is defined as absorption minus production in (n,xn)
reactions.
NOTES:
1. The option to switch on the calculation of fission product poison cross sections is
described in Sec. 5.18
6.1 Main output file 90
NOTES:
NOTES:
6.1 Main output file 91
1. The first two entries are the total (one-group) value and the associated relative statisti-
cal error. The remaining 2G entries are few-group values.
2. The values are based on the analog estimate of group-wise diffusion area. The results
usually differ from the P1 -values below.
NOTES:
1. The first two entries are the total (one-group) value and the associated relative statisti-
cal error. The remaining 2G entries are few-group values.
NOTES:
1. The first two entries are the total (one-group) value and the associated relative statisti-
cal error. The remaining 2G entries are few-group values.
2. The values are based on the P1 approximation. The results usually differ from values
calculated using the analog estimate of diffusion area (see above).
6.1 Main output file 92
NOTES:
1. B1 fundamental mode calculation is performed after the transport cycle using homog-
enized multi-group cross sections (see Sec. 5.16).
2. The definition of scattering matrix was changed in version 1.1.15 (see Sec. 5.9).
5. The option to switch on the calculation of fission product poison cross sections is
described in Sec. 5.18
6. The capability is available from version 1.1.14 on. Some parameters were added in
versions 1.1.15 and 1.1.17.
6.1 Main output file 93
NOTES:
1. The assembly discontinuity factors are calculated only for square and hexagonal cylin-
der boundaries. The ADF surface is the outermost surface in the universe where the
group constants are calculated.
2. The number of vertices NV is 4 for square boundary and 6 for hexagonal boundary.
3. The index for vertice (corner) n and group g is given by:
i = 2(n − 1)G + 2g − 1
4. The methodology is tested only group constant generation is extended over the entire
geometry.
5. For square assemblies the numbering of vertices is: 1 - West, 2 - North, 3 - East, 4 -
South and for the corners: 1 - South-West, 2 - South-East, 3 - North-East, 4 - North-
West. Also note that geometry plots are inverted in the north-south direction.
NOTES:
1. Lattice parameters are calculated for each lattice, regardless of the content. Variable
names include the lattice number “<nl>”.
2. For square and hexagonal lattices the type and number of rows and columns is given.
For cluster-type lattices the entries are type, number of rings and total number of ele-
ments.
3. The values in the power distribution are given as a single vector. The order is deter-
mined by the universe map in the lattice definition.
6.2 History output 94
4. Peaking factor gives the position and the peak value in the lattice.
Detectors
Serpent uses the collision estimate of neutron flux for calculating user-defined reaction rates
integrated over space and energy:
Z Z Ei
1
R= f (r, E)φ(r, E)d3 rdE . (7.1)
V V Ei+1
The response function f (r, E) and the spatial and energy domains of the integration are set
by the detector parameters.1 The syntax is relatively simple:
The integral in Eq. (7.1) is divided by detector volume, which is set to unity by default. This
is because in most cases it is the total reaction rate, not the reaction rate density that is
of interest to the user. The volume can be set manually using the “dv” entry. If a negative
number is entered, the code uses a value calculated by the geometry routine (when available).
1
To be precise, the integration is also carried over time and space-angle, but user-defined limits can be set
for the spatial and energy variables.
95
7.1 Detector Input 96
1. The Serpent code uses the collision estimate of neutron flux, simply because the track-
length estimate is not available when delta-tracking is used for neutron transport. The
two estimates are equally well-suited for typical reactor lattice calculations, in which
the neutron source is distributed over the entire geometry. The efficiency of the colli-
sion estimator becomes poor, however, if reaction rates are calculated inside small or
optically thin volumes located in regions of low collision density. This is why the code
is not the best choice for dosimetry calculations (see Ref. [20]). On the other hand,
the use of the collision estimate requires less computational effort, especially for mesh
detectors, which is directly reflected in the overall calculation time.
The detector response function determines the type of the calculation. In the simplest case,
f = 1, and (7.1) is reduced to the neutron flux integrated over space and energy. If a reaction
cross section is used, the result is the corresponding reaction rate. It should be noted that the
absolute value of the integral depends on source normalization (see Sec. 5.8).
Table 7.2: Detector response functions. For a complete list of ENDF reaction MT’s, see
Ref. [6].
MT Reaction mode
Material total reactions 0 None
-1 Total
-2 Total capture
-3 Total elastic
-5 Total (n,2n)
-6 Total fission
-7 Total fission neutron production
-8 Total fission energy deposition
-9 Majorant
ENDF Reaction modes 1 Total
2 Elastic scattering
16 (n,2n)
17 (n,3n)
18 Total fission
19 First-chance fission
20 Second-chance fission
51 Inelastic scattering to 1st excited state
52 Inelastic scattering to 2nd excited state
...
90 Inelastic scattering to 40th excited state
91 Continuum inelastic scattering
102 (n,γ)
103 (n,p)
104 (n,d)
105 (n,t)
106 (n,3 He)
107 (n,α)
If multiple responses are defined for a detector, an equal number of bins are created for the
results. The response functions are listed in Table 7.2. Negative entries define total reaction
rates related to materials. The total cross section (mt = -1), for example, is calculated from:
Z Z Ei X
1
R= Σtot,j (r, E)φ(r, E) d3 rdE , (7.2)
V V Ei+1 j
where the summation is carried over all nuclides in the material. If the material entry is
set to void, the material at each collision point is used in the calculation. This allows the
integration of reaction rates in volumes extending over several material regions.
Positive response numbers are related to isotopic, rather than material total reaction rates,
7.1 Detector Input 98
and they correspond to the reaction MT’s used in ENDF format data. The list in Table 7.2 is
not complete and a more detailed description is found in Ref. [6]. The detector material for
an isotopic response function must consist of a single nuclide.
Detector values can be multiplied or divided by other values by setting the detector type to 2
or 3, respectively. The type is then followed by the name of the multiplier or divider detector.
The total number of values must be equal for both detectors or the divider / multiplier detector
single-valued.
EXAMPLES:
det 1 dm fuel
% Detector materials:
1. If multiple response functions are defined for a detector, an equal number of bins are
created for the results.
2. Dosimetry cross sections (type 2 or ’y’) can be used with detectors and with detectors
only.
3. The ENDF reaction MT numbers are universal and related to isotopic cross sections.
These reactions may not be used with materials consisting of more than one nuclide.
The result is multiplied by the material atomic density and microscopic reaction rates
can be calculated by setting the density to unity.
4. Some high-energy reaction modes, such as (n,3n), are excluded from the transport sim-
ulation. These modes are not available in the detector calculation either. All reaction
modes are included for dosimetry cross sections.
5. The negative MT numbers are specific to Serpent and not universally defined. The
reaction rates are calculated by summing over all nuclides in the material. MCNP also
7.1 Detector Input 99
uses some code-specific negative reaction MT’s, but the interpretations are slightly
different.
6. The fission energy deposition function defined by mt = -8 yields the total energy ab-
sorbed in the system (in J). This is not equivalent with the fission Q-value (see source
normalization in Sec. 5.8).
7. The mt’s 0, -9 and -10 are not material-specific and the entry must be set to void.
8. If the “dr” entry is omitted entirely, the result is the total flux integrated over space and
energy.
SEE ALSO:
The energy boundaries [Ei+1 Ei ] of the integration (7.1) are set by a user-defined energy
grid, linked to the detector by the “dt” entry:
The number of energy bins is defined by the grid size. There are four types of energy grids
1. arbitrarily defined
The detector energy grid is often used for calculating spectral quantities. There are three
special detector types for spectral calculations, determined by the “dt” detector type entry:
In the default mode, the bin values are independent and undivided.
EXAMPLES:
det 1 de 1 dt -3
det 2 de 1 dt -2 dr -2 void
det 3 de 1 dt -2 dr -6 void
det 4 de 1 dt -2 dr -7 void
det 5 de 1 dt -1 dr -2 void
det 6 de 1 dt -1 dr -6 void
det 7 de 1 dt -1 dr -7 void
7.1 Detector Input 101
There are five options for setting the spatial domain of the integration:
7.1 Detector Input 102
1. By defining the cell where the reaction rates are scored using the “dc” parameter.
2. By defining the universe where the reaction rates are scored using the “du” parameter.
3. By defining the material where the reaction rates are scored using the “dm” parameter.
4. By defining the lattice where the reaction rates are scored using the “dl” parameter.
5. By setting up a one-, two- or three-dimensional mesh using the “dx”, “dy” and “dz”
parameters.
All these options can be used without restrictions in various combinations. It should be
noted, however, that some combinations may result in physically impossible configurations
and produce zero results.
Detector cell, material and universe parameters all work on the same principle: the collision
is scored if it occurs inside the cell, material or universe, respectively. A separate bin is
created for each entry and the combination of different types creates a combination of bins.
The syntax is:
Fuel pin definitions are geometry macros that are converted into ordinary geometry objects
constructed using cells and surfaces. The cells in fuel pins are named using convention:
nst<np>c<nr>
<mat>p<np>r<nr>
% Combined detectors:
% Super-imposed cells:
cell 10 -1 void -1
cell 11 -1 void 1 -2
Lattice detectors
det 1
dm clad % Score in material "clad"
dl 10 % Lattice bins in lat 10
7.1 Detector Input 104
Mesh detectors
The mesh detector creates a super-imposed uniform square mesh over the geometry. The
mesh structure is given separately in x-, y- and z-directions and the input format for the
x-type is:
det 1
du 1 % Score in universe (pin) 1
dm fuel % Score in material "fuel"
dz 0.0 120.0 50 % 50 axial bins between z = 0 and z = 120 cm
det 2
dr -6 void % Multiply by total fission rate
dx -225.0 225.0 30 % 30 bins in x-direction
dy -225.0 225.0 30 % 30 bins in y-direction
det 3
de 1 % Use energy grid 1
dx -225.0 225.0 30 % 30 bins in x-direction
dy -225.0 225.0 30 % 30 bins in y-direction
dz 0.0 400.0 10 % 10 bins in z-direction
Serpent 1.1.17 and later versions have the capability to calculate neutron current through
surfaces. The syntax for the current detector is:
7.2 Detector output 105
The surface current detector was added mainly for the calculation of reflector group con-
stants, and the first implementation had some limitations with respect to boundary condi-
tions (see note below). Reflector geometries typically involve the use of partial boundary
conditions (see Sec. 5.7 on page 59), available from code version 1.1.17 on.
1. The surface current detector in version 1.1.17 cannot cope with some of the coordi-
nate transformations performed when repeated boundary conditions are applied, which
limits its use to geometries with black boundary conditions, or reflected or periodic
boundary condition perpendicular to the detector surface. This limitation was lifted in
update 1.1.18, and the most recent implementation should work in all geometry types.
The output from all detectors is printed in matlab m-file format in a single file named
“<input>_det<n>.m”, where “<input>” is the name of the input file and “<n>” is
the burnup step.
The results for each detector are written in a 13-column table, one bin value per row. The
variable is named “DET<name>.m”, where “<name>” is the detector name. The values in
each column are:
Detector volume is given in variable “DET<name>_VOL”. All results have been divided by
this number.
If an energy bin structure is defined, the corresponding bin boundaries are written in variable
“DET<name>E”. The variable has three columns:
If x-, y- or z-bins are defined, the corresponding bin boundaries are written in variables
“DET<name>X”, “DET<name>Y”, “DET<name>Z”, respectively. The variables have three
columns:
1. Some variables are missing and the names are in lower-case in the pre-release version
1.0.0 of the Serpent code (corrected in version 1.0.1).
There are a few things that need to be considered when using detectors in the burnup calcu-
lation mode. First, the output is printed in a different file for each burnup step (see previous
section). The file names are separated by the step index, which is set to zero for the initial
composition. Second, when burning materials inside pin and particle structures (see Sec.3.4
and 3.8), the materials are renamed according to pin / particle index and region number if the
material is divided into multiple depletion zones (see Sec. 8.2). The original material names
no longer exist and the new names must be used instead with the “dm” parameter.
Chapter 8
Burnup calculation
8.1 General
Serpent can be run both as a stand-alone burnup calculation code and as a part of a coupled
system. In the first case, the code uses an internal calculation routine for solving the set of
Bateman equations describing the changes in the material compositions caused by neutron-
induced reactions and radioactive decay. In the second case, the code is used as the neutronics
solver in an externally coupled system.
The additional input for burnup calculation consists of identifying the depleted materials
(Sec. 8.2) and setting up the irradiation history (Sec. 8.3). There are also some additional
parameters for determining file paths and options used by the calculation routines (Sec. 8.4).
A few simple examples are given in Sec. 8.7 and complete input listings in Sec. 11.2.
It should be noted that burnup calculations are more sensitive to small changes in the geom-
etry, materials and calculation parameters compared to a steady state simulation. The length
of burnup steps and predictor-corrector calculation (see Sec. 8.3 and Sec. 8.4) may have a
significant impact on the accumulation of certain isotopes, and especially the depletion of
burnable absorbers. In thermal systems, the build-up rate of plutonium is strongly depen-
dent on moderator conditions, such as density and the S(α, β) scattering laws (see Sec. 4.2
on Page 49). As low as a 30K difference in moderator temperature may result in over 1%
discrepancy in Pu-239 concentration at high burnup.1 Differences originating from the eval-
uated nuclear data should always be taken into account, especially for older libraries, such
as JEF-2.2 and ENDF/B-VI.
1
It should be noted that the thermal scattering data provided with the installation package is generated at
slightly different temperatures for different libraries.
108
8.2 Depleted materials 109
Depleted materials are identified by an additional “burn” entry in the material card:
The code treats depleted materials in fuel pins different from materials in ordinary cells.
Each pin type is treated separately and further divided into <nr> annular depletion zones of
equal volume. The division is important for accounting for the rim-effects caused by spatial
self-shielding. The code automatically renames the depleted pin materials using convention:
<mat>p<np>r<nr>
1. Each fuel pin type containing a depleted material is treated separately and divided into
a user-given number of annular depletion zones.
2. The separation of material regions is based on pin type, not lattice position. If similar
pins in different positions need to be treated as different materials, a new (identical)
pin type must be assigned for each position (See examples in Sec. 8.7.1 on page 117).
3. Fuel pins containing burnable absorber should always be divided into ∼10 rings in
order to account for the rim-effects caused by spatial self-shielding.
4. The current code version can only handle burnup calculation in cylindrical or spherical
material regions, such as fuel pins or HTGR micro particles.
8.3 Irradiation history 110
SEE ALSO:
The irradiation history in the independent burnup calculation mode consists of one or several
burnup intervals, defined by the “dep” card:
dep <stype>
<step 1>
<step 2>
...
Source rate normalization and soluble absorber concentration can be changed between in-
tervals by re-defining the values. The first value is used during the first burnup interval, the
second during the second interval and so on. Examples are given in Sec. 8.7.2 on page 121.
The last two options omit the transport cycle and handle only radioactive decay, which makes
the calculation run significantly faster. This mode is intended to be used for calculating
activities and inventories after the irradiation is completed. Downtime between cycles is
better handled by setting the power to zero.
2. The structure of the “dep” card is different in the early code versions (before 1.0.2).
3. The soluble absorber definition is available from version 1.0.2 on.
4. The decay mode is available from code version 1.1.10 on.
SEE ALSO:
The calculation parameters in the burnup mode are summarized in Table 8.2.
In addition to the continuous-energy cross section libraries, burnup calculation requires ra-
dioactive decay data and neutron-induced and spontaneous fission product yields. These files
are read in the raw ENDF format. The decay data library file path is set using:
8.4 Options for Burnup Calculation 112
where <file> is the file path for the ENDF format decay data library
the neutron-induced fission yield library using:
where <file> is the file path for the ENDF format fission yield library
and the spontaneous fission yield library:
where <file> is the file path for the ENDF format fission yield library
The spontaneous fission yield library is optional. If the file path is not set, the code uses
neutron-induced yields for spontaneous fission. The present code version does not model
spontaneous fission.
A default directory path can be set by defining environment variable SERPENT_DATA. The
code looks for data files in this path if not found at the absolute location.
8.4.2 Normalization
The normalization of fission source is described in Sec. 5.8 on page 61. In some burnup
calculation problems, the geometry may contain fissile materials that are not depleted, which
may also affect the source normalization. Serpent offers three options, set using:
The code automatically calculates the total fissile mass in the system, which is needed for
normalizing the reaction rates. If the calculation fails, the value can be set manually using:
where <m> is the total fissile mass in the system (in grams)
8.4 Options for Burnup Calculation 113
The Serpent code has three options and two methods for solving the Bateman equations
describing the changes in the isotopic compositions caused by neutron-induced reactions
and radioactive decay. The calculation mode is set using:
where <corr> is the flag for running the corrector step (0 = no, 1 = yes)
The method is used by default and results in a more accurate estimation of isotopic changes
during each burnup step. The drawback is that the transport cycle is repeated, which in-
creases the overall calculation time.
There are two options for calculating the isotopic one-group transmutation cross sections:
8.4.5 Cut-offs
Burnup calculation uses various cut-offs for reducing the computational effort.
Fission product yield cut-off determines which fission products are included in the calcula-
tion. The selection is based on the cumulative yield of each fp mass chain:
where <Amin> is the lightest actinide mass chain included in the calculation
<Amax> is the heaviest actinide mass chain included in the calculation
Stability cut-off:
where <lim> is the limit for cross section fraction chain cut-off
Threshold energy cut-off:
The standard output in the independent calculation mode consists of material compositions,
transmutation cross sections, activities and decay heating values. The isotopes, elements,
8.4 Options for Burnup Calculation 115
Table 8.3: Special entries in the inventory list. The list entry may consist of name or ID.
ID Name Description
201 act Actinides (Z > 89)
202 fp Fission products
204 dp Decay products below thorium in the natural actinide decay series
208 ng Noble gases (in the fission product range, helium and radon excluded)
The code has an option for writing the compositions of depleted materials in a separate output
file after each step:
where <mode> is the flag for printing material compositions (0 = no, 1 = yes)
The code produces for each step a file named “<input>.bumat<n>”, where <input>
is the name of the input file and <n> is the burnup step. The material compositions can be
used in another Serpent calculation or converted to MCNP format for validation purposes.
Decay heat production can be divided into multiple precursor groups based on the nuclide
decay constant. The syntax for the option is:
1. Decay and fission yield libraries are raw ENDF data files in ASCII format.
2. Symbolical names can be used in the inventory list from version 1.1.3 on. Elemental
and special identifiers are available from version 1.1.10 on. If the list is empty, only
material total values are printed.
3. The code looks for the daughter nuclide cross section data libraries in the ACE direc-
tory file. It is important that the directory file contains as many nuclides as possible.
4. Mode 2 (matrix exponential solution) is available and used by default from version
1.1.0 on.
5. It is important to use the predictor-corrector step in cases involving burnable absorbers.
6. The environment variable feature is available from code version 1.1.8 on.
SEE ALSO:
1. Setting up the cross section library file path (Sec. 5.4 on page 57).
2. Description of the CRAM method in Ref. [21].
The burnup calculation output in the independent calculation mode is written in Matlab m-
file format in file “<input>_dep.m”, where <input> is the name of the input file. The
variables are summarized in Table 8.4. The number of burnup steps is N and the number of
inventory nuclides I. The material-wise parameters are printed for each depleted material.
1. If the predictor-corrector method is used, the material compositions are given at the
beginning of each step. The transmutation cross sections are not equivalent with the
corrected values used for solving the depletion equations.
2. The variable names are slightly different in the pre-release version 1.0.0 of the Ser-
pent code (corrected in version 1.0.1).
3. The “lost” in the output file refers to data that is lost to undefined nuclides.
SEE ALSO:
Table 8.4: Variables in the Matlab m-format burnup calculation output file.
pin 1
UO2 0.4025
clad 0.4750
water
% --- Gd-pin:
8.7 Burnup calculation examples 118
pin 3
UO2Gd 0.4025
clad 0.4750
water
pin 4
water 0.5730
tube 0.6130
water
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 3 4 1 1 4 1 1 4 3 1 1 1 1
1 1 1 4 1 1 1 1 3 1 1 1 1 4 1 1 1
1 1 3 1 1 1 1 1 1 1 1 1 1 1 3 1 1
1 1 4 1 1 4 1 1 4 1 1 4 1 1 4 1 1
1 1 1 1 1 1 3 1 1 1 3 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 4 3 1 4 1 1 4 1 1 4 1 3 4 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 3 1 1 1 3 1 1 1 1 1 1
1 1 4 1 1 4 1 1 4 1 1 4 1 1 4 1 1
1 1 3 1 1 1 1 1 1 1 1 1 1 1 3 1 1
1 1 1 4 1 1 1 1 3 1 1 1 1 4 1 1 1
1 1 1 1 3 4 1 1 4 1 1 4 3 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
92238.09c 2.0549E-02
64154.09c 4.6173E-05
64155.09c 2.9711E-04
64156.09c 4.1355E-04
64157.09c 3.1518E-04
64158.09c 4.9786E-04
64160.09c 4.3764E-04
8016.09c 4.5243E-02
Similar case, but each lattice position treated as a separate depletion zone, taking into account
the 1/12 symmetry of the pin layout:
pin 10
UO2 0.4025
clad 0.4750
water
pin 11
UO2 0.4025
clad 0.4750
water
...
...
% --- Gd-pins:
pin 50
UO2Gd 0.4025
clad 0.4750
water
pin 51
UO2Gd 0.4025
clad 0.4750
water
pin 52
UO2Gd 0.4025
clad 0.4750
water
8.7 Burnup calculation examples 120
pin 90
water 0.5730
tube 0.6130
water
45 44 43 42 41 40 39 38 37 38 39 40 41 42 43 44 45
44 36 35 34 33 32 31 30 29 30 31 32 33 34 35 36 44
43 35 28 27 52 90 26 25 90 25 26 90 52 27 28 35 43
42 34 27 90 24 23 22 21 51 21 22 23 24 90 27 34 42
41 33 52 24 20 19 18 17 16 17 18 19 20 24 52 33 41
40 32 90 23 19 90 15 14 90 14 15 90 19 23 90 32 40
39 31 26 22 18 15 50 13 12 13 50 15 18 22 26 31 39
38 30 25 21 17 14 13 11 10 11 13 14 17 21 25 30 38
37 29 90 51 16 90 12 10 90 10 12 90 16 51 90 29 37
38 30 25 21 17 14 13 11 10 11 13 14 17 21 25 30 38
39 31 26 22 18 15 50 13 12 13 50 15 18 22 26 31 39
40 32 90 23 19 90 15 14 90 14 15 90 19 23 90 32 40
41 33 52 24 20 19 18 17 16 17 18 19 20 24 52 33 41
42 34 27 90 24 23 22 21 51 21 22 23 24 90 27 34 42
43 35 28 27 52 90 26 25 90 25 26 90 52 27 28 35 43
44 36 35 34 33 32 31 30 29 30 31 32 33 34 35 36 44
45 44 43 42 41 40 39 38 37 38 39 40 41 42 43 44 45
64160.09c 4.3764E-04
8016.09c 4.5243E-02
dep butot
0.10000
0.50000
1.00000
1.50000
2.00000
2.50000
3.00000
3.50000
4.00000
4.50000
5.00000
5.50000
6.00000
6.50000
7.00000
7.50000
8.00000
8.50000
9.00000
9.50000
10.00000
10.50000
11.00000
11.50000
12.00000
12.50000
13.00000
13.50000
14.00000
14.50000
15.00000
20.00000
25.00000
30.00000
35.00000
8.7 Burnup calculation examples 122
40.00000
Similar case with step size given and history divided into 3 irradiation intervals with cooling
period. Nuclide inventory is traced for 1000 years after the fuel is removed from the reactor:
dep bustep
0.10000
0.40000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
0.50000
dep daystep 80
8.7 Burnup calculation examples 123
dep bustep
0.50000
0.50000
0.50000
5.00000
5.00000
dep daystep 80
dep bustep
5.00000
5.00000
5.00000
dep decstep
365 % 1. year
365 % 2. year
365 % 3. year
365 % 4. year
365 % 5. year
365 % 6. year
365 % 7. year
365 % 8. year
365 % 9. year
365 % 10. year
3650 % 20. year
3650 % 30. year
8.7 Burnup calculation examples 124
9.1 General
External source simulation mode, available from version 1.1.11 on, can be used to replace the
k-eigenvalue criticality source method in sub-critical and non-multiplying systems. Instead
of performing power iterations on the fission source, all source neutrons are started from a
user-defined distribution. The calculation mode is activated by replacing the “pop” input
parameter (see Sec. 5.2 on page 53) with:
1. The calculation mode is available from version 1.1.11 on, and still very much under
development.
125
9.2 Source definition 126
The external source simulation requires one or several source definitions. A user-defined
source can also be used as the initial guess for criticality source calculations (see Sec. 5.2).
The syntax for the source definition is:
If spatial distribution is not defined, neutrons are started uniformly all over the geometry.
The sampling volume can limited by setting the boundaries in x-, y- and z-directions using:
9.2 Source definition 127
By default, all source neutrons in point and volume sources are emitted isotropically. To
define a mono-directional source, the direction vector can be set by the “sd” parameter:
Another option is to take the energy distribution from a nuclear reaction using the “sr” option:
src <name> sb <nb> <E0> <w0> <E1> <w1> ... <En> <wn>
and the energy uniformly between the bin boundaries. The energy entries correspond to the
upper boundaries of each bin, and the weight of the first bin must be set to zero. The feature
is available from version 1.1.15 on.
Source definition using default parameters – isotropic, mono-energetic 1 MeV source, uni-
formly distributed over the geometry:
src 1
% Source in cell:
src 3 sc 1
src 6 sb 5
1E-11 0.0 % Energy below 1E-11 MeV (weight must be zero)
1E-6 0.5 % Between 1E-11 and 1E-6 MeV, weight 0.5
1E-3 1.0 % Between 1E-6 and 1E-3 MeV, weight 1.0
1.0 2.0 % Between 1E-3 and 1.0 MeV, weight 2.0
20.0 1.0 % Between 1.0 and 20.0 MeV, weight 1.0
Chapter 10
Serpent has a built-in capability to visualize the neutronics in thermal systems by plotting
the fission power and thermal flux distributions in a single png graphics file. The parameters
for a reaction rate mesh plotter are defined as:
mesh <or> <nx> <ny> [ <sym> <x0> <x1> <y0> <y1> <z0> <z1> ]
If the optional coordinate boundaries are not given, the code uses the boundaries of the
defined geometry.
131
10.2 Mesh output 132
The symmetry option can be used to attain better statistics. The symmetry types are illus-
trated in Fig. 5.1 on page 63, and only options 0, 2, 4 and 8 are allowed with mesh plots. The
option is set to zero by default (no symmetry).
The colour scheme consists of “hot” shades of red and yellow, representing relative fission
power, and “cold” shades of blue, representing relative thermal flux (flux below 0.625 eV).
The normalization is fixed after the first burnup step, so changes in flux and power level can
be observed in the color schemes. Examples of reaction rate mesh plots can be found at the
Serpent website: http://montecarlo.vtt.fi/development.htm.
1. The mesh plots are subject to random noise, and the figures become smoother along
with better statistics.
2. The geometry plotter uses the GD open source graphics library [1], which must be
installed in the system.
3. The plotter produces png (portable network graphics) format output files.
SEE ALSO:
For an experienced Monte Carlo code user the easiest way to get started with Serpent is
to look at the lattice input examples in the following subsections. Installation and running
the code is described in Chapter 1 and a general description of the input syntax is given in
Chapter 2. The input cards used in the example cases include:
– Material definitions (Sec. 4.1.2 on page 48, see also Sec. 4.1.1)
133
11.1 Quick start 134
The examples describe the three main lattice types: square and hexagonal lattices and the
circular cluster array. All geometries are two-dimensional and infinite in the axial direction.
The VVER-440 example in Sec. 11.1.1 demonstrates the use of soluble absorber and the
calculation of various spectral quantities using detectors. The BWR case in Sec. 11.1.2
demonstrates the calculation of fast neutron flux (E > 1 MeV) in cladding and flow channel
walls.
A more complicated mixed UOX/MOX lattice example is given in Sec. 11.1.4. The homog-
enization is carried over the central MOX assembly, but the use of a simple infinite MOX
lattice would result in a distroted flux spectrum near the boundary between the two fuel types.
The input format is free and unrestricted. The only limitation is that command words must
be separated by one or more white space characters. Due to the universe-based approach,
similarities to MCNP input files are easy to see. To differentiate from the other examples,
the mixed lattice case in Sec. 11.1.4 is prepared following a “SCALE-style” formulation.
pin 1
void 0.08000
fuel 0.37800
void 0.38800
clad 0.45750
water
pin 2
water 0.44000
clad 0.51500
water
pin 3
water
11.1 Quick start 135
% --- Cells:
% --- Water:
set bc 3
set gcu 0
set sym 12
set nfg 2 0.625E-6
det 1 de 1 dt -3
det 2 de 1 dt -2 dr -2 void
det 3 de 1 dt -2 dr -6 void
det 4 de 1 dt -2 dr -7 void
det 5 de 1 dt -1 dr -2 void
det 6 de 1 dt -1 dr -6 void
det 7 de 1 dt -1 dr -7 void
% ------------------------------------------------------------
pin 1
fuel1 4.33500E-01
void 4.42000E-01
clad 5.02500E-01
cool
pin 2
fuel2 4.33500E-01
void 4.42000E-01
clad 5.02500E-01
cool
pin 3
fuel3 4.33500E-01
void 4.42000E-01
clad 5.02500E-01
11.1 Quick start 138
cool
pin 4
fuel4 4.33500E-01
void 4.42000E-01
clad 5.02500E-01
cool
pin 5
fuel5 4.33500E-01
void 4.42000E-01
clad 5.02500E-01
cool
pin 6
fuel6 4.33500E-01
void 4.42000E-01
clad 5.02500E-01
cool
pin 7
fuel7 4.33500E-01
void 4.42000E-01
clad 5.02500E-01
cool
pin 9
cool
92238.09c -0.84888
8016.09c -0.1185
% --- Moderator:
set bc 2
set gcu 0
set sym 4
set nfg 4 0.625E-6 5.5E-3 0.821
ene 1 1 1.0 20
det 1
de 1 % Use energy grid 1
dm clad % Score in material "clad"
dv 16.3361 % Volume for normalization
det 2
11.1 Quick start 142
det 3
de 1 % Use energy grid 1
dc 2 % Score in cell 2
dv 0.96134 % Volume for normalization
det 4
de 1 % Use energy grid 1
dc 4 % Score in cell 4
dv 12.5396 % Volume for normalization
% ------------------------------------------------------------
pin 1
fuel 0.6122
clad 0.6540
cool
% --- Cells:
% --- Cladding:
set bc 3
set gcu 0
set sym 2
set nfg 4 0.625E-6 5.5E-3 0.821
% ------------------------------------------------------------
11.1 Quick start 145
% ------------------------------------------------------------
24000.06c 7.0720E-05
8016.06c 2.8740E-04
% ------------------------------------------------------------
set bc 3
% ------------------------------------------------------------
pin 1
UO2 0.41260
can 0.47400
water
11.1 Quick start 148
pin 2
water 0.57100
can 0.61300
water
pin 3
MOX1 0.41260
can 0.47400
water
pin 4
MOX2 0.41260
can 0.47400
water
pin 5
MOX3 0.41260
can 0.47400
water
% ------------------------------------------------------------
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 2 1 1 2 1 1 2 1 1 1 1 1
1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 2 1 1 2 1 1 2 1 1 2 1 1 2 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 2 1 1 2 1 1 2 1 1 2 1 1 2 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 2 1 1 2 1 1 2 1 1 2 1 1 2 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 1
1 1 1 1 1 2 1 1 2 1 1 2 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 3
3 4 4 4 4 2 4 4 2 4 4 2 4 4 4 4 3
3 4 4 2 4 5 5 5 5 5 5 5 4 2 4 4 3
3 4 4 4 5 5 5 5 5 5 5 5 5 4 4 4 3
3 4 2 5 5 2 5 5 2 5 5 2 5 5 2 4 3
3 4 4 5 5 5 5 5 5 5 5 5 5 5 4 4 3
3 4 4 5 5 5 5 5 5 5 5 5 5 5 4 4 3
3 4 2 5 5 2 5 5 2 5 5 2 5 5 2 4 3
3 4 4 5 5 5 5 5 5 5 5 5 5 5 4 4 3
3 4 4 5 5 5 5 5 5 5 5 5 5 5 4 4 3
3 4 2 5 5 2 5 5 2 5 5 2 5 5 2 4 3
3 4 4 4 5 5 5 5 5 5 5 5 5 4 4 4 3
3 4 4 2 4 5 5 5 5 5 5 5 4 2 4 4 3
3 4 4 4 4 2 4 4 2 4 4 2 4 4 4 4 3
3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 3
3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
% ------------------------------------------------------------
% ------------------------------------------------------------
pin 1
fuel 0.412
clad 0.475
water
% --- Geometry:
cell 1 0 fill 1 -1
cell 2 0 outside 1
6012.09c 9.13357E+18
7014.09c 1.04072E+19
8016.09c 4.48178E+22
set bc 3
set gcu 0
set sym 12
set nfg 2 0.625E-6
% --- Cut-offs:
dep butot
0.1
0.5
1
5
10
15
20
25
30
35
40
set inventory
922340
922350
922360
922380
932370
942380
942390
942400
942410
942420
952410
952430
420990
430990
441010
451030
471090
551330
621470
621490
621500
621510
621520
601430
601450
631530
641550
% ------------------------------------------------------------
pin 10
UO2 0.4025
clad 0.4750
water
pin 11
UO2 0.4025
clad 0.4750
11.2 Burnup calculation examples 154
water
pin 12
UO2 0.4025
clad 0.4750
water
pin 13
UO2 0.4025
clad 0.4750
water
pin 14
UO2 0.4025
clad 0.4750
water
pin 15
UO2 0.4025
clad 0.4750
water
pin 16
UO2 0.4025
clad 0.4750
water
pin 17
UO2 0.4025
clad 0.4750
water
pin 18
UO2 0.4025
clad 0.4750
water
pin 19
UO2 0.4025
clad 0.4750
water
pin 20
UO2 0.4025
clad 0.4750
water
pin 21
11.2 Burnup calculation examples 155
UO2 0.4025
clad 0.4750
water
pin 22
UO2 0.4025
clad 0.4750
water
pin 23
UO2 0.4025
clad 0.4750
water
pin 24
UO2 0.4025
clad 0.4750
water
pin 25
UO2 0.4025
clad 0.4750
water
pin 26
UO2 0.4025
clad 0.4750
water
pin 27
UO2 0.4025
clad 0.4750
water
pin 28
UO2 0.4025
clad 0.4750
water
pin 29
UO2 0.4025
clad 0.4750
water
pin 30
UO2 0.4025
clad 0.4750
water
11.2 Burnup calculation examples 156
pin 31
UO2 0.4025
clad 0.4750
water
pin 32
UO2 0.4025
clad 0.4750
water
pin 33
UO2 0.4025
clad 0.4750
water
pin 34
UO2 0.4025
clad 0.4750
water
pin 35
UO2 0.4025
clad 0.4750
water
pin 36
UO2 0.4025
clad 0.4750
water
pin 37
UO2 0.4025
clad 0.4750
water
pin 38
UO2 0.4025
clad 0.4750
water
pin 39
UO2 0.4025
clad 0.4750
water
pin 40
UO2 0.4025
11.2 Burnup calculation examples 157
clad 0.4750
water
pin 41
UO2 0.4025
clad 0.4750
water
pin 42
UO2 0.4025
clad 0.4750
water
pin 43
UO2 0.4025
clad 0.4750
water
pin 44
UO2 0.4025
clad 0.4750
water
pin 45
UO2 0.4025
clad 0.4750
water
% --- Gd-pins:
pin 50
UO2Gd 0.4025
clad 0.4750
water
pin 51
UO2Gd 0.4025
clad 0.4750
water
pin 52
UO2Gd 0.4025
clad 0.4750
water
pin 90
11.2 Burnup calculation examples 158
water 0.5730
tube 0.6130
water
45 44 43 42 41 40 39 38 37 38 39 40 41 42 43 44 45
44 36 35 34 33 32 31 30 29 30 31 32 33 34 35 36 44
43 35 28 27 52 90 26 25 90 25 26 90 52 27 28 35 43
42 34 27 90 24 23 22 21 51 21 22 23 24 90 27 34 42
41 33 52 24 20 19 18 17 16 17 18 19 20 24 52 33 41
40 32 90 23 19 90 15 14 90 14 15 90 19 23 90 32 40
39 31 26 22 18 15 50 13 12 13 50 15 18 22 26 31 39
38 30 25 21 17 14 13 11 10 11 13 14 17 21 25 30 38
37 29 90 51 16 90 12 10 90 10 12 90 16 51 90 29 37
38 30 25 21 17 14 13 11 10 11 13 14 17 21 25 30 38
39 31 26 22 18 15 50 13 12 13 50 15 18 22 26 31 39
40 32 90 23 19 90 15 14 90 14 15 90 19 23 90 32 40
41 33 52 24 20 19 18 17 16 17 18 19 20 24 52 33 41
42 34 27 90 24 23 22 21 51 21 22 23 24 90 27 34 42
43 35 28 27 52 90 26 25 90 25 26 90 52 27 28 35 43
44 36 35 34 33 32 31 30 29 30 31 32 33 34 35 36 44
45 44 43 42 41 40 39 38 37 38 39 40 41 42 43 44 45
% --- Materials:
64155.09c 2.9711E-04
64156.09c 4.1355E-04
64157.09c 3.1518E-04
64158.09c 4.9786E-04
64160.09c 4.3764E-04
8016.09c 4.5243E-02
set bc 3
% --- Cut-offs:
dep butot
0.10000
0.50000
1.00000
1.50000
2.00000
2.50000
3.00000
3.50000
4.00000
4.50000
5.00000
5.50000
6.00000
6.50000
7.00000
7.50000
8.00000
8.50000
9.00000
9.50000
10.00000
10.50000
11.00000
11.50000
12.00000
12.50000
13.00000
13.50000
11.2 Burnup calculation examples 161
14.00000
14.50000
15.00000
17.50000
20.00000
22.50000
25.00000
27.50000
30.00000
32.50000
35.00000
37.50000
40.00000
set inventory
922340
922350
922360
922370
922380
922390
932360
932370
932380
932390
942360
942380
942390
942400
942410
942420
942430
952410
952420
952430
952440
952421
962420
962430
962440
962450
962460
962470
962480
962490
972490
972500
982490
982500
982510
982520
360830
451030
451050
471090
531350
541310
541350
551330
551340
551350
551370
561400
571400
601430
601450
611470
611480
611490
611481
621470
621490
621500
621510
621520
631530
631540
631550
631560
641520
641540
641550
641560
641570
641600
% ------------------------------------------------------------
162
Bibliography
[2] S. M. Girard, editor. MCNP – A General Monte Carlo N-Particle Transport Code,
Version 5 Volume I: Overview and Theory. LA-UR-03-1987. Los Alamos National
Laboratory, 2003.
[5] R. E. MacFarlane and D. W. Muir. The NJOY Nuclear Data Processing System.
LA-12740-M. Los Alamos National Laboratory, 1994.
[6] V. McLane, editor. ENDF-102, Data Formats and Procedures for the Evaluated
Nuclear Data File ENDF-6. BNL-NCS-44945-01/04-Rev. Brookhaven National
Laboratory, 2001.
[7] N. Messaoudi and B.-C. Na. VENUS-2 MOX-fuelled Reactor Dosimetry Calculations,
Final Report. NEA/NSC/DOC(2005)22. OECD/NEA, 2004.
[8] J. Leppänen. Randomly Dispersed Particle Fuel Model in the PSG Monte Carlo
Neutron Transport Code. In Proc. Joint International Topical Meeting on
Mathematics & Computation and Supercomputing in Nuclear Applications (M&C +
SNA 2007). Monterey, California, April 15–19 2007.
[9] F. Brown et al. MCNP Calculations for the OECD/NEA Source Convergence
Benchmarks for Criticality Safety Analysis. LA-UR-01-5181. Los Alamos National
Laboratory, 2001.
[10] J. Ueki and F. B. Brown. Stationarity and Source Convergence in Monte Carlo
Criticality Calculation. LA-UR-02-6228. Los Alamos National Laboratory, 2002.
163
[13] The NEA Expert Group on Source Convergence in Criticality-Safety Analysis. URL
www.nea.fr/html/science/wpncs/convergence/, Reviewed March
2007.
[14] F. B. Brown. On the Use of Shannon Entropy of the Fission Distribution for Assessing
Convergence of Monte Carlo Criticality Calculations. In Proc. PHYSOR-2006
American Nuclear Society’s Topical Meeting on Reactor Physics Organized and
hosted by the Canadian Nuclear Society. Vancouver, BC, Canada, Sept. 10–14 2006.
[15] J. Leppänen. Development of a New Monte Carlo Monte Carlo Reactor Physics Code.
D.Sc. thesis, Helsinki University of Technology, 2007. VTT Publications 640.
[16] J. Leppänen. Two practical methods for unionized energy grid construction in
continuous-energy Monte Carlo neutron transport calculation. Ann. Nucl. Energy, 36
(2009) 878–885.
[17] B. Becker, R. Dagan and G. Lochnert. Proof and implementation of the stochastic
formula for ideal gas, energy dependent scattering kernel. Ann. Nucl. Energy, 36
(2009) 470–474.
[19] D. E. Cullen et al. Static and Dynamic Criticality: Are They Different?
UCRL-TR-201506. Lawrence Livermore National Laboratory, 2003.
[20] J. Leppänen. Current Status of the PSG Monte Carlo Neutron Transport Code. In
Proc. PHYSOR-2006 American Nuclear Society’s Topical Meeting on Reactor Physics
Organized and hosted by the Canadian Nuclear Society. Vancouver, BC, Canada,
Sept. 10–14 2006.
[21] M. Pusa and J. Leppänen. Computing the Matrix Exponential in Burnup Calculations.
Nucl. Sci. Eng., 164 (2010) 140–150.
164