Multithreaded Garfield++ simulation of THGEM charging-up effects

Authors:

Abstract
Garfield++ is a toolkit primarily developed for Monte Carlo particle transport simulations in gases and semiconductors. However, charging-up simulations require repeated field-update iterations and high-statistics electron-avalanche simulations, resulting in a high computational cost. To improve the simulation efficiency, this work develops a multithreaded Garfield++ framework for multi-core CPUs and applies it to Thick Gas Electron Multiplier (THGEM) gain-evolution simulations under fixed geometry and operating conditions. The electrostatic field calculated with COMSOL is coupled to Garfield++ for microscopic electron-avalanche transport. This work focuses on electron avalanches initiated by single primary electrons. These electron avalanches are simulated in parallel and dynamically assigned to worker threads. A thread-safe simulation strategy and deferred I/O merging are adopted to preserve statistical consistency and reduce synchronization overhead. Compared with the single-thread calculation, the 32-thread configuration achieves a speedup of about 17.92. The framework is further used to simulate the THGEM charging-up process and capture the characteristic gain-decrease and stabilization trend. This work provides an efficient acceleration approach for Garfield++-based charging-up simulations and can be extended to other micropattern gaseous detectors.

This publication has 24 references indexed in Scilit: