Hi-PACE / hipace

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

Fix adaptive time step for non-electron beams #1092

Closed AlexanderSinn closed 6 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