Frontiers in Nuclear Engineering (Aug 2024)

New CAD modeling approach in Geant4 with half-space CSG

  • Y. Qiu

DOI
https://doi.org/10.3389/fnuen.2024.1400482
Journal volume & issue
Vol. 3

Abstract

Read online

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.

Keywords