GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March 2014 1 GSI Helmholtzzentrum für Schwerionenforschung GmbH Tracking simulations.

Slides:



Advertisements
Similar presentations
Helmholtz International Center for Oliver Boine-Frankenheim GSI mbH and TU Darmstadt/TEMF FAIR accelerator theory (FAIR-AT) division Helmholtz International.
Advertisements

SPACE CHARGE EFFECTS IN PHOTO-INJECTORS Massimo Ferrario INFN-LNF Madison, June 28 - July 2.
A new algorithm for the kinetic analysis of intra-beam scattering in storage rings. P.R.Zenkevich*,O. Boine-Frenkenheim**, A. Ye. Bolshakov* *ITEP, Moscow,
Module on Computational Astrophysics Jim Stone Department of Astrophysical Sciences 125 Peyton Hall : ph :
Introduction Status of SC simulations at CERN
SIMULATION PROGRESS AND PLANS AT ROSTOCK/DESY Aleksandar Markovic ECL2, CERN, March 1, 2007 Gisela Pöplau.
Particle Studio simulations of the resistive wall impedance of copper cylindrical and rectangular beam pipes C. Zannini E. Metral, G. Rumolo, B. Salvant.
SciDAC Accelerator Simulation project: FNAL Booster modeling, status and plans Robert D. Ryne, P. Spentzouris.
Laslett self-field tune spread calculation with momentum dependence (Application to the PSB at 160 MeV) M. Martini.
1 Tracking code development for FFAGs S. Machida ASTeC/RAL 21 October, ffag/machida_ ppt & pdf.
Oliver Boine-FrankenheimSIS100-4: High current beam dynamics studies SIS 100 ‘high current’ design challenges o Beam loss in SIS 100 needs to be carefully.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, N.Kazarinov.
FEL simulation code FAST Free-Electron Laser at the TESLA Test Facility Generic name FAST stands for a set of codes for ``full physics'' analysis of FEL.
Astra A Space Charge Tracking Algorithm
Development of Simulation Environment UAL for Spin Studies in EDM Fanglei Lin December
Beam-Beam Simulations for RHIC and LHC J. Qiang, LBNL Mini-Workshop on Beam-Beam Compensation July 2-4, 2007, SLAC, Menlo Park, California.
IRPSS: A Green’s Function Approach to Modeling Photoinjectors Mark Hess Indiana University Cyclotron Facility & Physics Department *Supported by NSF and.
Eric Prebys, FNAL. USPAS, Hampton, VA, Jan , 2015 Wakefields and Impedance 2 Consider the effect that one particle can have on subsequent particles.
Details of space charge calculations for J-PARC rings.
Status of Space-Charge Simulations with MADX Valery KAPIN ITEP & MEPhI, Moscow GSI, 19-Feb-2009
Electron cloud simulations for SuperKEKB Y.Susaki,KEK-ACCL 9 Feb, 2010 KEK seminar.
A 3D tracking algorithm for bunches in beam pipes with elliptical cross-section and a concept for simulation of the interaction with an e-cloud Aleksandar.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
Eric Prebys, FNAL. USPAS, Knoxville, TN, January 20-31, 2014 Lecture 17 -Wakefields and Impedance 2 In our last lecture, we characterized the effects.
Oliver Boine-Frankenheim, High Current Beam Physics Group Simulation of space charge and impedance effects Funded through the EU-design study ‘DIRACsecondary.
Simulation of Microbunching Instability in LCLS with Laser-Heater Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory.
 Advanced Accelerator Simulation Panagiotis Spentzouris Fermilab Computing Division (member of the SciDAC AST project)
