Presentation is loading. Please wait.

Presentation is loading. Please wait.

PyECLOUD G. Iadarola, G. Rumolo ECLOUD meeting 28/11/2011 Thanks to: R. De Maria, K. Li.

Similar presentations


Presentation on theme: "PyECLOUD G. Iadarola, G. Rumolo ECLOUD meeting 28/11/2011 Thanks to: R. De Maria, K. Li."— Presentation transcript:

1 PyECLOUD G. Iadarola, G. Rumolo ECLOUD meeting 28/11/2011 Thanks to: R. De Maria, K. Li

2 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o Back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

3 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o Back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

4 Why a new code for electron cloud build-up simulation? At the very beginning our idea was to reorganize ECLOUD in order to make it easier the development of new features, to identify and correct of present and future bugs, to access to a larger amount of information about our simulations.

5 Why a new code for electron cloud build-up simulation? This task has revealed to be quite hard since: The code is scarcely modular: the frequent use of global variables makes very difficult to extract subroutines and building self consistent modules for development and testing purposes In Fortran 77 is very difficult to write readable and flexible code (even a proper indentation is a non-trivial task) At the very beginning our idea was to reorganize ECLOUD in order to make it easier the development of new features, to identify and correct of present and future bugs, to access to a larger amount of information about our simulations.

6 Why a new code for electron cloud build-up simulation? At the very beginning our idea was to reorganize ECLOUD in order to make it easier the development of new features, to identify and correct of present and future bugs, to access to a larger amount of information about our simulations. We have retained that the effort of writing a fully reorganized code, in a newer and more powerful language, should be compensated by a significantly increased efficiency in future development and debugging.

7 Python Allows incremental and interactive development of the code, encouraging an highly modular structure. Reading and understanding the code, writing extensions, exploring different solutions is much faster (orders of magnitude!!) with respect to compiled languages (especially looking at FORTRAN 77) Open source libraries (like NumPy and SciPy) make it a very powerful tool for scientific computation (comparable to a specialized commercial tool like MATLAB) Computationally intensive parts can be written in C/C++ or FORTRAN and easily integrated in a Python code (successfully employed in our distribution computation/interpolation routines – x6 overall speed up) It is a powerful general purpose interpreted language:

8 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o Back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

9 From ECLOUD to PyECLOUD Writing PyECLOUD has required a detailed analysis of ECLOUD algorithm and implementation, looking also at the related long experience in electron cloud simulations. Attention has been devoted to the individuation of ECLOUD limitations, in particular in terms of its convergence properties with respect to the electron distribution in bending magnets (how many stripes…)

10 From ECLOUD to PyECLOUD Writing PyECLOUD has required a detailed analysis of ECLOUD algorithm and implementation, looking also at the related long experience in electron cloud simulations. Attention has been devoted to the individuation of ECLOUD limitations, in particular in terms of its convergence properties with respect to the electron distribution in bending magnets (how many stripes…) As a result, several features have been significantly modified in order to improve the code’s performances in terms: Accuracy Efficiency Flexibility

11 Ingredients for e-cloud build-up simulation 1. Seed electrons generation (gas ionization, photoemission)

12 Ingredients for e-cloud build-up simulation 1. Seed electrons generation (gas ionization, photoemission) 2. Force exerted by the beam on e -

13 Ingredients for e-cloud build-up simulation 1. Seed electrons generation (gas ionization, photoemission) 2. Force exerted by the beam on e - 3. Force exerted by the e - on each other (space charge)

14 Ingredients for e-cloud build-up simulation 1. Seed electrons generation (gas ionization, photoemission) 2. Force exerted by the beam on e - 3. Force exerted by the e - on each other (space charge) 4. Equations of motion (also in presence of an external magnetic field)

15 Ingredients for e-cloud build-up simulation 1. Seed electrons generation (gas ionization, photoemission) 2. Force exerted by the beam on e - 3. Force exerted by the e - on each other (space charge) 4. Equations of motion (also in presence of an external magnetic field) 5. Secondary emission

16 The most relevant improvements introduced in PyECLOUD are: A different management of macroparticle size and number A more accurate back-tracking algorithm for the impacting electrons A more efficient computation of the electric field generated by the travelling proton beam A more general ad accurate method for the evaluation of the electrons space-charge field From ECLOUD to PyECLOUD

