2-5 October 2024
Lufthansa Seeheim Conference Hotel
Europe/Berlin timezone

"wakis": An Open-Source 3D Time-Domain Electromagnetic Solver for Beam-Coupling Impedance Calculation

2 Oct 2024, 16:50
20m
Seminar Room 2013/2014

Seminar Room 2013/2014

Contributed talk C-2 Electromagnetic Field Computations Sessions in Seminar Room 2013/2014

Speaker

Elena de la Fuente Garcia (CERN)

Description

In the field of accelerator physics, the determination of electromagnetic wakefields and their impact on accelerator performance remains a critical challenge. These wakefields, generated within the accelerator vacuum chamber by the interaction between the structure and a passing beam, significantly influence machine behavior. Characterizing these effects through beam-coupling impedance is essential for predicting power dissipation and maintaining beam stability. For simple structures, beam-coupling impedance can be computed using analytical formulas. However, realistic accelerator devices require full-wave 3D numerical soluctions of Maxwell's Equations. In the framework of CERN's open science mission, this paper presents "wakis", an open-source 3D electromagnetic time-domain solver designed to compute wake potential and impedance for both longitudinal and transverse planes in general 3D structures. Fully implemented in Python, the tool includes features such as the incorporation of material tensors (permittivity, permeability, conductivity) with support for anisotropy, and a CAD geometry importer (.stl format) for defining embedded boundaries and material regions. It supports various boundary conditions including PEC, PMC, periodic, ABC-FOEXTRAP, and multiple time-domain sources such as particle beams with custom profiles, plane waves, and wave packets. The fully exposed API allows dynamic modification of material tensors and fields during simulations, leveraging NumPy and SciPy sparse routines for efficient calculations. Additionally, "wakis" offers on-the-fly 1D, 2D, and 3D vtk-based plotting capabilities, optimized memory consumption, and GPU acceleration via CuPy/CuPyx. "wakis" is under continuous development on GitHub, aiming to provide an open-source platform for the community to collaboratively address future accelerator challenges and surpass current software limitations.

Primary author

Elena de la Fuente Garcia (CERN)

Co-authors

Carlo Zannini (CERN) Giovanni Iadarola (CERN) Lorenzo Giacomel

Presentation Materials