AUTHOR=Qiu Y. TITLE=New CAD modeling approach in Geant4 with half-space CSG JOURNAL=Frontiers in Nuclear Engineering VOLUME=3 YEAR=2024 URL=https://www.frontiersin.org/journals/nuclear-engineering/articles/10.3389/fnuen.2024.1400482 DOI=10.3389/fnuen.2024.1400482 ISSN=2813-3412 ABSTRACT=

Geant4 offers constructive solid geometry (CSG) for modeling detector geometries, but representing intricate computer-aided design (CAD) structures can be cumbersome. This article presents a novel approach that overcomes this limitation. A new CSG solid type called “half-space solid” enables the equivalent representation of complex CAD solids within Geant4. An automatic program utilizes optimized decomposition algorithms to convert CAD solids into half-space solids. The geometry description markup language (GDML) has been extended to accommodate the half-space solid type alongside the development of interfaces for exporting converted geometries and their subsequent import into Geant4. These advancements establish a fully automated workflow for converting CAD geometries into CSG-based representations suitable for Geant4 simulations. The reliability of the half-space solid-based modeling approach has been verified through comparisons with established Geant4 solids for both simple shapes and a complex fusion reactor model. The excellent agreement obtained from these comparisons demonstrates the efficiency of this new approach.