17 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o Back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

18 Macroparticles The simulation of the dynamics of the entire number of electrons (≈10 10 per meter) is extremely heavy (practically unaffordable) Since the dynamics equation of the electron depends only on the q/m ratio of the electron a macroparticle (MP) method can be used: The MP size can be seen as the “resolution” our electron gas simulation

19 Macroparticles In an electron-cloud buildup, due to the multipacting process, the electron number spreads several orders of magnitude: It is practically impossible to choose a MP size that is suitable for the entire simulation (allowing a satisfactory description of the phenomenon and a computationally affordable number of MPs)

20 ECLOUD – MP number control: the CLEAN routine In ECLOUD the clean routine is called once per bunch passage and when the number of MPs goes beyond 2*10 5

21 ECLOUD – MP number control: the CLEAN routine In ECLOUD the clean routine is called once per bunch passage and when the number of MPs goes beyond 2*10 5 If the number of MPs N mp is >5*10 4 it randomly eliminates MPs in order to obtain N mp ≈ 5*10 4.

22 ECLOUD – MP number control: the CLEAN routine In ECLOUD the clean routine is called once per bunch passage and when the number of MPs goes beyond 2*10 5 If the number of MPs N mp is >5*10 4 it randomly eliminates MPs in order to obtain N mp ≈ 5*10 4.

23 ECLOUD – MP number control: the CLEAN routine In ECLOUD the clean routine is called once per bunch passage and when the number of MPs goes beyond 2*10 5 If the number of MPs N mp is >5*10 4 it randomly eliminates MPs in order to obtain N mp ≈ 5*10 4. Then the remaining MPs’ charge is rescaled in order to obtain the same total charge present in the chamber before the clean

24 ECLOUD – MP number control: the CLEAN routine In ECLOUD the clean routine is called once per bunch passage and when the number of MPs goes beyond 2*10 5 If the number of MPs N mp is >5*10 4 it randomly eliminates MPs in order to obtain N mp ≈ 5*10 4. Then the remaining MPs’ charge is rescaled in order to obtain the same total charge present in the chamber before the clean This approach guarantees the charge conservation but does not preserve the total energy or the velocity distribution of the electrons.

25 In a typical ECLOUD simulation (SPS MBB SEY=1.5): The number and the size of MPs produced by the seed generation mechanism is kept constant during the entire simulation. As consequence, at saturation, we have a certain number of MPs carrying practically no charge (≈ 5% of the MPs carries ≈1ppm of the total charge) ECLOUD – MP number control: other observations

26 In a typical ECLOUD simulation (SPS MBB SEY=1.5): The number and the size of MPs produced by the seed generation mechanism is kept constant during the entire simulation. As consequence, at saturation, we have a certain number of MPs carrying practically no charge (≈ 5% of the MPs carries ≈1ppm of the total charge) At saturation, there is a consistent number of MPs which are trapped near the chamber wall and undergo several low energy impact becoming smaller and smaller. In ECLOUD there is no mechanism which selectively eliminates them. ECLOUD – MP number control: other observations

27 In PyECLOUD we try to treat in a unified way all issues related to MP size and number, namely: PyECLOUD – MP number control: a global approach

28 In PyECLOUD we try to treat in a unified way all issues related to MP size and number, namely: 1)Given the number of seed e - to be generated in a certain time-step how many MP do we generate? (i.e. how do we choose their size?) PyECLOUD – MP number control: a global approach

29 In PyECLOUD we try to treat in a unified way all issues related to MP size and number, namely: 1)Given the number of seed e - to be generated in a certain time-step how many MP do we generate? (i.e. how do we choose their size?) 2)When a MP hits the wall when it is sufficient to change the size of the current MP according to the Secondary Emission Yield and when true secondary MPs must be created? PyECLOUD – MP number control: a global approach

30 In PyECLOUD we try to treat in a unified way all issues related to MP size and number, namely: 1)Given the number of seed e - to be generated in a certain time-step how many MP do we generate? (i.e. how do we choose their size?) 2)When a MP hits the wall when it is sufficient to change the size of the current MP according to the Secondary Emission Yield and when true secondary MPs must be created? 3)When a MP (after some low energy impacts) is considered so small to be eliminated without affecting the simulation? PyECLOUD – MP number control: a global approach x

