Walker, S.D. and Abramov, A. and Nevay, L.J. and Shields, W. and Boogert, S.T. (2022) Pyg4ometry : A Python library for the creation of Monte Carlo radiation transport physical geometries. Computer Physics Communications, 272: 108228. ISSN 0010-4655
Full text not available from this repository.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.