Hi-PACE / hipace

Highly efficient Plasma Accelerator Emulation, quasistatic particle-in-cell code
https://hipace.readthedocs.io
Other
54 stars 15 forks source link

Fix adaptive time step for non-electron beams #1092

Closed AlexanderSinn closed 7 months ago

AlexanderSinn commented 7 months ago

The correct formula for the beam betatron angular frequency is omega_b = sqrt(q_beam * q_plasma * n_plasma / (2 * gamma_beam * m_beam * epsilon0))

Test with 8 GeV electron beam vs. 80 GeV anti proton beam:

image

image