Page 1 of 1

Rectangle and Sector bending magnet and K1 and K2 contribution

Posted: Fri 8 Aug 2025 06:38
by Bruce Yee
Dear Didier,

I would like to simulate a sector bending magnet (the angle of the beam with the dipole face is 90 deg) as shown on the left side of the
next figure.
dipole.png
dipole.png (13.54 KiB) Viewed 1425 times
Following the previous discussion, you provide the following example:

EDGE Angle/2 Ldip/(Angle*3.14159/180) 100 1e-8 1e-8 150 0
BEND Angle Ldip/(Angle*3.14159/180) 0 150 0
EDGE Angle/2 Ldip/(Angle*3.14159/180) 100 1e-8 1e-8 150 0

Is this a sector-bending magnet?

One more question, related to the "EDGE" element, the values K1 and K2, how did you compute?

For K1, I find the next relationship:
formula.png
formula.png (20.18 KiB) Viewed 1425 times
Could you please tell me how to compute those contributions?

Thanks for your help and time.

Best regards,

Bruce