31 In PyECLOUD we try to treat in a unified way all issues related to MP size and number, namely: 1)Given the number of seed e - to be generated in a certain time-step how many MP do we generate? (i.e. how do we choose their size?) 2)When a MP hits the wall when it is sufficient to change the size of the current MP according to the Secondary Emission Yield and when true secondary MPs must be created? 3)When a MP (after some low energy impacts) is considered so small to be eliminated without affecting the simulation? 4)What to do when, because of multipacting process, the number of MPs becomes too large for a reasonable computational burden ? PyECLOUD – MP number control: a global approach x

32 We control all this issues through the single parameter N ref which is a target average size of the MPs (i.e. our resolution) and is adaptively changed during the simulation: PyECLOUD – MP number control: a global approach

33 We control all this issues through the single parameter N ref which is a target average size of the MPs (i.e. our resolution) and is adaptively changed during the simulation: 1)Given the number of seed e - to be generated, the generated MPs have size N ref and their number is chosen as a consequence PyECLOUD – MP number control: a global approach

34 We control all this issues through the single parameter N ref which is a target average size of the MPs (i.e. our resolution) and is adaptively changed during the simulation: 1)Given the number of seed e - to be generated, the generated MPs have size N ref and their number is chosen as a consequence 2)When a MP hits the wall, additional true secondary MPs are emitted if the total emitted charge is >1.5N ref and, in that case, their number is chosen so that their size is as close as possible to N ref PyECLOUD – MP number control: a global approach

35 We control all this issues through the single parameter N ref which is a target average size of the MPs (i.e. our resolution) and is adaptively changed during the simulation: 1)Given the number of seed e - to be generated, the generated MPs have size N ref and their number is chosen as a consequence 2)When a MP hits the wall, additional true secondary MPs are emitted if the total emitted charge is >1.5N ref and, in that case, their number is chosen so that their size is as close as possible to N ref 3)At each bunch passage a clean function is called that eliminates all the MPs with charge <10 -4 N ref x PyECLOUD – MP number control: a global approach

36 4)When the number of MPs becomes larger than a certain threshold (≈10 5 ) that means that the computational burden is becoming too high, we change MP target size (N ref ) and perform a regeneration of the MPs system: PyECLOUD – MP number control: a global approach

37 4)When the number of MPs becomes larger than a certain threshold (≈10 5 ) that means that the computational burden is becoming too high, we change MP target size (N ref ) and perform a regeneration of the MPs system: a.Each macroparticle is assigned to a cell of a uniform grid in the 5-D space (x,y,v x,v y,v z ) obtaining an approximation of the phase space distribution PyECLOUD – MP number control: a global approach

38 4)When the number of MPs becomes larger than a certain threshold (≈10 5 ) that means that the computational burden is becoming too high, we change MP target size (N ref ) and perform a regeneration of the MPs system: a.Each macroparticle is assigned to a cell of a uniform grid in the 5-D space (x,y,v x,v y,v z ) obtaining an approximation of the phase space distribution PyECLOUD – MP number control: a global approach

39 4)When the number of MPs becomes larger than a certain threshold (≈10 5 ) that means that the computational burden is becoming too high, we change MP target size (N ref ) and perform a regeneration of the MPs system: a.Each macroparticle is assigned to a cell of a uniform grid in the 5-D space (x,y,v x,v y,v z ) obtaining an approximation of the phase space distribution PyECLOUD – MP number control: a global approach

40 4)When the number of MPs becomes larger than a certain threshold (≈10 5 ) that means that the computational burden is becoming too high, we change MP target size (N ref ) and perform a regeneration of the MPs system: a.Each macroparticle is assigned to a cell of a uniform grid in the 5-D space (x,y,v x,v y,v z ) obtaining an approximation of the phase space distribution b.The new target MP size is chosen so that: PyECLOUD – MP regeneration

41 4)When the number of MPs becomes larger than a certain threshold (≈10 5 ) that means that the computational burden is becoming too high, we change MP target size (N ref ) and perform a regeneration of the MPs system: a.Each macroparticle is assigned to a cell of a uniform grid in the 5-D space (x,y,v x,v y,v z ) obtaining an approximation of the phase space distribution b.The new target MP size is chosen so that: c.A new MPs set, having the new reference size, is generated according to the computed distribution. PyECLOUD – MP regeneration

