DiWakeCyl is a set of PYTHON scripts that provide a toolkit to compute the Green's functions associated with electromagnetic wakefield produced in an axisymmetric dielectric lined waveguide. The present version of the code used is based on the formalism described in [https://journals.aps.org/prd/abstract/10.1103/PhysRevD.42.1819].
The simple implementation in test_Ng_long.py and test_Ng_trans.py demonstrates the use of the code to reproduce the wakefield computed in the paper [M Rosing and W. Gai, et al., Phys. Rev. D42, 1829 (1990)]. In addition, these two codes compare the computed Green's functions with the ones generated from a trusted commercial program.
The script MakeWake4Eleg.py generate a Green's function formatted to be compatible with ELEGANT longitudinal wake element.
The script test_Ng.py provides an example of longitudinal wake (monopole) computation along with its convolution with a given charge distribution (in the present case a Gaussian distribution)
The script pitz.py produces the Green's function and saved it as an ASTRA-compatible file for use in the &wakefield element. This program was employed to perform simulations reported in https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.122.044801
executing the command line
python test_Ng_long.py
should produce a plot displaying the Green's functions associated with the sum of the first four monopole modes.
Philippe Piot (NIU and Fermilab, now NIU and Argonne), Francois Lemery (NIU, now DESY), Jilong Wang (formerly at NIU).
Please cite this code as [use the tab on the right to generate bibtex format]:
P. Piot, F. Lemery, and J. Wang, DiWakeCyl: a computer program to compute Green's functions for dielectric-lined cylindrical-symmetric waveguides, PYTHON program available from GitHub at https://github.com/NIUaard/DiWakeCyl ; see also ZENODO repository