Pyg4ometry: A Python library for the creation of Monte Carlo radiation transport physical geometries

Stuart Walker, Andrey Abramov, Laurence Nevay, William Shields, Stewart Boogert

Research output: Contribution to journalArticlepeer-review

168 Downloads (Pure)

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 ofPyg4ometryis 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.
Original languageEnglish
Article number108228
Number of pages14
JournalComputer Physics Communications
Volume272
Early online date13 Nov 2021
DOIs
Publication statusPublished - Mar 2022

Cite this