Journals of Accelerator Conferences Website (JACoW)

JACoW is a publisher in Geneva, Switzerland that publishes the proceedings of accelator conferences held around the world by an international collaboration of editors.


ris citation export for WEPS038: Python FLUKA beam line, a python library to create FLUKA simulations of accelerators


TY - CONF
AU - Boogert, S.
AU - Nevay, L.
ED - 
TI - Python FLUKA beam line, a python library to create FLUKA simulations of accelerators
J2 - Proc. of ipac2025, Taipei, Taiwan, 01-06 June 2025
CY - Taipei, Taiwan
T2 - IPAC'25 - 16th International Particle Accelerator Conference
T3 - 16
LA - English
AB - FLUKA simulations of beamlines are important for un- derstanding numerous different aspects of accelerators, in- cluding beam losses, particle backgrounds, activation and shielding. Creating a beam-line simulation using FLUKA is a time consuming and potentially error prone process. This paper describes a set of python tools called pyflubl (Python FLUKA beam-line) which can create a FLUKA simulation using input from MAD-X, MAD8, Transport or BDSIM. pyflubl is based on multiple stable and advanced python packages created to make BDSIM (Geant4) beamline simu- lations as simple as possible, these are pymadx (an interface to MAD-X output), pymad8 (an interface to MAD8 out- put), pybdsim (interface to BDSIM) and most importantly pyg4ometry (a geometry engine for Monte Carlo geometry creation). The magnetic fields required for FLUKA are im- plemented in C++ via BDSIM, thus keeping fields consistent between Geant4 and FLUKA beamline simulations. This paper describes pyflubl design and implementation and ex- ample results for an idealised electron beam-line. Particular attention is given to geometry, fields and scoring.
PB - JACoW Publishing
CP - Geneva, Switzerland
SP - 2282
EP - 2285
KW - 
DA - 2025/06
PY - 2025
SN - 2673-5490
DO - 10.18429/JACoW-IPAC25-WEPS038
UR - https://indico.jacow.org/event/81/contributions/8089
ER -