论文标题
Pyg4metry:用于创建Monte Carlo辐射运输物理几何形状的Python库
PYG4OMETRY: a Python library for the creation of Monte Carlo radiation transport physical geometries
论文作者
论文摘要
创建和维护用于蒙特卡洛辐射传输(MCRT)模拟的计算机可读几何形状是一项容易出错且耗时的任务。模拟系统通常需要来自不同来源和建模环境的几何形状,包括一系列MCRT代码和计算机辅助设计(CAD)工具。 Pyg4metry是一个Python库,使用户能够快速创建,操纵,显示,读取和编写几何描述标记语言(GDML)基于模拟中使用的几何形状。 PYG4的测定法将CAD文件的导入到GDML镶嵌固体,GDML几何形状转换为Fluka,并从Fluka转换为GDML。详细说明了PYG4测量法的实施以及较小的例子。本文以一个完整的示例结束了使用大多数PYG4的特征以及对扩展和未来工作的讨论。
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, read and write Geometry Description Markup Language (GDML)-based geometry used in 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 along with small examples. The paper concludes with a complete example using most of the PYG4OMETRY features and a discussion of extensions and future work.