Allen CDNE

Computational Design in Nuclear Engineering · Allen

Download the PDF

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

Download the PDF

Chapter 4 · The Monte Carlo Method for Transport

Introduction to the Monte Carlo Technique

On this page

Chapter 4 · 1 / 55 min readPDF page 103

One continuous section of the book; read it straight through.

Naturally occurring events are subject to random processes. Given enough data about the probability of occurrences, these events can be predicted using a computer code. A Monte Carlo code is one that mimics a randomly occurring event using the probability distributions associated with that event. The term Monte Carlo was applied to the technique because of the history of casinos and gaming in the city in Monaco. A computer is uniquely suited to Monte Carlo methods because of its ability to do large numbers of calculations and hold enormous data files.

Suppose we set up an experiment where we had a group of individuals throw identical paper airplanes from a balcony overlooking a gymnasium floor. How far the airplane would travel and where it lands would depend on the velocity of the throw, the angle of the release, and any prevailing wind. Given a large enough sample of trials, we could begin to discover trends. For instance, a headwind could cause the distance the plane traveled to go a percentage shorter and an initial angle of attack of 30 degrees may provide the optimum glide distance. Based on a very large data set, we could measure the initial conditions and predict the result for the throw without having to actually have the person throw the plane. If we could predict the initial conditions for a large number of throws, we could predict where the group of planes would land and their distribution across the floor without launching a single one.

Figure 4.1. The flight path of a paper airplane is dependent on both the environmental effects of wind and the skill of the person throwing it. For a large data set, trends can be predicted using random processes.
Figure 4.1. The flight path of a paper airplane is dependent on both the environmental effects of wind and the skill of the person throwing it. For a large data set, trends can be predicted using random processes.

Our prediction of initial conditions would be based on the probabilities that we measured experimentally. For example, we may have observed that 1 in 10 throws was at the optimum angle of 30 degrees or that for 2 in 10 throws, there was a significant headwind. We could then have a computer pick a random number between 1 and 10 and, if it was 1, it would be scored as a launch at 30 degrees. Similarly, if another random number between 1 and 10 resulted in either a 1 or 2, it would be scored as having a headwind. Note that a random number was picked for each initial condition because they are mutually independent meaning there is the same probability of a headwind regardless of the initial angle of throw. The data set corresponding to each variable is known as the probability distribution function (PDF) . When the PDF is summed for the entire group, it results in the cumulative distribution function (CDF) which is a model of the real-world event. Note that there is an error associated with both the experimental measured data set and with the randomly generated Monte Carlo model. The amount of error in the measured data can be reduced by increasing the number of measurements. Similarly, the error in the Monte Carlo model can be reduced by increasing the number of trials. Assuming the PDFs correctly describe the individual events, the CDF’s accuracy increases as the number of trials increases.

Figure 4.2. The random walk process for a neutron born in fission. At each point along the path, a random number is chosen (dice) and applied to a probability distribution function associated with that event. The thick line is one example path of what could occur.
Figure 4.2. The random walk process for a neutron born in fission. At each point along the path, a random number is chosen (dice) and applied to a probability distribution function associated with that event. The thick line is one example path of what could occur.

As we saw in Chapter 3, the neutron transport problem is complex and a function of many variables including time, space, and energy. Although complex in a holistic sense for a flux of neutrons, each interaction for a single neutron is well-defined by a probability distribution function (PDF). The life cycle of a neutron can be tracked from birth to absorption using a series of PDFs. This is known as a “random walk process” and is presented in Figure 4.2. For example, if a neutron is born in fission, it will have an energy associated with a PDF based upon the fission spectrum. It will travel from the fission site in a PDF that represents an isotropic point source and then move a distance which is a function of its mean free path in that material. The mean free path is based on the macroscopic cross section of the material which is dependent on the neutron’s energy. The neutron will then have an interaction which will either be a scatter or an absorption (Figure 1.7). Each of the interactions has a PDF associated with the neutron energy and the material. If the neutron scatters, the angle and residual energy is based upon another PDF. Eventually, the neutron will be absorbed and will generate either a gamma particle, or a fission or some other particle. Because all the cross sections and interactions for radiation have been closely studied and measured, we can use a Monte Carlo code to walk each particle from “birth” to “death.” Figure 4.2 is an illustration of one such process. The neutron is born in fission, and, at each interaction point, the computer picks a pseudo-random number on a scale from 0 to 1 and compares the value to a PDF for that process normalized to 1.0. Where the random number falls on the PDF determines the outcome for the step in the random walk (i.e. how far the neutron travels, what energy it has, what angle it scatters into). The Monte Carlo code tracks the particle until it is absorbed and is removed from the population, or it leaves the boundary defined by the user. Radiation transport problems generally consist of very large populations with known PDFs, making them especially suited to Monte Carlo solutions.

Video for this sectionUse PowerPoint to Create Number Line Figure

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

Download the PDF