Skip to content
Open access

Multithreaded Garfield++ simulation of THGEM charging-up effects

Oct 2026 · Journal of Instrumentation · Vol 21 · 0 citations · 28 references
Physics

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.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.