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 5 · Introduction to MCNP 6.2

Building the Input Deck– Tallies and Misc. Cards

On this page

Chapter 5 · 4 / 86 min readPDF page 151

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

Tally cards are cards in the Data Card section of the input that the user uses to retrieve specific information from the model. Table 5.7 lists the types of tallies in MCNP. (Shultis; 2011) The User’s Manual for MCNP describes the theory and application for all the possible tallies.

Table 5.8. Tally Types in MCNP. Particle type is given by pl.

MnemonicTally Typeparticles plFn*Fn
UnitsUnits
F1:plsurface currentN or P or N,P or E#MeV
F2:plaverage surface fluxN or P or N,P or E#/cm2^2MeV/cm2^2
F4:plaverage flux in a cellN or P or N,P or E#/cm2^2MeV/cm2^2
FMESH4:pltrack-length tally over 3D meshN or P or E#/cm2^2MeV/cm2^2
F5:plflux at a point or ringN or P#/cm2^2MeV/cm2^2
FIP5:plpin-hole flux imageN or P#/cm2^2MeV/cm2^2
FIR5:plplanar radiograph flux imageN or P#/cm2^2MeV/cm2^2
FIC5:plcylindrical radiograph flux imageN or P#/cm2^2MeV/cm2^2
F6:plenergy depositionN or P or N,PMeV/gjerks/g
F7:plfission energy deposition in a cellNMeV/gjerks/g
F8:plpulse height distribution in a cellP or E or P,EpulsesMeV

Initially in this text, we will only describe the use of the F1, F2, F4 and F5 tallies as they are the most used. We will discuss the FIR5 tally in a latter chapter when we discuss radiographic imaging. To specify a tally, at least one tally card is required with the first entry being Fn:pl. The entry n is the tally id number. The last digit determines the type of tally and pl is the type of tally so a F12:N is a F2 tally of neutrons and a F31:P is a F1 tally of photons. You can also specify a N,P for a joint tally or E for electrons. After the tally type is the name of the surface for F1 or F2 tallies or cells for F4 tallies. A F5 tally has a position for the detector.

The following descriptions and examples of surface, cell and point-detector tally cards are from An MCNP Primer by Shultis and Faw (Shultis; 2011):

Cards for Surface and Cell Tallies

The card

Input
F1:E 1 2 T $ current through a surface

specifies electron current tallies through surfaces 1 and 2, and the total (T) over both surfaces. Note that the current tally is not divided by surface area. The card

Input
F2:P 1 (1 2) (2 3 4) T $ fluence averaged over surfaces

specifies photon surface-integrated fluence tallies for surface 1, the average over surfaces 1 and 2, the average over surfaces 2 through 4, and the average (T) over all surfaces 1 through 4. Similarly, the card

Input
F4:N 1 (2 3 4) $ fluences averaged over cells

specifies cell-averaged neutron fluence tallies for cell 1 and for cells 2 through 4. No composite average is called for.

Cards for Point-Detector Tallies

For some models, there is not a cell or surface located where a tally is needed. For example, we may be interested in the flux located in the top of the reflector region in a reactor. Rather than adding a cell or surface just to do a tally, we can use a F5 point detector tally. In the sense of an experiment or a Monte Carlo calculation, as the volume of a cell approaches zero, the path length segments in the cell and the number of particles intersecting the surface of the cell also approach zero and, hence, the flux tally becomes indeterminate. However, there is a way of computing the flux at a point by using the deterministic last-flight-estimator tally F5. This tally is invoked by a card such as

Input
F75:P X Y Z R $ point detector

Here 75 is the tally number, the last digit 5 denotes the F5 tally type, and P specifies the tally is for photons. The values of X, Y, and Z specify the coordinates of the point detector, and R designates the radius of a spherical exclusion zone surrounding the detector point. The need for an exclusion zone is evident from the 1/r2^2 term in the flux contribution tallied as presented in Equation 5.1.

Equation 5.1
δΦ=W4πr2e−μ(E)r\delta\Phi=\frac{W}{4\pi r^2} e^{-\mu (E)r}

Where rr is the distance between the particle interaction site and the point detector. If rr approaches zero, the tally contribution approaches infinity. Such large contributions make the F5 tally much less stable than the cell (F4) or surface (F2) flux tally. This instability is minimized by establishing a spherical “exclusion volume” of radius R centered on the point detector. For interactions occurring within this exclusion zone, an abnormally large tally contribution is avoided by scoring the fluence uniformly averaged over the exclusion spherical surface. See the MCNP manual for a more detailed description. The exclusion radius R can be specified, as a positive number (centimeters, and is the preferred method), or a negative number (mean free paths). Typically, R should be about 0.2 to 0.5 mean free path (averaged over the energy spectrum at the sphere). For a point detector inside a void region, no interactions can occur near the detector and R should be set to zero. Finally, several point detectors may be specified on one tally card, e.g.,

Input
F5:P X1 Y1 Z1 R1 X2 Y2 Z2 R2

Optional Cards for Tally Features

Note that the value reported for the tallies we are using in MCNP is per source particle. MCNP does not have a sense of time. In order to get an appropriate value for tally of flux, for example, the user has to multiply the value reported from the F4 tally by the actual number of source particles per second in the real-world problem this will convert the given value of n particles / cm2^2 per source particle to particles/cm2⋅^2\cdots . A way to scale the value for the tally within MCNP to use a FMn card which is a tally multiplier. The value n corresponds to the tally id. For example:

Input
F4:N 1 (2 3 4) $ fluences averaged over cells
 Fm4 4.1E10

In this case, the values from the F4 tally will be multiplied by a constant given as 4×10104 \times 10^{10}. We can also use a tally energy card to divide the output into bins based on the energy of the particles being counted. For example,

Input
F24:N 1 (2 3 4) $ fluences averaged over cells E24  0.01 0.1  1.0  10.0 $ energy bin boundaries

In this case, the values from the F4 tally will be binned into four energy groups where the values 0.01, 0.1, 1.0, and 10.0 are the upper limits of the energy bins in MeV.

Another useful option for tallies is the tally comment card (FCn) which allows the user to add a comment to the output file. This is different than a typical comment which is only in the input file. We will use the tally comment card in our first example problem.

Other Required Input for Data Cards

Two other cards are required in the Data Card section in order for the input description to be complete. The first is the MODE card. This card specifies the type of source particles to be tracked. It can be either a MODE P or MODE N or MODE E or a combination such as a MODE N P. The second is the NPS card which specifies the number of particle histories to run. This card will tell MCNP when to finish the run. It will not be used in KCODE problem as the KCODE will finish when the specified number of active cycles is reached.

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