42 4)When the number of MPs becomes larger than a certain threshold (≈10 5 ) that means that the computational burden is becoming too high, we change MP target size (N ref ) and perform a regeneration of the MPs system: a.Each macroparticle is assigned to a cell of a uniform grid in the 5-D space (x,y,v x,v y,v z ) obtaining an approximation of the phase space distribution b.The new target MP size is chosen so that: c.A new MPs set, having the new reference size, is generated according to the computed distribution. PyECLOUD – MP regeneration All moments related to position and velocity (e.g. energy distrib., charge distrib.) are preserved. The error on total charge and total energy does not go beyond 1-2%

43 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o Back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

44 Impacting electrons backtracking - ECLOUD Electrons impacting on the chamber’s wall are detected when they are found outside the chamber and must be backtracked on the wall. ECLOUD applies a simple rescaling of the electron’s position:

45 Impacting electrons backtracking - ECLOUD Electrons impacting on the chamber’s wall are detected when they are found outside the chamber and must be backtracked on the wall. ECLOUD applies a simple rescaling of the electron’s position:

46 Impacting electrons backtracking - ECLOUD Electrons impacting on the chamber’s wall are detected when they are found outside the chamber and must be backtracked on the wall. ECLOUD applies a simple rescaling of the electron’s position: This forces to choose very small time-steps in order to avoid perturbations on the distribution of the electron cloud.

47 Impacting electrons backtracking - PyECLOUD Electrons impacting on the chamber’s wall are detected when they are found outside the chamber and must be backtracked on the wall. PyECLOUD always stores the MPs’ position at previous timestep in order to compute the crossing point between the chamber’s wall and the electron’s trajectory :

48 Impacting electrons backtracking - PyECLOUD Electrons impacting on the chamber’s wall are detected when they are found outside the chamber and must be backtracked on the wall. PyECLOUD always stores the MPs’ position at previous timestep in order to compute the crossing point between the chamber’s wall and the electron’s trajectory :

49 Impacting electrons backtracking - PyECLOUD Electrons impacting on the chamber’s wall are detected when they are found outside the chamber and must be backtracked on the wall. PyECLOUD always stores the MPs’ position at previous timestep in order to compute the crossing point between the chamber’s wall and the electron’s trajectory :

50 Impacting electrons backtracking - PyECLOUD Electrons impacting on the chamber’s wall are detected when they are found outside the chamber and must be backtracked on the wall. PyECLOUD always stores the MPs’ position at previous timestep in order to compute the crossing point between the chamber’s wall and the electron’s trajectory : Together with the improved space-charge computation, this simple trick has a great impact on the convergence properties with respect to the timestep (as we will see in a few slides).

51 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o Back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

52 ECLOUD - Beam field computation In ECLOUD the electric field of the beam is computed at each time-step at each electron location. x y σyσy σxσx E0E0 b a x y E imag. ch. Beam field calculated in free space Image charge contributions (effect of the perfectly conducting chamber)

53 In ECLOUD the electric field of the beam is computed at each time-step at each electron location. x y σyσy σxσx E0E0 b a x y E imag. ch. Beam field calculated in free space Image charge contributions (effect of the perfectly conducting chamber) Based on the Bassetti-Erskine formula:Images of a point charge: where: With: ECLOUD - Beam field computation

54 In ECLOUD the electric field of the beam is computed at each time-step at each electron location. x y σyσy σxσx E0E0 b a x y E imag. ch. Beam field calculated in free space Image charge contributions (effect of the perfectly conducting chamber) This task takes a great part of the computation time (70% with a quite coarse time-step) ECLOUD - Beam field computation

55 We can exploit the information available about the beam structure to make its field evaluation much more efficient. The beam is modeled as a travelling charge distribution having the form: PyECLOUD - Beam field computation

56 We can exploit the information available about the beam structure to make its field evaluation much more efficient. The beam is modeled as a travelling charge distribution having the form: PyECLOUD - Beam field computation

57 We can exploit the information available about the beam structure to make its field evaluation much more efficient. The beam is modeled as a travelling charge distribution having the form: We assume is the longitudinal charge density of the beam PyECLOUD - Beam field computation

