Numerical Methods II

Similar documents
Instabilities Part III: Transverse wake fields impact on beam dynamics

NUMERICAL MODELING OF FAST BEAM ION INSTABILITIES

Transverse beam stability and Landau damping in hadron colliders

Beam instabilities (I)

Simulations of single bunch collective effects using HEADTAIL

High performance computing simulations. for multi-particle effects in the synchrotons

Electron cloud simulations: beam instabilities and wakefields

Electron Cloud Simulations: Beam Instabilities and Wake Fields

Electron cloud studies for the CLIC damping rings

Electron-Cloud Theory & Simulations

SPACE CHARGE EXPERIMENTS AND BENCHMARKING IN THE PS

Index. Accelerator model 8 Adiabatic damping 32, 141 Air-bag model 338 Alternating explicit time scheme 112 Azimuthal modes, see Modes

ULTIMATE LHC BEAM. G. Arduini, CERN, Geneva, Switzerland

Electron cloud effects in KEKB and ILC

Longitudinal Dynamics

ORBIT Code Review and Future Directions. S. Cousineau, A. Shishlo, J. Holmes ECloud07

Gianluigi Arduini CERN - Beams Dept. - Accelerator & Beam Physics Group

COLLECTIVE EFFECTS IN THE LHC AND ITS INJECTORS

n low emittance rings

D. Brandt, CERN. CAS Frascati 2008 Accelerators for Newcomers D. Brandt 1

Impedance & Instabilities

STUDIES AT CESRTA OF ELECTRON-CLOUD-INDUCED BEAM DYNAMICS FOR FUTURE DAMPING RINGS

The TESLA Dogbone Damping Ring

Introduction to Collider Physics

Electron cloud effects Giovanni Rumolo Many thanks to H. Bartosik, G. Iadarola, K. Li, L. Mether, A. Romano, M. Schenk

STUDIES OF THE ELECTRON-CLOUD-INDUCED BEAM DYNAMICS AT CESR-TA

Transverse dynamics Selected topics. Erik Adli, University of Oslo, August 2016, v2.21

Update to ECLOUD Calculations for the 3.2 and 6.4 km ILC Damping Ring Lattice Designs

e-cloud DAFNE T. Demma INFN-LNF

Beam-induced heat loads on the beam screens of the inner triplets for the HL-LHC

Accelerator Physics. Tip World Scientific NEW JERSEY LONDON SINGAPORE BEIJING SHANGHAI HONG KONG TAIPEI BANGALORE. Second Edition. S. Y.

Beam Dynamics. D. Brandt, CERN. CAS Bruges June 2009 Beam Dynamics D. Brandt 1

Elias Métral, LHC Collimation Working Group Meeting, 15/03/ /31

OTHER MEANS TO INCREASE THE SPS 25 ns PERFORMANCE TRANSVERSE PLANE

Emittance Dilution In Electron/Positron Damping Rings

Electron cloud effects for PS2, SPS(+) and LHC

Introduction to accelerators for teachers (Korean program) Mariusz Sapiński CERN, Beams Department August 9 th, 2012

photoemission, secondary emission, magnetic

Measurements and simulations of electron-cloudinduced tune shifts and emittance growth at CESRTA

Simulations of the Microbunching Instability in FEL Beam Delivery Systems

Simulations of HL-LHC Crab Cavity Noise using HEADTAIL

Introduction to particle accelerators

Sunday morning: Beam Dynamics Issues. Session highlights and outstanding questions. M. Pivi and D. Rubin ECLOUD10 October 8-12 Cornell University

On behalf of: F. Antoniou, H. Bartosik, T. Bohl, Y. Papaphilippou (CERN), N. Milas, A. Streun (PSI/SLS), M. Pivi (SLAC), T.

Electron Cloud Studies for KEKB and ATF KEK, May 17 May 30, 2003

Minutes of the HSC section. 5th meeting on Wednesday 26/02/2014 (09:00, 6/2-004)

