Page 1 of 1

Nonlinear kicker expression in ELEGANT

Posted: 17 Apr 2019, 22:21
by Zhenbiao
Hi,
I’m using ELEGANT to simulate the injection beam, but when I wrote the code of the kicker, I don’t know how to express the nonlinear kicker. The magnetic field of the nonlinear kicker is a bit like the octupole magnet, however, I’m not sure if I can replace the magnetic field of a nonlinear kicker with a octupole magnet.
So, is there any other way to express nonlinear kicker in ELEGANT rather using octupole magnet?

Re: Nonlinear kicker expression in ELEGANT

Posted: 22 Apr 2019, 08:25
by michael_borland
You can use the BUMPER element to simulate a nonlinear kicker with arbitrary time and spatial dependence. The WAVEFORM parameter is used to specify the time variation, while the DEFLECTION_MAP parameter is used to specify the (x, y) dependence of the kick.

--Michael

Re: Nonlinear kicker expression in ELEGANT

Posted: 27 Apr 2019, 21:38
by Zhenbiao
Hi Michael,

I have seen the DEFLECTION_MAP parameter from the <elegant> file, but I'm still confused about how to describe a particle with coordinates (x,y,t,δ), so, do you have a example file about the DEFLECTION_MAP?Could you please send it over?
Thank you very much.

Best wishes,
Wenbin

Re: Nonlinear kicker expression in ELEGANT

Posted: 02 May 2019, 13:10
by michael_borland
Wenbin,

Please see the attached files.

--Michael

Re: Nonlinear kicker expression in ELEGANT

Posted: 01 May 2020, 07:48
by Zhenbiao
Hi Micheal,

What do x, y, xpFactor and ypFactor in map1.sdds represent respectively? What I have is the strength of the magnetic field B that changes with the abscissa x. Can I write a DEFLECTION_MAP file with x and B?

Zhenbiao