1 Tracking code development for FFAGs S. Machida ASTeC/RAL 21 October, ffag/machida_ ppt & pdf
2 Tracking philosophy Combination of Teapot, Simpsons, and PTC. –All the elements are thin lens like Teapot. –Time as the independent variable like Simpsons. –Separation of orbit from magnet location like PTC. –No implementation of polymorphism unlike PTC. Read B fields map as an external data file. –Scaling as well as non-scaling (semi-scaling) FFAGs are modeled in the same platform. No name at the moment.
3 Lattice geometry First, all magnets’ center are placed on a circle whose radius is 0.370x42/2 . Opening angle “a” is 0.265/0.370x2 /42 and “b” is 0.105/0.370x2 /42. Shift QD by [m] outward to obtain net kick angle at QD. The magnitude was chosen such that time of flight at 10 and 20 [MeV] becomes equal. Rotate QF counterclockwise to make the axis of QF parallel to line E-F.
4 Quadrupole modeling Soft edge model with Enge type fall off. –Scalar potential in cylindrical coordinates. where and s: distance from hard edge. g: scaling parameter of the order of gap, g=0.011 [m]. C i : Enge coefficient, C 0 =0.1455, C 1 =2.2670, C 2 = , C 3 =1.1558, C 4 =C 5 =0. [same as Meot’s numbers]
5 Integration method Kick and drift –Quadrupole including fringe region is split into thin lenses. –When a particle reach one of thin lenses, Bx, By, and Bz are interpolated using pre-calculated data at neighboring four grid points. –Lorentz force is applied and direction of the momentum is changed. –Between thin lenses, a particle goes straight.
6 Closed orbits Iteration gives closed orbits. Whole view.One cell.
7 Acceleration At the center of long straight, longitudinal momentum is increased. RF acceleration at every other cells. Can be any place.
8 Check of the code With the following parameters B fields expansion up to r 2. thin lens kick every 1 [mm]. We check Tune and time of flight in EMMA. Serpentine curve.
9 Tune and time of flight - Tune and time of flight are calculated from particle tracking. Tune: FFT of 1024 turns data. Time of flight: total path length of polygon divided by c. - Good agreement with Berg’s results.
10 Choice of longitudinal parameters [ns] from tracking result (previous page). If, [kV] per cell (x2 per cavity). We chose according to a reference by Berg [1]. Then,. RF frequency is Hz. [1] J. S. Berg, “Longitudinal acceptance in linear non-scaling FFAGS.” TT T0T0
11 Serpentine curve With 337 passages of RF cavity (674 cells), a particle is accelerated from 10 to 20 [MeV].
12 Study item 1: gutter acceleration with finite transverse emittance. Without any lattice errors. Initial longitudinal emittance: deg. * % Initial transverse emittance: 0.1 mm (rms, normalized) Gaussian with 2 sigma cut. Number of macro particle is 100. transverse emittance is zero. transverse emittance is 0.1 mm.
13 Study item 1: gutter acceleration with finite transverse emittance (cont.). 6 particles starting from the same longitudinal coordinates (0.24*2 , 10MeV). Transverse amplitude is different (0, 0.02, 0.08, 0.18, 0.32, 0.5 mm). This explains longitudinal emittance distortion (previous page) due to transverse amplitude.
14 Summary New tracking code is being developed to study FFAG dynamics. Longitudinal emittance distortion due to finite transverse emittance is observed.