PENELOPE 2003 - OECD Nuclear Energy Agency
PENELOPE 2003 - OECD Nuclear Energy Agency
PENELOPE 2003 - OECD Nuclear Energy Agency
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
178 Chapter 6. Structure and operation of the code system<br />
they are mostly intended to illustrate the use of the simulation routines, they do allow<br />
studying many cases of practical interest. The complete program system is written in<br />
fortran77 (ANSI/ISO standard form) and, therefore, it should run on any platform<br />
with a fortran77 or fortran90 compiler.<br />
6.1 penelope<br />
penelope simulates coupled electron-photon transport in arbitrary material systems<br />
consisting of a number of homogeneous regions (bodies) limited by sharp (and passive)<br />
interfaces. Initially, it was devised to simulate the PENetration and <strong>Energy</strong> LOss of<br />
Positrons and Electrons in matter; photons were introduced later. The adopted interaction<br />
models (chapters 2-4), and the associated databases, allow the simulation of<br />
electron/positron and photon transport in the energy range from 100 eV to 1 GeV.<br />
It should be borne in mind that our approximate interaction models become less<br />
accurate when the energy of the transported radiation decreases. Actually, for energies<br />
below ∼1 keV, the DCSs are not well known, mostly because they are strongly<br />
affected by the state of aggregation. On the other hand, for electrons and positrons,<br />
the trajectory picture ceases to be applicable (because coherent scattering from multiple<br />
centers becomes appreciable) when the de Broglie wavelength, λ B = (150 eV/E) 1/2 Å,<br />
is similar to or greater than the interatomic spacing (∼ 1 Å). Therefore, results from<br />
simulations with penelope (or with any other Monte Carlo trajectory code) for energies<br />
below 1 keV or so, should be considered to have only a qualitative (or, at most,<br />
semi-quantitative) value. We recall also that, for elements with intermediate and high<br />
atomic numbers, secondary characteristic photons with energies less than the M-shell<br />
absorption edge are not simulated by penelope. This sets a lower limit to the energy<br />
range for which the simulation is faithful.<br />
The source file <strong>PENELOPE</strong>.F (about 8000 lines of fortran code) consists of four<br />
blocks of subprograms, namely, preparatory calculations and I/O routines, interaction<br />
simulation procedures, numerical routines and transport routines. Only the latter are<br />
invoked from the MAIN program. The interaction simulation routines implement the<br />
theory and algorithms described in chapters 2 and 3. Although the interaction routines<br />
are not called from the MAIN program, there are good reasons to have them properly<br />
identified. Firstly, these are the code pieces to be modified to incorporate better physics<br />
(when available) and, secondly, some of these subroutines deliver numerical values of<br />
the DCSs (which can be useful to apply certain variance reduction techniques). To have<br />
these routines organized, we have named them according to the following convention:<br />
• The first letter indicates the particle (E for electrons, P for positrons, G for photons).<br />
• The second and third letters denote the interaction mechanism (EL for elastic, IN for<br />
inelastic, BR for bremsstrahlung, AN for annihilation, RA for Rayleigh, CO for Compton,<br />
PH for photoelectric and PP for pair production).<br />
• The random sampling routines have three-letter names. Auxiliary routines, which<br />
perform specific calculations, have longer names, with the fourth and subsequent letters