1. Pyg4ometry:A Python library for the creation of Monte Carlo radiation transport physical geometries
- Author
-
Walker, S.D., Abramov, A., Nevay, L.J., Shields, W., Boogert, S.T., Walker, S.D., Abramov, A., Nevay, L.J., Shields, W., and Boogert, S.T.
- Abstract
Creating and maintaining computer-readable geometries for use in Monte Carlo Radiation Transport (MCRT) simulations is an error-prone and time-consuming task. Simulating a system often requires geometry from different sources and modelling environments, including a range of MCRT codes and computer-aided design (CAD) tools. Pyg4ometry is a Python library that enables users to rapidly create, manipulate, display, debug, read, and write Geometry Description Markup Language (GDML)-based geometry used in MCRT simulations. Pyg4ometry provides importation of CAD files to GDML tessellated solids, conversion of GDML geometry to FLUKA and conversely from FLUKA to GDML. The implementation of Pyg4ometry is explained in detail in this paper and includes a number of small examples to demonstrate some of its capabilities. The paper concludes with a complete example using most of Pyg4ometry's features and a discussion of possible extensions and future work.
- Published
- 2022