PENGEOM - A general-purpose geometry package for Monte Carlo simulation of radiation transport in material systems defined by quadric surfaces

Abstract The Fortran subroutine package pengeom provides a complete set of tools to handle quadric geometries in Monte Carlo simulations of radiation transport. The material structure where radiation propagates is assumed to consist of homogeneous bodies limited by quadric surfaces. The pengeom subroutines (a subset of the penelope code) track particles through the material structure, independently of the details of the physics models adopted to describe the interactions. Although these subroutines are designed for detailed simulations of photon and electron transport, where all individual interactions are simulated sequentially, they can also be used in mixed (class II) schemes for simulating the transport of high-energy charged particles, where the effect of soft interactions is described by the random-hinge method. The definition of the geometry and the details of the tracking algorithm are tailored to optimize simulation speed. The use of fuzzy quadric surfaces minimizes the impact of round-off errors. The provided software includes a Java graphical user interface for editing and debugging the geometry definition file and for visualizing the material structure. Images of the structure are generated by using the tracking subroutines and, hence, they describe the geometry actually passed to the simulation code. Program summary Program title: Pengeom Catalogue identifier: AEYH_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AEYH_v1_0.html Program obtainable from: CPC Program Library, Queen’s University, Belfast, N. Ireland Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html No. of lines in distributed program, including test data, etc.: 89390 No. of bytes in distributed program, including test data, etc.: 5062646 Distribution format: tar.gz Programming language: Fortran, Java. Computer: PC with Java Runtime Environment installed. Operating system: Windows, Linux. RAM: 210 MiB Classification: 21.1, 14. Nature of problem: The Fortran subroutines perform all geometry operations in Monte Carlo simulations of radiation transport with arbitrary interaction models. They track particles through material systems consisting of homogeneous bodies limited by quadric surfaces. Particles are moved in steps (free flights) of a given length, which is dictated by the simulation program, and are halted when they cross an interface between media of different compositions or when they enter selected bodies. Solution method: The pengeom subroutines are tailored to optimize simulation speed and accuracy. Fast tracking is accomplished by the use of quadric surfaces, which facilitate the calculation of ray intersections, and of modules (connected volumes limited by quadric surfaces) organized in a hierarchical structure. Optimal accuracy is obtained by considering fuzzy surfaces, with the aid of a simple algorithm that keeps control of multiple intersections of a ray and a surface. The Java GUI PenGeomJar provides a geometry toolbox; it allows building and debugging the geometry definition file, as well as visualizing the resulting geometry in two and three dimensions. Restrictions: By default pengeom can handle systems with up to 5000 bodies and 10,000 surfaces. These numbers can be increased by editing the Fortran source file. Unusual features: All geometrical operations are performed internally. The connection between the steering main program and the tracking routines is through a Fortran module, which contains the state variables of the transported particle, and the input-output arguments of the subroutine step. Rendering of two- and three-dimensional images is performed by using the pengeom subroutines, so that displayed images correspond to the definitions passed to the simulation program. Additional comments: Java editor and viewer (PenGeomJar), geometry examples, translator to POV-Ray™ format, detailed manual. The Fortran subroutine package pengeom is part of the penelope code system [1]. Running time: The running time much depends on the complexity of the material system. The most complicated example provided, phantom, an anthropomorphic phantom, has 264 surfaces and 169 bodies and modules, with different levels of grouping; the largest module contains 51 daughters. The rendering of a 3D image of phantom with 1680x1050 pixels takes about 25 s (i.e., about 1.5⋅10 −5 seconds per ray) on an Intel Core I7-3520M CPU, with Windows 7 and subroutines compiled with gfortran. References: [1] F. Salvat, PENELOPE-2014: A Code System for Monte Carlo Simulation of Electron and Photon Transport, OECD/NEA Data Bank, Issy-les-Moulineaux, France, 2015. Available from http://www.nea.fr/lists/penelope.html .

[1]  I. Kawrakow,et al.  The EGSnrc Code System: Monte Carlo Simulation of Electron and Photon Transport , 2016 .

[2]  A. Dell'Acqua,et al.  Geant4 - A simulation toolkit , 2003 .

[3]  K. Eckerman,et al.  Absorbed Fractions for Electron and Photon Emissions in the Developing Thyroid: Fetus to Five Years Old , 1998 .

[4]  X. Xu,et al.  Deformable adult human phantoms for radiation protection dosimetry: anthropometric data representing size distributions of adult worker populations and software algorithms , 2010, Physics in medicine and biology.

[5]  Martin J. Berger,et al.  ETRAN — Experimental Benchmarks , 1988 .