Emittance preservation in TESLA

Beam-Beam Simulations for e + e Colliders

Beam Physics at SLAC. Yunhai Cai Beam Physics Department Head. July 8, 2008 SLAC Annual Program Review Page 1

Summary of Group A: Beam Dynamics in High- Intensity circular machines

The HiLumi LHC Design Study is included in the High Luminosity LHC project and is partly funded by the European Commission within the Framework

Introduction to Accelerators

NOVEL METHOD FOR MULTI-TURN EXTRACTION: TRAPPING CHARGED PARTICLES IN ISLANDS OF PHASE SPACE

RF BARRIER CAVITY OPTION FOR THE SNS RING BEAM POWER UPGRADE

BUNCHED-BEAM TRANSVERSE COHERENT INSTABILITIES

Particle Accelerators: Transverse Beam Dynamics

Linear Collider Collaboration Tech Notes

Non-linear dynamics Yannis PAPAPHILIPPOU CERN

CSR calculation by paraxial approximation

Measurement and Compensation of Betatron Resonances at the CERN PS Booster Synchrotron

Task 2.4 on LHC Collective Effects Studies

Contributions of the SL-AP Group to the Two-stream Instabilities Workshop

ILC Beam Dynamics Studies Using PLACET

Electron cloud buildup and instability: Numerical simulations for the CERN Proton Synchrotron

THRESHOLDS OF THE HEAD-TAIL INSTABILITY IN BUNCHES WITH SPACE CHARGE

ACHIEVABLE SPACE-CHARGE TUNE SHIFT WITH LONG LIFETIME IN THE CERN PS & SPS

A New Resonance for Ecloud Physics in the ILC DR Wiggler

Electron cloud observation in the LHC

Space Charge Studies on the ISIS Ring

Bernhard Holzer, CERN-LHC

TRANSVERSE DAMPER. W. Höfle, CERN, Geneva, Switzerland. Abstract INTRODUCTION AND HIGHLIGHTS IN Controlled Transverse Blow-up

Physics 610. Adv Particle Physics. April 7, 2014

Comparison of simulated and observed beam profile broadening in the Proton Storage Ring and the role of space charge

III. CesrTA Configuration and Optics for Ultra-Low Emittance David Rice Cornell Laboratory for Accelerator-Based Sciences and Education

Conceptual design of an accumulator ring for the Diamond II upgrade

MD Landau Damping: Beam Transfer Functions and diffusion mechanisms

3. Synchrotrons. Synchrotron Basics

Small Synchrotrons. Michael Benedikt. CERN, AB-Department. CAS, Zeegse, 30/05/05 Small Synchrotrons M. Benedikt 1

The CERN Accelerator School holds courses in all of the member states of CERN. 2013, Erice, Italy

INCOHERENT EFFECT DUE TO ELECTRON CLOUD

Electron Cloud and Ion Effects. G. Arduini CERN SL Division

Beam-beam effects. (an introduction) Werner Herr CERN, AB Department. (/afs/ictp/home/w/wfherr/public/cas/doc/beambeam.pdf)

Physics 736. Experimental Methods in Nuclear-, Particle-, and Astrophysics. - Accelerator Techniques: Introduction and History -

Electron cloud and ion effects

1.1 Electron-Cloud Effects in the LHC

TRAPPING OF ELECTRON CLOUD IN ILC/CESRTA QUADRUPOLE AND SEXTUPOLE MAGNETS

PBL SCENARIO ON ACCELERATORS: SUMMARY

COHERENT DIPOLE SYNCHRO-BETATRON BEAM-BEAM MODES IN ASYMMETRIC RING COLLIDERS

Incoherent effect due to electron cloud

Accelerator Physics. Accelerator Development

CesrTA Status Report Mark Palmer for the CesrTA Collaboration March 4, 2009 ESR

Detailed Characterization of Vacuum Chamber Surface Properties Using Measurements of the Time Dependence of Electron Cloud Development

