Dipole element

https://www.dacm-logiciels.fr/tracewin
RussiaVyacheslav
Initiated
Initiated
Posts: 50
Joined: Tue 23 Feb 2021 08:37
Country:
Russia (ru)
Russia

Dipole element

Post by RussiaVyacheslav »

Dear Didier,

is it possible to somehow simulate beam transport throughout bending magnet with quadrupole component (the so called dipole-quadrupole), that is used, for example, on synchrotron ligth sources?

Will such element appear in the next version of TraceWin?

Best regards,
Vyacheslav
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Dipole element

Post by FranceDidier »

Dear Vyacheslav,

Honestly this is not planned int he near futur, but two solutions exist. The first is the use of field maps and the second is the possibility for TraceWin users to include their own elements.

Regards,

Didier
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Dipole element

Post by FranceDidier »

Dear Vyacheslav,

I realise that I may have been a little fast in my answer. The BEND element has a "Field gradient index" parameter which, unless I am mistaken, corresponds to your request, no ?

Regards,

Didier
RussiaVyacheslav
Initiated
Initiated
Posts: 50
Joined: Tue 23 Feb 2021 08:37
Country:
Russia (ru)
Russia

Re: Dipole element

Post by RussiaVyacheslav »

Dear Didier,

is field index gradient defined as n=-R/B*(dB/dr)?
If yes, what is B-component used here, in what point (how it describe and indicate in the program) is derivative calculated?

Regards, Vyacheslav
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Dipole element

Post by FranceDidier »

Dear Vyacheslav,

Could you please have a look on manual where the detail of the bend matrix used is indicated. I think you find your answer.

Regards,

Didier
RussiaVyacheslav
Initiated
Initiated
Posts: 50
Joined: Tue 23 Feb 2021 08:37
Country:
Russia (ru)
Russia

Re: Dipole element

Post by RussiaVyacheslav »

Dear Didier,

I've look ot the manual and found that field index gradient (FIG), for example, corresponds to the C-shape bend with no parallel poles (black curves rather than blue ones on the figure 1).
figure 1
figure 1
C bend.jpg (38.58 KiB) Viewed 3045 times
In my case I need to somehow simulate dipole-quadrupole like in the figure 2.
figure 2
figure 2
DQ.jpg (76.28 KiB) Viewed 3045 times
Can MULTIPOLE element hold the members of the B-field decomposition in the series?
Other words is it possible to hold n=1 and n=2 for the MULTIPOLE simultaneously?

Best regards,
Vyacheslav
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Dipole element

Post by FranceDidier »

Dear Vyacheslav,

Ok, I see. MULTIPOLE elements can indeed make this type of element except that it is not possible to superpose them. For that, you have to use FIELD_MAP elements. But, it's very easy to go from MULTIPOLE to FIELD_MAP and then use the superpose map feature to make what you need. I have upgraded the MUTIPOLE documentation in the TraceWin manual, to explain how to do this in detail.

Regards,

Didier
Multipole Field Map.pdf
(478.45 KiB) Downloaded 176 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Dipole element

Post by FranceDidier »

Dear Vyacheslav,

Finally, you can forget my previous suggestion and use this configuration directly:

Code: Select all

SUPERPOSE_MAP 0
MULTIPOLE 1 400 100 0.01 100
SUPERPOSE_MAP 0
MULTIPOLE 2 400 100 0.02 100
Regards,

Didier
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Dipole element

Post by FranceDidier »

Dear Vyacheslav,

Finally, you can forget my previous suggestion and use this configuration directly:

Code: Select all

SUPERPOSE_MAP 0
MULTIPOLE 1 400 100 0.01 100
SUPERPOSE_MAP 0
MULTIPOLE 2 400 100 0.02 100
Regards,

Didier
RussiaVyacheslav
Initiated
Initiated
Posts: 50
Joined: Tue 23 Feb 2021 08:37
Country:
Russia (ru)
Russia

Re: Dipole element

Post by RussiaVyacheslav »

Dear Didier,

I'll try.
Thanks a lot.

Regards,
Vyacheslav
Post Reply