[6]  J. Baró,et al.  PENELOPE: An algorithm for Monte Carlo simulation of the penetration and energy loss of electrons and positrons in matter , 1995 .

[7]  Yoshihito Namito,et al.  The EGS5 code system , 2005 .

[8]  Donald Meagher,et al.  Geometric modeling using octree encoding , 1982, Computer Graphics and Image Processing.

[9]  Z. Ding,et al.  Monte Carlo modelling of electron-solid interactions , 1992 .

[10]  K. F. Eckerman,et al.  Specific absorbed fractions of energy at various ages from internal photon sources: 6, Newborn , 1987 .

[11]  S. Seltzer Applications of ETRAN Monte Carlo Codes , 1988 .

[12]  A. Walker,et al.  Monte Carlo simulation of the transport of fast electrons and positrons in solids , 1993 .

[13]  J. Sempau,et al.  PENELOPE-2006: A Code System for Monte Carlo Simulation of Electron and Photon Transport , 2009 .

[14]  A. Ferrari,et al.  FLUKA: A Multi-Particle Transport Code , 2005 .

[15]  F. Salvat A generic algorithm for Monte Carlo simulation of proton transport , 2013 .

[16]  D. Rogers,et al.  EGS4 code system , 1985 .

[17]  K. Eckerman,et al.  Modifications to the ORNL Phantom Series in Simulation of the Responses of Thyroid Detectors , 1998 .

[18]  G. D. Valdez,et al.  ITS: the integrated TIGER series of electron/photon transport codes-Version 3.0 , 1991, Conference Record of the 1991 IEEE Nuclear Science Symposium and Medical Imaging Conference.

[19]  A. R. Edmonds Angular Momentum in Quantum Mechanics , 1957 .

[20]  Stephen M. Seltzer,et al.  An Overview of ETRAN Monte Carlo Methods , 1988 .

[21]  A M Lallena,et al.  Monte Carlo calculation of specific absorbed fractions: variance reduction techniques , 2015, Physics in medicine and biology.

[22]  David Liljequist,et al.  Monte Carlo simulation of 0.1–100 keV electron and positron transport in solids using optical data and partial wave methods , 1996 .

[23]  Andrew S. Glassner,et al.  Space subdivision for fast ray tracing , 1984, IEEE Computer Graphics and Applications.

[24]  C. Powell,et al.  Monte Carlo strategies for simulations of electron backscattering from surfaces , 2005 .

[25]  F A Cucinotta,et al.  Monte Carlo track structure for radiation biology and space applications. , 2001, Physica medica : PM : an international journal devoted to the applications of physics to medicine and biology : official journal of the Italian Association of Biomedical Physics.

[26]  W E Bolch,et al.  MIRD Pamphlet No. 15: Radionuclide S values in a revised dosimetric model of the adult head and brain. Medical Internal Radiation Dose. , 1999, Journal of nuclear medicine : official publication, Society of Nuclear Medicine.

[27]  F. Salvat,et al.  Improved electron transport mechanics in the PENELOPE Monte-Carlo model , 2001 .

[28]  W E Bolch,et al.  A revised dosimetric model of the adult head and brain. , 1996, Journal of nuclear medicine : official publication, Society of Nuclear Medicine.

[29]  Dapor,et al.  Monte Carlo simulation of backscattered electrons and energy from thick targets and surface films. , 1992, Physical review. B, Condensed matter.

[30]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[31]  José M. Fernández-Varea,et al.  On the theory and simulation of multiple elastic scattering of electrons , 1993 .

[32]  Nicholas W. M. Ritchie,et al.  A new Monte Carlo application for complex sample geometries , 2005 .

[33]  Raynald Gauvin,et al.  Win X-ray: A New Monte Carlo Program that Computes X-ray Spectra Obtained with a Scanning Electron Microscope , 2005, Microscopy and Microanalysis.

[34]  W. Werner Electron transport in solids for quantitative surface analysis , 2001 .

[35]  K. F. Eckerman,et al.  Specific absorbed fractions of energy at various ages from internal photon sources: 2, One-year-old , 1987 .

[36]  S. Incerti,et al.  Geant4 developments and applications , 2006, IEEE Transactions on Nuclear Science.

[37]  W. Nelson,et al.  Monte Carlo Transport of Electrons and Photons , 1988 .

[38]  Thomas William Laub,et al.  ITS Version 3.0: The Integrated TIGER Series of coupled electron/photon Monte Carlo transport codes , 2008 .

[39]  Iwan Kawrakow,et al.  On the condensed history technique for electron transport , 1998 .