Combined Function dipole envelope
Posted: Thu 8 Aug 2024 15:15
Hi all,
I am design transfer line for ESS and decided to try combined function dipoles and for that I created a new element and per instructions in the manual.
After quite some debugging I managed to get the transverse part of the code to agree pretty well with a quad (given the dipole is weak etc.). I am having a bit of trouble understanding the longitudinal envelopes though.
This is the envelope for the element I created and this is what I get when I add a regular dipole instead ( I checked and I get the same result for adipose in the form of a multipole FM) The effect on the Z coordinate is a lot stronger (which could well be some sign mistake in my element) but the kick at the end of the dipole I really cannot understand. I added the lattice and the code for my element in this post as well in case someone wants to take a look.
Best,
Natalia
I am design transfer line for ESS and decided to try combined function dipoles and for that I created a new element and per instructions in the manual.
After quite some debugging I managed to get the transverse part of the code to agree pretty well with a quad (given the dipole is weak etc.). I am having a bit of trouble understanding the longitudinal envelopes though.
This is the envelope for the element I created and this is what I get when I add a regular dipole instead ( I checked and I get the same result for adipose in the form of a multipole FM) The effect on the Z coordinate is a lot stronger (which could well be some sign mistake in my element) but the kick at the end of the dipole I really cannot understand. I added the lattice and the code for my element in this post as well in case someone wants to take a look.
Best,
Natalia