Page 1 of 1

Quadrupole shifts beam phase?

Posted: Mon 8 Nov 2021 16:32
by hendrik.haehnel
Dear Didier,
we found some weird behaviour in TraceWIn. This arbitrary example only has a drift section, a triplet and two buncher gaps.

Somehow, the beam center phase is shifted in the Quadrupole. Is this just some numerical error for this edge case (not a realistic case)? Or is there some bug?

Code: Select all

DRIFT 15 50
DRIFT 25 50
QUAD 8 100 18
DRIFT 5 18
QUAD 10 -100 18
DRIFT 5 18
QUAD 8 100 18
DRIFT 5 15
DRIFT 5 15
GAP 400 -90 15
DRIFT 28 15
GAP 400 -90 15
DRIFT 5 15
END
Image of the envelope (phase shifted in Quadrupole)
envelope.png
envelope.png (18.51 KiB) Viewed 1592 times
Project file attached below.

Best regards,
Hendrik

Re: Quadrupole shifts beam phase?

Posted: Tue 9 Nov 2021 16:43
by Didier
Dear Hendry,

Considring your very low beam energy, the transverse dispersion becomes non-negligible. Try with a very small transverse emittance to see that the effect disappears.
phase.png
phase.png (2.72 KiB) Viewed 1575 times
Regards,

Didier

Re: Quadrupole shifts beam phase?

Posted: Tue 9 Nov 2021 16:47
by hendrik.haehnel
Tank you, you are absolutely correct. I should have thought of that.

Best regards,
Hendrik