58 If we considered a beam charge that is perfectly concentrated in s and has the same shape of our beam in the transverse plane: We obtain that the field has the following form: PyECLOUD - Beam field computation

59 If we considered a beam charge that is perfectly concentrated in s and has the same shape of our beam in the transverse plane: We obtain that the field has the following form: It is easy to prove that that, in case of a generic longitudinal distribution, the field can be written as: PyECLOUD - Beam field computation

60 This suggests to exploit the following procedure: The field map for the relevant chamber geometry and beam shape is pre- computed on a suitable rectangular grid and loaded from file in the initialization stage PyECLOUD - Beam field computation

61 This suggests to exploit the following procedure: The field map for the relevant chamber geometry and beam shape is pre- computed on a suitable rectangular grid and loaded from file in the initialization stage When the field at a certain location is needed a linear (4 points) interpolation algorithm is employed PyECLOUD - Beam field computation

62 This suggests to exploit the following procedure: The field map for the relevant chamber geometry and beam shape is pre- computed on a suitable rectangular grid and loaded from file in the initialization stage When the field at a certain location is needed a linear (4 points) interpolation algorithm is employed The field is rescaled by the relevant beam longitudinal density PyECLOUD - Beam field computation

63 This approach gives some advantages: Improvement of computation efficiency Improvement of the field accuracy (since the field is evaluated “offline” we have no time constraints on the field computation) We are not restricted to elliptical chambers anymore PyECLOUD - Beam field computation

64 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o Back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

65 Electron space charge - ECLOUD In ECLOUD, the electric field due to the electrons in the chamber is calculated as follows: The charge of each electron is attributed to the nearest node of a predefined uniform rectangular grid

66 Electron space charge - ECLOUD In ECLOUD, the electric field due to the electrons in the chamber is calculated as follows: The charge of each electron is attributed to the nearest node of a predefined uniform rectangular grid The electric field of this grid of point charges is calculated on the points of the same grid by adding to their free-space field the image terms related to the elliptical perfectly conducting boundary

67 Electron space charge - ECLOUD In ECLOUD, the electric field due to the electrons in the chamber is calculated as follows: The charge of each electron is attributed to the nearest node of a predefined uniform rectangular grid The electric field of this grid of point charges is calculated on the points of the same grid by adding to their free-space field the image terms related to the elliptical perfectly conducting boundary The electric field at the location of each electron is evaluated employing a linear (4-point) interpolation formula

68 Electron space charge - ECLOUD This approach presents some drawbacks: The evaluation of the field of grid points that are very close to the chamber’s surface require a large amount of image terms (≈200) To avoid pathological situations, the grid points that are closer to the camber’s wall are not used but this can affect the accuracy on the space- charge field near the wall This kind of approach is limited to elliptical geometries

69 Electron space charge - PyECLOUD In PyECLOUD we have implemented a 2D Particle in Cell algorithm. The electrostatic potential in the chamber is solution of the Poisson equation with homogeneous boundary conditions: withon the boundary Electrostatic potentialElectron charge density

70 Electron space charge - PyECLOUD In PyECLOUD we have implemented a 2D Particle in Cell algorithm. The electrostatic potential in the chamber is solution of the Poisson equation with homogeneous boundary conditions: withon the boundary The electric field can be retrieved from the potential by the following formula Electrostatic potentialElectron charge density This problem can be handled numerically using the following strategy…

71 Electron space charge - PyECLOUD In PyECLOUD we have implemented a 2D Particle in Cell algorithm. 1)The electron charge density distribution ρ(x,y) is computed on a uniform square grid by distributing the charge of each electron to the nearest 4 nodes:

72 Electron space charge - PyECLOUD In PyECLOUD we have implemented a 2D Particle in Cell algorithm. 2)The finite difference method is employed to solve the Poisson equation:

73 Electron space charge - PyECLOUD In PyECLOUD we have implemented a 2D Particle in Cell algorithm. 2)The finite difference method is employed to solve the Poisson equation: Sparse matrix depending only on the geometry (can be computed in the initialization stage and reused for all the space-charge evaluations).

74 Electron space charge - PyECLOUD In PyECLOUD we have implemented a 2D Particle in Cell algorithm. 3)The electric field on the same grid is obtained using central difference equations:

75 Electron space charge - PyECLOUD In PyECLOUD we have implemented a 2D Particle in Cell algorithm. 4)The electric field at each electron locations is computed using a linear (4- points) interpolation:

76 Electron space charge - PyECLOUD

77 In PyECLOUD we have implemented a 2D Particle in Cell algorithm. This eliminates the convergence problems related to the image- charge approach and also eliminates the limitation to geometries for which image the charge expansion exists.

78 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

79 Convergence study The most relevant parameters of the considered test-case are summarized below: Geometry of an MBB bending magnet with its average beta functions ( = 33.85m = 71.87m) Energy E=26GeV assuming SEY max = 1.5 and r.m.s. bunch length σ z =0.2m bunch spacing b s =25ns, normalized emittance ε n =3μm Filling pattern: To have an idea of the impact of the new features introduced in PyECLOUD, we have studied the convergence properties of both the codes as a function of the time-step. 72 8 25ns buckets 72 8

80 Convergence study - Number of electrons ECLOUD

81 Convergence study - Number of electrons ECLOUDPyECLOUD

82 Convergence study – Heat load ECLOUDPyECLOUD

83 Convergence study – Center electron density Zoom here ECLOUDPyECLOUD

84 Convergence study – Center electron density ECLOUDPyECLOUD

85 Convergence study – Scrubbing electrons ECLOUDPyECLOUD

86 Convergence study – Electrons ditribution ECLOUDPyECLOUD

87 TimestepECLOUDPYECLOUD 0.2 ns29 min12 min 0.1 ns1h 27 min13 min 0.05 ns1h 45 min24 min 0.025ns3h 7 min40 min 0.012ns4h 15 min1h 6 min Processing time

88 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

89 PyECLOUD at work SPS: More than one turn – 5h computing time For details see present. at SPSU metting 13 October 2011

90 Heat load benchmarking of last 25ns scrubbing run (24 October) PyECLOUD at work

91 Heat load benchmarking of last 25ns scrubbing run (24 October) Simulations with measured bunch intensity (FBCT) and bunch length (BQM) – 9h computing time PyECLOUD at work

92 Heat load benchmarking of last 25ns scrubbing run (24 October) Simulations with measured bunch intensity (FBCT) and bunch length (BQM) – 9h computing time

93 Heat load benchmarking of last 25ns scrubbing run (24 October) Simulations with measured bunch intensity (FBCT) and bunch length (BQM) – 9h computing time

94 Heat load benchmarking of last 25ns scrubbing run (24 October) Simulations with measured bunch intensity (FBCT) and bunch length (BQM) – 9h computing time

95 Heat load benchmarking of last 25ns scrubbing run (24 October) Simulations with measured bunch intensity (FBCT) and bunch length (BQM) – 9h computing time PyECLOUD at work

96 For details see present. at SPSU metting 13 October 2011 Build-up slope @ bunch passage 40 PyECLOUD at work

97 Electron wave LHC dipole @ 7TeVPS drift @ 26GeV PyECLOUD at work

98 Outline Why a new code for electron cloud build-up simulation? From ECLOUD to PyECLOUD o Management of macroparticle size and number o Back-tracking algorithm for the impacting electrons o Beam field calculation o Space charge field Preliminary convergence study PyECLOUD at work Conclusion and future work

99 Conclusion and future developments We have implemented an evolution of the ECLOUD code for the simulation of the electron cloud build-up Several improvements have been introduced with a significant impact on convergence properties and processing time Future developments of PyECLOUD may include: Further convergence studies (LHC top energy) Generalization of the particle backtracking algorithm to non elliptical chambers (e.g. SPS/LHC bending magnets) Generalization of the dynamics equations to an arbitrary magnetic field map (e.g. for the simulation of the electron cloud in quadrupoles or in PS combined function magnets)

100 Thanks for your attention!

101 Slope in the build-upNumber of electrons in “deep” sat.

102 t=t+Δt Evaluate the electric field of beam and spacecharge at each e - location Generate seed e - Dynamics equations solution for this timestep Detect impacts and generate secondaries Ingredients for e-cloud build-up simulation


Download ppt "PyECLOUD G. Iadarola, G. Rumolo ECLOUD meeting 28/11/2011 Thanks to: R. De Maria, K. Li."

Similar presentations


Ads by Google