Search arXivSearch

arXiv · 2412.02414

Goupil: A Monte Carlo engine for the backward transport of low-energy gamma-rays

Abstract

Goupil is a software library designed for the Monte Carlo transport of low-energy gamma-rays, such as those emitted from radioactive isotopes. The library is distributed as a Python module. It implements a dedicated backward sampling algorithm that is highly effective for geometries where the source size largely exceeds the detector size. When used in conjunction with a conventional Monte Carlo engine (i.e., Geant), the response of a scintillation detector to gamma-active radio-isotopes scattered over the environment is accurately simulated (to the nearest percent) while achieving events rates of a few kHz (with a ~2.3 GHz CPU).

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Valentin Niess, Kinson Vernet, Luca Terray. 2025-05-19. Goupil: A Monte Carlo engine for the backward transport of low-energy gamma-rays. https://doi.org/10.1016/j.cpc.2025.109653

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Agentic Porting, Construction and Initial Verification and Validation of Libraries within the Open Source Unified TRAnsient Multi-Physics Advanced Reactor simulation Kit (Outram Park) Part II: Nuclear Data and Neutronics

An agentic Rust port of both Njoy and OpenMC components was attempted to produce a convenient ENDF to Monte Carlo simulation pipeline in Outram Park. The code is still a prototype with more extensive verification and validation studies required in future studies. For initial verification work, Doppler-broadened cross sections of U-238 are demonstrated in this paper and compared to OpenMC pre-generated HDF5 files. Additionally, initial testing of the Monte Carlo ports from OpenMC were also performed with ICSBEP benchmarks and a FHR Pebble with TRISO Fuel used in the author's PhD dissertation. The addition of nuclear data and Monte Carlo case studies shifts the focus of Outram Park from a Multi-Phase simulation kit to a Multi-Physics simulation kit.

physics.comp-ph

MLegS: A modern mapped Legendre spectral method solver for unbounded domains with parallelization

MLegS is an open-source Modern Fortran code package for solving linear and nonlinear time-dependent partial differential equations on radially unbounded domains. It builds on an earlier in-house prototype, recasting it as a modular solver with a unified interface for fields, transforms, and spectral operators. Within this framework, the numerical formulation maps $0\leq r<\infty$ onto a finite interval, where associated Legendre functions provide the radial basis, while Fourier series represent the periodic azimuthal and axial directions. The mapped radial basis represents radial infinity without imposing an artificial boundary condition at finite radius while incorporating the regularity required at $r=0$ according to azimuthal order. The implementation distributes the corresponding field layouts using the Message-Passing Interface (MPI), with strong- and weak-scaling measurements extending to 512 cores across four compute nodes. Beyond parallel performance, three examples assess the solver across diffusion, reaction-diffusion, and vortex dynamics: closed-form diffusion solutions establish spectral spatial convergence and the design orders of both semi-implicit integrators; a Fisher-Kolmogorov-Petrovsky-Piskunov front matches the linearized solution and propagates at the classical speed within its logarithmic correction; and vortex-pair simulations based on toroidal-poloidal decomposition yield a measured Crow growth rate $2.7\%$ above the theoretical prediction and demonstrate the reconnection of the vortex pair.

physics.comp-ph

A consistent and conservative Phase-Field method for compressible multiphase flows with the six-equation model

In the present study, the consistent and conservative Phase-Field method is extended to the six-equation model for compressible multiphase flows. Based solely on the conservation laws and the second law of thermodynamics, the six-equation model with the Phase-Field mechanism is first derived. In addition to satisfying Galilean invariance and consistency of reduction, the model is general to admit an arbitrary number of phases with different formulations of the Phase-Field mechanism. The isobaric closure by the pressure relaxation and the incompressible limit of the proposed model are analyzed. The derivation and analysis identify additional terms arising from the Phase-Field mechanism, which are absent from previous studies. The consistent and conservative numerical approach is adapted to the proposed six-equation model with moderate modifications, retaining the interfacial equilibrium condition, conservation, and flexibility and robustness of incorporating different formulations of the Phase-Field mechanism with bound preservation. As the new component of solving the six-equation model, both the pressure and pressure-temperature relaxations are theoretically analyzed in a general multiphase setup, with a proof of the existence and uniqueness of a thermodynamically admissible solution for these two relaxations. Various two-phase compressible flow benchmarks are performed to demonstrate the method, and good agreement with exact solutions is achieved.

physics.comp-ph