High-resolution dynamic aperture

Moderators: cyao, michael_borland

wguo
Posts: 41
Joined: 13 Jun 2008, 12:54

Re: High-resolution dynamic aperture

Post by wguo » 18 Apr 2017, 10:56

I couldn't find my files, however, you could define your dipole magnet as follows.
M1: MULT, KNL=1000,ORDER=4
B1: CSBEND,L=2,ANGLE=0.2
B1C: LINE=(M1,B1,M1)

Or, you could define multipole components in a CSBEND, such as:

B1: CSBEND,L=2.62,ANGLE=0.10471975511966,K1=-2.783243054167499e-05,&
K2=0.01351257586567354,K3=1.786068558864681,K4=-359.0143037099425,&
K5=-66059.96402158705,K6=44393778.18114738,E1=0.05236,E2=0.05236
These Kn values could be obtained from fitting the magnetic field.

Weiming

michael_borland
Posts: 1811
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: High-resolution dynamic aperture

Post by michael_borland » 18 Apr 2017, 14:27

The preferred approach is the second of those shown by Weiming. This way, the correct expansion of the fields in curvilinear coordinates is used.

--Michael

Post Reply