Download presentation
Presentation is loading. Please wait.
Published byTodd Walsh Modified over 8 years ago
1
PTC tracking - progress report (the first month experience) Valery KAPIN D.Sc., Kyoto Univ. ITEP, Moscow Relevant background: a) Fortran-77/90 programming (1980-present), no “C”- language; b) Beam dynamics coding for RFQ & DTL linacs (1982-2004); c) Beginning user for MAD-8 (2002-2003, NIRS, Japan);
2
Program for Work Package 2.2a “Thick Lattice Tracking” Requirements: 1)This module should have the same functionality as the thin tracking module in MAD-X (trrun.F => “makethin”) ; 2)It is based on PTC which treats all thick elements with symplectic integrators.
3
Steps for a code with thick lens tracking (Feb-Jun.2005) Prepare C-part (database) by FRS. Duplicate thin-lens code (trrun.F) and prepare tracking using PTC Debugging, examples and testing Documentation
4
Present status and nearest tasks Entering many particles (line-by-line) Put data into tables like “trrun.F” (the same output subroutines) Plotting phase-space diagrams for many particles Now - tracking over one turn Soon – tracking element-by-element with many observation points (“observe”)
5
Input for MADX and MADX-PTC track, dump,onepass; start, x=1e-3, px=0, y=1e-3, py=0; start, x=2e-3, px=0, y=2e-3, py=0; start, x=3e-3, px=0, y=3e-3, py=0; start, x=4e-3, px=0, y=4e-3, py=0; start, x=5e-3, px=0, y=5e-3, py=0; start, x=6e-3, px=0, y=6e-3, py=0; start, x=7e-3, px=0, y=7e-3, py=0; run, turns=1000, ffile=1; plot, file="apr07ktr", table=track, haxis=x, vaxis=px, particle=1,2,3,4,5,6,7, colour=100, multiple, symbol=3; plot, file="apr07ktr", table=track, haxis=y, vaxis=py, particle=1,2,3,4,5,6,7, colour=100, multiple, symbol=3; endtrack; ptc_create_universe; ptc_create_layout, model=2, method=6, nst=10,exact; ptc_start, x=1e-3, px=0, y=1e-3, py=0; ptc_start, x=2e-3, px=0, y=2e-3, py=0; ptc_start, x=3e-3, px=0, y=3e-3, py=0; ptc_start, x=4e-3, px=0, y=4e-3, py=0; ptc_start, x=5e-3, px=0, y=5e-3, py=0; ptc_start, x=6e-3, px=0, y=6e-3, py=0; ptc_start, x=7e-3, px=0, y=7e-3, py=0; ptc_track,icase=4,closed_orbit,dump, turns=1000,ffile=1; plot, file="apr07ktrptc", table=track, haxis=x,vaxis=px, particle=1,2,3,4,5,6,7, colour=1000, multiple, symbol=3; plot, file="apr07ktrptc", table=track, haxis=y,vaxis=py, particle=1,2,3,4,5,6,7, colour=1000, multiple, symbol=3; ptc_end;
6
MADX: Thin-lens tracking (file apr07ktr)
7
MADX-PTC: Thin-lens tracking (file apr07ktrptc-1)
8
MADX-PTC: Thick-lens tracking (file apr07ktrptc-tk_121) ptc_create_layout, model=1,method=2,nst=1;
9
MADX-PTC: Thick-lens tracking (file apr07ktrptc-tk_3610e) ptc_create_layout, model=2,method=6,nst=10,exact
10
Future plans (Workpackage III) Implementation of the following items (after completing the element-by-element tracking): 1)Synchrotron radiation & quantum excitation (emittance evolution, special model by F.Z.); 2)Beam-beam element; 3).................................................... 4)Direct Space-charge (like “AccSym-Orbit” codes); 5)Effects from electron cooler
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.