arxiv: v1 [physics.acc-ph] 21 Oct 2014

Impedance and Collective Effects in Future Light Sources. Karl Bane FLS2010 Workshop 1 March 2010

Measurement and Modeling of Electron Cloud Trapping in the CESR Storage Ring

Lattice Design and Performance for PEP-X Light Source

BEAM-BEAM SIMULATION STUDIES OF CESR-c AND OBSERVATIONS IN CESR

(4) vacuum pressure & gas desorption in the IRs ( A.

HEAD-TAIL BUNCH DYNAMICS WITH SPACE CHARGE

Beam Dynamics. Gennady Stupakov. DOE High Energy Physics Review June 2-4, 2004

Transcription:

Numerical Methods II Kevin Li With acknowledgements to: H. Bartosik, X. Buffat, L.R. Carver, S. Hegglin, G. Iadarola, L. Mether, E. Metral, N. Mounet, A. Oeftiger, A. Romano, G. Rumolo, B. Salvant, M. Schenk 06/11/2015 Numerical Methods I - Kevin Li 2

Outline Introduction to macroparticle models implementations, applications and examples Part 1 numerical modelling Initialisation Simple tracking Chromaticity and detuning Wakefields with examples Constant wakes Dipole wakes TMCI & headtail modes Part 2 electron cloud Modelling of e-cloud interactions PIC solvers Application for e-cloud instabilities 06/11/2015 Numerical Methods I - Kevin Li 3

Outline Introduction to macroparticle models implementations, applications and examples Part 1 numerical modelling Initialisation Simple tracking Chromaticity and detuning Wakefields with examples Constant wakes Dipole wakes TMCI & headtail modes Part 2 electron cloud Modelling of e-cloud interactions PIC solvers Application for e-cloud instabilities 09/11/2015 Numerical Methods II - Kevin Li 4

Summary where are we? We are now ready to track a full turn including the interaction with wake fields Wakefield 1. Initialise a macroparticle distribution with a given emittance 2. Update transverse coordinates and momenta according to the linear periodic transfer map adjust the individual phase advance according to chromaticity and detuning with amplitude 3. Update the longitudinal coordinates and momenta according to the leapfrog integration scheme 4. Update momenta only (apply kicks) according to wake field generated kicks 5. Repeat turn-by-turn 09/11/2015 Numerical Methods II - Kevin Li 5

Examples constant wakes Dipolar term orbit kick Slice dependent change of closed orbit (if line density does not change) 09/11/2015 Numerical Methods II - Kevin Li 6

Examples dipole wakes Dipolar term orbit kick Offset dependent orbit kick kicks can accumulate With synchrotron motion we can get into a feedback loop Without synchrotron motion: kicks accumulate turn after turn the beam is unstable beam break-up in linacs With synchrotron motion: Chromaticity = 0 Synchrotron sidebands are well separated beam is stable Synchrotron sidebands couple (transverse) mode coupling instability Chromaticity 0 Headtail modes beam is unstable (can be very weak and often damped by non-linearities) 09/11/2015 Numerical Methods II - Kevin Li 7

Dipole wakes beam break-up 09/11/2015 Numerical Methods II - Kevin Li 8

Dipole wakes TMCI below threshold Mode A Mode B As the intensity increases the coherent modes shift here, modes A and B are approaching each other 09/11/2015 Numerical Methods II - Kevin Li 9

Dipole wakes TMCI above threshold When the two modes merge a fast coherent instability arises the transverse mode coupling instability (TMCI) which often is a hard intensity limit in many machines Mode A Mode B 09/11/2015 Numerical Methods II - Kevin Li 10

Raising the TMCI threshold SPS Q20 optics In simulations we have the possibility to perform scans of variables, e.g. we can run 100 simulations in parallel changing the beam intensity We can then perform a spectral analysis of each simulation and stack all obtained plot behind one another to obtain the typical visualization plots of TMCI Qs Q 26 Qs = 0.0059 Q 20 Qs = 0.017 Qs TMCI threshold TMCI threshold 09/11/2015 Numerical Methods II - Kevin Li 11

Dipole wakes headtail modes As soon as chromaticity is non-zero, another resonant condition can be met as particles now synchronize their betatron motion with the synchrotron motion Headtail modes arise the order of the respective mode depends on the chromaticity together with the impedance and bunch spectrum 09/11/2015 Numerical Methods II - Kevin Li 12

Dipole wakes headtail modes 09/11/2015 Numerical Methods II - Kevin Li 13

Dipole wakes headtail modes 09/11/2015 Numerical Methods II - Kevin Li 14

Example: Headtail modes in the LHC Lower chroma mode 2 Higher chroma mode 3 09/11/2015 Numerical Methods II - Kevin Li 15

End of part I Numerical methods allow us to study conditions not realizable in a machine to disentangle effects to use unprecedented analysis tools Macroparticle models closely resemble real systems and are relatively easy to implement We have learned how to model and implement macroparticle simulations to study intensity effects in circular accelerators 09/11/2015 Numerical Methods II - Kevin Li 16

Outline Introduction to macroparticle models implementations, applications and examples Part 1 numerical modelling Initialisation Simple tracking Chromaticity and detuning Wakefields with examples Constant wakes Dipole wakes TMCI & headtail modes Part 2 electron cloud Modelling of e-cloud interactions PIC solvers Application for e-cloud instabilities 09/11/2015 Numerical Methods II - Kevin Li 17

Accelerator beam system - wakefields Our first real collective interaction from impedances 09/11/2015 Numerical Methods II - Kevin Li 18

Accelerator beam system electron clouds Two stream collective interaction much more involved Approximations here: The beam is ultra-relativistic The electron velocity is well below c The electron cloud has a low aspect ratio 09/11/2015 Numerical Methods II - Kevin Li 19

Accelerator beam system electron clouds count x x y y 0 1 2 Two macroparticle systems now need to be solved simultaneously The electric field evaluation usually is the most time-consuming step and should be done efficiently Keep track of macroparticle systems and fields 3 count x y phi 4 0 5 More memory, more computation steps 1 6 overall more challenging 2 count x 3 y phi 0 4 1 5 2 6 count x 3 x y y z delta 0 4 1 5 2 6 3 4 5 6 09/11/2015 Numerical Methods II - Kevin Li 20

Electron clouds in a drift section Two stream collective interaction much more involved Beam passage leads to a pinch of the cloud which in turn acts back on the beam differently each turn 09/11/2015 Numerical Methods II - Kevin Li 21

Electron clouds in a bending magnet Two stream collective interaction much more involved Beam passage leads to a pinch of the cloud which in turn acts back on the beam differently each turn 09/11/2015 Numerical Methods II - Kevin Li 22

Electron clouds in a quadrupole magnet Two stream collective interaction much more involved Beam passage leads to a pinch of the cloud which in turn acts back on the beam differently each turn 09/11/2015 Numerical Methods II - Kevin Li 23

Accelerator-beam system e-cloud Particles in/fields from slice i Basic loop of tracking with wake fields: Transport beam along segment to interaction point Perform e-cloud interaction requires electric fields from macroparticle distributions Electric field computation in this case conveniently handled with Particle-In- Cell algorithm 09/11/2015 Numerical Methods II - Kevin Li 24

E-cloud beam system PIC stands for Particle-In-Cell We use this method to compute fields generated by particles to solve e.g. the Poisson equation Electron motion occurs at the time scale of a slice of a bunch length track single slices through the e-cloud and apply integrated kicks 09/11/2015 Numerical Methods II - Kevin Li 25

E-cloud beam system PIC stands for Particle-In-Cell We use this method to compute fields generated by particles to solve e.g. the Poisson equation Electron motion occurs at the time scale of a slice of a bunch length track single slices through the e-cloud and apply integrated kicks Compute electric fields from one slice and from e-cloud Apply kicks to protons Advance electrons by one slice length this is a multi-scale dynamics problem (fast cyclotron motion superposed to slower guiding center drift) Boris algorithm for tracking (per macroparticle) Track next slice through e-cloud 09/11/2015 Numerical Methods II - Kevin Li 26

E-cloud beam system PIC stands for Particle-In-Cell We use this method to compute fields generated by particles to solve e.g. the Poisson equation Electron motion occurs at the time scale of a slice of a bunch length track single slices through the e-cloud and apply integrated kicks Compute electric fields from one slice and from e-cloud Apply kicks to protons Advance electrons by one slice length this is a multi-scale dynamics problem (fast cyclotron motion superposed to slower guiding center drift) Boris algorithm for tracking (per macroparticle) Track next slice through e-cloud 09/11/2015 Numerical Methods II - Kevin Li 27

E-cloud beam system PIC stands for Particle-In-Cell We use this method to compute fields generated by particles to solve e.g. the Poisson equation Electron motion occurs at the time scale of a slice of a bunch length track single slices through the e-cloud and apply integrated kicks Compute electric fields from one slice and from e-cloud Apply kicks to protons Advance electrons by one slice length this is a multi-scale dynamics problem (fast cyclotron motion superposed to slower guiding center drift) Boris algorithm for tracking (per macroparticle) Track next slice through e-cloud C. Birdsall and A. Langdon, Plasma Physics Via Computer Simulation (McGraw-Hill, Inc., New York, 1985) Hong Qin et al., Why is Boris algorithm so good?, Physics of Plasmas 20, 084503 (2013) 09/11/2015 Numerical Methods II - Kevin Li 28

E-cloud beam system Slice index n-1 i 1 PIC stands for Particle-In-Cell We use this method to compute fields generated by particles to solve e.g. the Poisson equation Electron motion occurs at the time scale of a slice of a bunch length track single slices through the e-cloud and apply integrated kicks Compute electric fields from one slice and from e-cloud Apply kicks to protons Advance electrons by one slice length this is a multi-scale dynamics problem (fast cyclotron motion superposed to slower guiding center drift) Boris algorithm for tracking (per macroparticle) Track next slice through e-cloud E-cloud at slice index t 09/11/2015 Numerical Methods II - Kevin Li 29

E-cloud beam system Slice index n-1 i 1 PIC stands for Particle-In-Cell We use this method to compute fields generated by particles to solve e.g. the Poisson equation Electron motion occurs at the time scale of a slice of a bunch length track single slices through the e-cloud and apply integrated kicks Compute electric fields from one slice and from e-cloud Apply kicks to protons Advance electrons by one slice length this is a multi-scale dynamics problem (fast cyclotron motion superposed to slower guiding center drift) Boris algorithm for tracking (per macroparticle) Track next slice through e-cloud E-cloud at slice index t 09/11/2015 Numerical Methods II - Kevin Li 30

Outline Introduction to macroparticle models implementations, applications and examples Part 1 numerical modelling Initialisation Simple tracking Chromaticity and detuning Wakefields with examples Constant wakes Dipole wakes TMCI & headtail modes Part 2 electron cloud Modelling of e-cloud interactions PIC solvers Application for e-cloud instabilities 09/11/2015 Numerical Methods II - Kevin Li 31

PIC solvers in brief In many of our codes, Particle in Cell (PIC) algorithms are used to compute the electric field generated by a set of charged particles in a set of discrete points (can be the locations of the particles themselves, or of another set of particles) The solution typically consists of 4 stages: 1. Charge scatter from macroparticles (MPs) to grid (reduction of macroparticles) 2. Calculation of the electrostatic potential at the nodes 3. Calculation of the electric field at the nodes (gradient evaluation) 4. Field gather from grid to MPs 09/11/2015 Numerical Methods II - Kevin Li 32

PIC solvers in brief The solution typically consists of 4 stages: 1. Charge scatter from macroparticles (MPs) to grid (reduction of macroparticles) 2. Calculation of the electrostatic potential at the nodes 3. Calculation of the electric field at the nodes (gradient evaluation) 4. Field gather from grid to MPs Internal nodes External nodes (optional) Uniform square grid 09/11/2015 Numerical Methods II - Kevin Li 33

PIC solvers basic steps The solution typically consists of 4 stages: 1. Charge scatter from macroparticles (MPs) to grid (reduction of macroparticles) 2. Calculation of the electrostatic potential at the nodes 3. Calculation of the electric field at the nodes (gradient evaluation) 4. Field gather from grid to MPs 09/11/2015 Numerical Methods II - Kevin Li 34

PIC solvers basic steps The solution typically consists of 4 stages: 1. Charge scatter from macroparticles (MPs) to grid (reduction of macroparticles) 2. Calculation of the electrostatic potential at the nodes 3. Calculation of the electric field at the nodes (gradient evaluation) 4. Field gather from grid to MPs Different numerical approaches exist to solve these types of equations each with its own advantages and drawbacks: Boundary conditions (e.g., perfectly conducting, open, periodic) Open space FFT solver (explicit, very fast but open boundaries) Rectangular boundary FFT solver (explicit, very fast but only rectangular boundaries) Finite Difference implicit Poisson solver (arbitrary chamber shape, sparse matrix, possibility to use Shortley Weller boundary refinement, KLU fast routines, computationally more demanding) Dual or multi-grid in combination with direct or iterative solvers 09/11/2015 Numerical Methods II - Kevin Li 35

PIC solvers basic steps The solution typically consists of 4 stages: 1. Charge scatter from macroparticles (MPs) to grid (reduction of macroparticles) 2. Calculation of the electrostatic potential at the nodes 3. Calculation of the electric field at the nodes (gradient evaluation) 4. Field gather from grid to MPs 09/11/2015 Numerical Methods II - Kevin Li 36

PIC solvers basic steps The solution typically consists of 4 stages: 1. Charge scatter from macroparticles (MPs) to grid (reduction of macroparticles) 2. Calculation of the electrostatic potential at the nodes 3. Calculation of the electric field at the nodes (gradient evaluation) 4. Field gather from grid to MPs 09/11/2015 Numerical Methods II - Kevin Li 37

Numerical model of electron cloud effects Multi-bunch beam s Noise Equations of motion of the beam particles x E-cloud build up Primary and secondary electron production, chamber properties Instability problem y Build-up problem 09/11/2015 Numerical Methods II - Kevin Li 38

Numerical model of electron cloud effects A self-consistent treatment requires the combination of an instability and a build-up code Becomes easily possible with modular structure and good design of codes (e.g. object orientation) PyHEADTAIL PyECLOUD PyHEADTAIL Initial e- distribution (from build-up sim.) For each slice Generate seed e - Transverse tracking with Q, octupoles etc. Longitudinal tracking Beam Slicer Evaluate beam slice electric field (Particle in Cell) Transverse feedback Impedances Transverse tracking with Q, octupoles etc. Evaluate the e - electric field (Particle in Cell) v Apply kick on the beam particles Space charge Beam Longitudinal tracking Transverse feedback Compute e - motion (t->t+δt) (possibly with substeps) Impedances Space charge Detect impacts and generate secondaries Legend: From instability code From build-up code Interaction between the two codes 09/11/2015 Numerical Methods II - Kevin Li 39

Numerical model of electron cloud effects Coupled bunch electron cloud instability naturally needs a self-consistent solution of the electron cloud problem A broad time scale to cover, currently working on the problem For the moment we simulate the two branches separately (similar to what is done for impedances): Electron cloud build up Multi-bunch Usually single passage, single turn or just few turns Electron cloud instability Single bunch Multi-turn, or even multi-kick multi-turn Build up simulation ECLOUD, PyECLOUD, POSINST, CSEC, Information on how many electrons interact with a bunch: central density detailed distribution Instability simulation HEADTAIL, PyHEADTAIL, CMAD, PEHTS, 09/11/2015 Numerical Methods II - Kevin Li 40

Numerical model of electron cloud effects In principle both coherent instability and incoherent emittance growth could be predicted by these simulations Evolution of a beam interacting with an electron cloud depends on a significant number of parameters in a non-trivial way Bunch length (longitudinal emittance) Beam transverse sizes (emittances and beta functions at the electron cloud location) Beam energy Beam current (number of particles per bunch) Chromaticity Magnetic field (field-free, dipole, quadrupole) Electron cloud density and distribution (in reality determined by many of the above parameters, but can be set independently in simulations) 09/11/2015 Numerical Methods II - Kevin Li 41

Outline Introduction to macroparticle models implementations, applications and examples Part 1 numerical modelling Initialisation Simple tracking Chromaticity and detuning Wakefields with examples Constant wakes Dipole wakes TMCI & headtail modes Part 2 electron cloud Modelling of e-cloud interactions PIC solvers Application for e-cloud instabilities 09/11/2015 Numerical Methods II - Kevin Li 42

Electron cloud induced instabilities Typical e-cloud simulation try to identify the e-cloud central density threshold for an instability Scans in the central density are performed until an exponential growth can be observed in the emittance Coherent instabilities occur when a certain central cloud density threshold is breached This leads to coherent intra bunch motion which grows exponentially A consequence is emittance blow-up and losses 09/11/2015 Numerical Methods II - Kevin Li 43

Ex. of coherent e-cloud effects in the LHC First injection of 48 bunches of 25 ns beam into the LHC in 2011 Beam was dumped twice due to a violent instability in the vertical plane, causing losses above the interlock threshold Some motion only for last bunches ~ bunch 25 is the first unstable up to ±5mm 09/11/2015 Numerical Methods II - Kevin Li 44

Ex. of coherent e-cloud effects in the LHC 48b injection test (26/08/11) Headtail silation 1 Headtail 1 48x PyECLOUD e - distribution (d max =2.1) Some motion only for last bunches bunch 48 48x HEADTAIL simulations reveal the onset of instability ~ bunch 25 is the first unstable up to ±5mm 09/11/2015 Numerical Methods II - Kevin Li 45

Ex. of incoherent e-cloud effects in the LHC Remember tune footprint from octupoles in Part I 09/11/2015 Numerical Methods II - Kevin Li 46

Ex. of incoherent e-cloud effects in the LHC Q v=15 Qv=.305 Q v=10 Qv=.305 Q v=15 Qv=.300 09/11/2015 Numerical Methods II - Kevin Li 47

Ex. of incoherent e-cloud effects in the LHC Macroparticle simulations allow to obtain tune footprint from all effects separated as well as from all effects combined Octupole knob at -1.5 Q =0/0, no e-cloud Resonance line Octupole knob at 0 Q =0/0, 5 x 10 11 e/m 3 Octupole knob at -1.5 Q =15/20, no e-cloud Octupole knob at -1.5 Q =15/20, 5 x 10 11 e/m 3 A. Romano et al 09/11/2015 Numerical Methods II - Kevin Li 48

Ex. of incoherent e-cloud effects in the LHC Macroparticle simulations allow to obtain tune footprint from all effects separated as well as from all effects combined to identify the source of incoherent losses in the LHC Octupole knob at -1.5 Q =0/0, no e-cloud Resonance line Q v=10 Qv=.305 Octupole knob at -1.5 Q =15/20, no e-cloud Q v=15 Qv=.305 Q v=15 Qv=.300 Octupole knob at 0 Octupole knob at -1.5 Q =0/0, 5 x 10 11 e/m 3 Q =15/20, 5 x 10 11 e/m 3 A. Romano et al 09/11/2015 Numerical Methods II - Kevin Li 49

Vlasov solvers No time this time 09/11/2015 Numerical Methods II - Kevin Li 50

End part II 09/11/2015 Numerical Methods II - Kevin Li 51

Backup 09/11/2015 Numerical Methods II - Kevin Li 52

Electron clouds in a bending magnet The electrons exhibit different transverse (x,y) distributions, according to the type of region in which the electron cloud is formed In dipole regions, the electron motion is confined along the lines of the magnetic field. Example: snaposhots of multipacting in the dipole of an LHC arc cell during bunch passage and including secondary production. 09/11/2015 Numerical Methods II - Kevin Li 53

Electron clouds in a quadrupole magnet The electrons exhibit different transverse (x,y) distributions, according to the type of region in which the electron cloud is formed In quadrupole regions, the electrons tend to multipact along the pole-to-pole lines of the cross section (example: snapshots of multipacting in an LHC arc quadrupole). Multipacting thresholds are usually lower in quadrupoles because electrons survive long thanks to trapping due to the magnetic gradient. 09/11/2015 Numerical Methods II - Kevin Li 54

Basic stages of a PIC algorithm Standard Particle In Cell (PIC) 4 stages: 1. Charge scatter from macroparticles (MPs) to grid 2. Calculation of the electrostatic potential at the nodes 3. Calculation of the electric field at the nodes (gradient evaluation) 4. Field gather from grid to MPs Internal nodes: External nodes: Can be written in matrix form: A is sparse and depends only on chamber geometry and grid size It can be computed and LU factorized in the initialization stage to speed up calculation 09/11/2015 Numerical Methods II - Kevin Li 55

Electron space charge evaluation in PyECLOUD With this approach a curved boundary is approximated with a staircase Can we do better? 09/11/2015 Numerical Methods II - Kevin Li 56

The Shortley - Weller method Refined approximation of Laplace operator at boundary nodes: Usual 5-points formula at internal nodes: O(h 2 ) truncation error is preserved (see: N. Matsunaga and T. Yamamoto, Journal of Computational and Applied Mathematics 116 2000, pp. 263 273) 09/11/2015 Numerical Methods II - Kevin Li 57

The Shortley - Weller method Sorry for the change of notation Refined gradient evaluation at boundary nodes: Usual central difference for gradient evaluation at internal nodes: 09/11/2015 Numerical Methods II - Kevin Li 58

The Shortley - Weller method Tricky implementation: Boundary nodes need to be identified, distances from the curved boundary need to be evaluated o PyECLOUD impact routines have been employed (some refinement was required since they are optimized for robustness while here we need accuracy) Nodes too close to the boundary can lead to ill conditioned A matrix we identify them and impose U=0 o Special treatment for gradient evaluation is needed at these nodes Since chamber geometry and grid size stay constant along the simulation most of the boundary treatment can be handled in the initialization stage 09/11/2015 Numerical Methods II - Kevin Li 59

The Shortley - Weller method Tricky implementation: Boundary nodes need to be identified, distances from the curved boundary need to be evaluated o PyECLOUD impact routines have been employed (some refinement was required since they are optimized for robustness while here we need accuracy) Nodes too close to the boundary can lead to ill conditioned A matrix we identify them and impose U=0 o Special treatment for gradient evaluation is needed at these nodes Since chamber geometry and grid size stay constant along the simulation most of the boundary treatment can be handled in the initialization stage Field map extrapolated outside the chamber to simplify field gather for particle close to the chamber s wall 09/11/2015 Numerical Methods II - Kevin Li 60

Dual grid Alternative approach: use a dual grid solver - Basic idea Keep inner grid around beam fixed, to keep beam resolution constant Scale second grid around maximum ion trajectory, to keep track of all ions - Implementation Implementation is very explicit and quite rigid But fast to implement and consistent with current PIC routines Requires that grids must be matched at border, such that the outer edge of the inner grid coincides with a cell edge in the larger grid - Gives good & consistent beam resolution at smaller computational cost 09/11/2015 Numerical Methods II - Kevin Li 61