Beam Modulation due to Longitudinal Space Charge Zhirong Huang, SLAC Berlin S2E Workshop 8/18/2003.
FCC electron cloud study plan K. Ohmi (KEK) Mar FCC electron cloud study meeting CERN.
Oliver Boine-Frankenheim, HE-LHC, Oct , 2010, Malta Simulation of IBS (and cooling) Oliver Boine-Frankenheim, GSI, Darmstadt, Germany 1.
Physics of electron cloud build up Principle of the multi-bunch multipacting. No need to be on resonance, wide ranges of parameters allow for the electron.
Midwest Accelerator Physics Meeting. Indiana University, March 15-19, ORBIT Electron Cloud Model Andrei Shishlo, Yoichi Sato, Slava Danilov, Jeff.
GWENAEL FUBIANI L’OASIS GROUP, LBNL 6D Space charge estimates for dense electron bunches in vacuum W.P. LEEMANS, E. ESAREY, B.A. SHADWICK, J. QIANG, G.
DEVELOPMENT OF A STEADY STATE SIMULATION CODE FOR KLYSTRONS
INTENSITY LIMITATIONS (Space Charge and Impedance) M. Zobov.
Example: Longitudinal single bunch effects Synchrotron tune spread Synchrotron phase shift Potential well distortion Energy spread widening (microwave.
Change in Program Tuesday Morning Review of 2002 CSR Workshop (T. Limberg, 20 min) CSR calculation Models (M. Dohlus, 40 min) The 3D Codes TraFiC4 and.
Space Charge with PyHEADTAIL and PyPIC on the GPU Stefan Hegglin and Adrian Oeftiger Space Charge Working Group meeting –
Accelerator Physics GroupSNS, ORNL ORBIT J. A. HolmesORNL FNAL: September 11, 2001.
Ion effects in low emittance rings Giovanni Rumolo Thanks to R. Nagaoka, A. Oeftiger In CLIC Workshop 3-8 February, 2014, CERN.
A. Z. Ghalam, T. Katsouleas (USC) C. Huang, V. Decyk, W.Mori(UCLA) G. Rumolo and F.Zimmermann(CERN) U C L A 3-D Parallel Simulation Model of Continuous.
1 IMPACT: Benchmarking Ji Qiang Lawrence Berkeley National Laboratory CERN Space-Charge Collaboration Meeting, May 20-21, 2014.
Marcel Schuh CERN-BE-RF-LR CH-1211 Genève 23, Switzerland 3rd SPL Collaboration Meeting at CERN on November 11-13, 2009 Higher.
BBFP J. Wei’s Fokker-Planck solver for bunched beams November 21 st, 2007 CLIC Beam dynamics meeting Y. Papaphilippou.
2 February 8th - 10th, 2016 TWIICE 2 Workshop Instability studies in the CLIC Damping Rings including radiation damping A.Passarelli, H.Bartosik, O.Boine-Fankenheim,
Vacuum specifications in Linacs J-B. Jeanneret, G. Rumolo, D. Schulte in CLIC Workshop 09, 15 October 2009 Fast Ion Instability in Linacs and the simulation.
Pushing the space charge limit in the CERN LHC injectors H. Bartosik for the CERN space charge team with contributions from S. Gilardoni, A. Huschauer,
Managed by UT-Battelle for the Department of Energy Python ORBIT in a Nutshell Jeff Holmes Oak Ridge National Laboratory Spallation Neutron Source Space.
Warm linac simulations (DTL) and errors analysis M. Comunian F. Grespan.
6 July 2010 | TU Darmstadt | Fachbereich 18 | Institut Theorie Elektromagnetischer Felder | Sabrina Appel | 1 Micro bunch evolution and „turbulent beams“
Genetic algorithms and SIS multi-turn injection
Collective Effect II Giuliano Franchetti, GSI CERN Accelerator – School Prague 11/9/14G. Franchetti1.
Şerban Udrea, Peter Forck, GSI
People who attended the meeting:
Interface model for SIS18 and UNILAC
Session 5: Instability Modeling, Observations and Cures
Code description: pyORBIT
Sabrina Appel, GSI, Beam physics Space charge workshop 2013, CERN
Jeffrey Eldred, Sasha Valishev
SC Overview 2013 White & Rouge The Codes in Comparison The Noise Issue
E. Métral, G. Rumolo, R. Tomás (CERN Switzerland), B
Beam-Beam Interaction in Linac-Ring Colliders
Tune Shift Induced by Flat-Chamber Resistive Wall Impedance
2. Crosschecking computer codes for AWAKE
Accelerator Physics Statistical and Beam-Beam Effects
Frank Zimmermann, Factories’03
Accelerator Physics Landau Damping and Beam-Beam Effect
JLEIC Ion Integration Goals
Accelerator Physics Statistical Effects
Presentation transcript:

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March GSI Helmholtzzentrum für Schwerionenforschung GmbH Tracking simulations with space charge Sabrina Appel, GSI

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Outline  Introduction  Particle-In-Cell scheme  Space charge solvers  Longitudinal space charge solver  Transversal space charge solver  3D approaches  Modern implementations  Summary

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March z x y Space charge (SC) Concept:  Space charge is the inter-particle Coulomb force.  In the beam frame SC force be evaluated with the Poisson’s equation. Modeling:  One attempts to find the simplest model & fastest algorithms that contains the necessary physics.  Breakdown the problem to less dimensions (1D, 2D) Space charge effects:  SC limited or/and determine beam parameters and accelerator components (CERN LHC injector chain + FAIR) -Indirect SC K. Ng: Physics of Intensity Dependent Beam Instabilities; H. Wiedemann: Particle Accelerator Physics; M. Reiser: Theory and Design of charged Particle Beams -Direct SC Image charge Beam interacted with its surrounding. Forces act directly from beam to particle.

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Frozen space charge model Tracking  The kick acting on the particle is computed from the analytical electric field.  During tracking simulations the electric filed is adapted on changed beam intensity and size. A. Burov, et. al., Transverse instabilities of coasting beams with space charge, Phys. Rev. ST-AB (2009) M. Bassetti, et. al., Closed expression for the electrical field of a two-dimensional Gaussian charge, CERN-ISR-TH/80-06 QyQy QxQx Analytical model  The solution of the Poisson equation for a 2D Gaussian and the space charge tune spread as a function of the particle amplitude can be calculated analytical. Disadvantage  This model is not self-consistent.  Self-consistent means that the motion of the particles distribution changes the fields and the forces due to these fields change the particle distribution. Codes MadX, MICROMAP, … (Max. tune shift)

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March PIC (Particle In Cell) algorithms Particle In Cell C. Bridsall & A B Langdon: Plasma Physics via computer simulation; R W Hockney & J W Eastwood: Computer simulation using particles  Between the evaluation of SC forces, also other external forces can act on the beam.  Between the “SC kicks” the beam oscillations have to be resolved  Applied also in Astrophysics & Plasma physics.  Space charge forces are obtained by solving the Poisson equation with FFT. Motion of particles F i  v i  x i Motion of particles F i  v i  x i Interpolation of density on grid (x,v) i  (ρ,J) j Interpolation of density on grid (x,v) i  (ρ,J) j Integration of field equation on grid (E,B) j  (ρ,J) j Integration of field equation on grid (E,B) j  (ρ,J) j Interpolation of field at particles (E,B) j  F i PIC is self- consistent Macro-particles

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March PIC (Particle In Cell) algorithms Noise  Artificial collisions between macro-particles generate noise.  The increase of emittance & entropy can be described analytically.  The identification of the optimum number of macro-particles and the grid spacing is important. Diagnostics  PIC provides information of the particles in phase space & fields and should be frequently used.  The user can  compare the electric field & potential against analytical expressions.  also verify, if the initial beam distribution is space charge matched.  study the artificial Schottky noise. Struckmeier, Part. Acccel (1994); Boine-Frankenheim et al., Nucl. Instr. Meth A 770 (2015); Hofmann et al., IEEE Trans. Nucl. Sci. 26, 3526 (1979); Venturin et al, PRL 81, 96 (1998) Interpolation  Nearest-Grid-Point (NGP) or Cloud-In-Cell (CIC) are widely.  Higher-order interpolation reduces noise with the cost of more computation time. NGP CIC Second- order

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Longitudinal space charge field (1D)  From Faraday’s law follow the longitudinal electric to  Than space charge can be treated as impedance. (depends on transversal geometry) 1D Model  Assuming a coasting beam with current modulations in a round beam pipe. Concept  The coupling impedance is introduced to relate the current modulations to the induced voltage along the beam path.

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Longitudinal space charge field (1D) Implementation in a code 1. Interpolation to grid 3. Interpolation to particles (Also possible) 2. FFT solver Codes BLonD, Lobo, pyORBIT, … Outcome  The long. electric field for a parabolic beam is linear (analytic relation)  Also other impedance sources can be included

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March /3D space charge field Concept  The Poisson equation can be solved with the Green’s function.  The solution generated by a general source function is simply the appropriately weighted sum of all of the Green's function solutions:  Since and are periodic functions, the potential can be computed efficiently using FFT (convolution theorem).  Depending on the problem boundary conditions for the potential and particles must be included. Gauss QxQx KV QyQy QxQx SC tune shift from 2D Poisson solver  Due to the clever selection of the Green’s function, an accurate and efficient space charge calculation is possible.  The Fourier approach can be considered as direct Poisson solver

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Transverse space charge field (2D) FFT potential solver Electric field Implementation in a code Codes pyORBIT, PATRIC, Synergia, Simpsons,… 2D Model  The model is widely used for ring calculation to compute losses, emittance growth to SC  Due to the 3D tracking also longitudinal effects (i.e. bunch factor) can be included.  The 2D Green’s function in free space is Outcome  The transverse electric field for a KV beam is linear (analytic relation)  Grid spacing has an influence on the determined el. field. + interpolation of particles & fields

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March D approaches 2.5D Model  2.5D SC is used if transverse properties vary fast or transverse impedances are of interest.  The beam is slices n times along the longitudinal direction and in the slices SC is solved with the 2D model 3D model:  3D SC solver are used if the long. & trans. dimensions are comparable (a ≈ z m or b > z m ) x z y Sliced bunch slice-length: ∆z≠∆s  The convolution theorem in 3D is  3D Grid interpolation b 2z m a  The 3D Green’s function in free space is Codes pyORBIT, PATRIC, Synergia, TRACEWIN, PARMILA, …  Widely used in linac & source studies but also important for the bunch compression in rings

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Modern PIC implementations Advantage  Use the simplicity and clarity of interpreted and high-level languages.  For scientific computing Python is very attractive (SciPy, NumPY, SymPy). Rewrite codes (skeleton)  The idea is to make the start of newcomers more simpler  2D Solver have only lines in python (“executable pseudo-code”)  With modern tools one can reach a similar speedup  Examples are: pyPATRIC Code ‘wrapping’  Using Scripting languages and compiled code ‘wrapping’  The idea is to combine readability with fast language  Cython created extension modules for Python for well- known & reliable codes in C,C++ & Fortran  Examples are: pyORBIT, BlonD, …. Python user interface PTC-Tracking in Fortran ORBIT in C++ pyORBIT - Diagnostics - SC Solver Python tools - PTC - TEAPOT Millman et al, CISE ; Shishlo et al ICAP09

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March High-Performance Computing Tracking (6x) V. Decyk, CISE 17, 2017; E. Carmona In: Concurrency: Practice and Experience 9 (1997); J. Fitzek, GPU Technology Conference (2014); K. Amyx, GPU Technology Conference (2012) Slow global memory Fast local SIMD Solver (1.2x) Parallelization of 1D SC solver  Fast FFT algorithms exist also for GPUs  Problem is the interpolation of particles  Many particles need to update the same grid point Parallelization of PIC with GPU-Programming  Graphics Processing Unit (GPU)  Particles are independent, good parallelization possible  Collective effects are more difficult to accelerate  Load balance must be preserved  Communication should be low (different memories)

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Free available Codes (incomplete)  BLonD: o CERN o Acceleration, multiple RF systems o 1D space charge o Language: Python, C  MAD-X: o CERN o Nonlinear and linear tracking o Frozen space charge o Language: Fortran, C  ORBIT: o SNS o Nonlinear and linear tracking, RF systems o 1D, 2D and 2.5D SC solver o Language: C++, SuperCode  pyORBIT*: orbit/ orbit/ o SNS o Script language: Python, C++ o At this moment only few capabilities of the original ORBIT are implemented. o 1D, 2D and 2.5 SC solver are available  Synergia: Synergia%20Home.aspx Synergia%20Home.aspx o Fermilab o Nonlinear and linear tracking o 2D and 3D SC solver o Language: Python, C++  MICROMAP: docs.gsi.de/~giuliano/ docs.gsi.de/~giuliano/ o GSI o Nonlinear and linear tracking o Frozen + 2D SC solver o Language: Fortran * Used by myself for space charge simulations (+ LOBO, PATRIC)

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Tune footprint with space charge (SIS18) Summary  Not addressed  Iterative solvers, direct Vlasov solvers, Δf-PIC solvers  Modern PIC implementations  Code ‘wrapping’  Parallelization of PIC with GPU-Programming  Space charge effects determine beam parameters and accelerator components  The PIC algorithm is very popular to simulate SC effects  1D Solver: Longitudinal coupling impedance  2/3D Solver: Poisson equation is solved with the Green’s function

GSI Helmholtzzentrum für Schwerionenforschung GmbH Sabrina Appel | PBBP11 March Thank you for your attention