1 IMPACT-Z and IMPACT-T: Code Improvements and Applications Ji Qiang Center of Beam Physics Lawrence Berkeley National Laboratory SciDAC II, COMPASS collaboration.

Slides:



Advertisements
Similar presentations
Paul Emma SLAC January 14, 2002 BERLIN CSR Benchmark Test-Case Results CSR Workshop.
Advertisements

Contour plots of electron density 2D PIC in units of  [n |e|] cr wake wave breaking accelerating field laser pulse Blue:electron density green: laser.
05/03/2004 Measurement of Bunch Length Using Spectral Analysis of Incoherent Fluctuations Vadim Sajaev Advanced Photon Source Argonne National Laboratory.
1 ILC Bunch compressor Damping ring ILC Summer School August Eun-San Kim KNU.
P. Emma, SLACLCLS FAC Meeting - April 29, 2004 Linac Physics, Diagnostics, and Commissioning Strategy P. Emma LCLS FAC Meeting April 29, 2004 LCLS.
Feedback and CSR Miniworkshop on XFEL Short Bunch, SLAC, July 26 – 30, 2004 Juhao Wu, SLAC 1 Juhao Wu Stanford Linear Accelerator.
The Physics and Applications of High Brightness Electron Beams - Erice, October 9-14, 2005 Simulations of coherent synchrotron radiation effects on beam.
Feedback and CSR Miniworkshop on XFEL Short Bunch, SLAC, July 26 – 30, 2004 Juhao Wu, SLAC 1 Juhao Wu Stanford Linear Accelerator.
2 Lasers: Centimeters instead of Kilometers ? If we take a Petawatt laser pulse, I=10 21 W/cm 2 then the electric field is as high as E=10 14 eV/m=100.
Introduction Status of SC simulations at CERN
CSR calculation in ERL merger section Tsukasa Miyajima KEK, High Energy Accelerator Research Organization 8 November, 2010, 13:30 Mini Workshop on CSR.
Magnetic Compression of High Brightness Beams: Survey of Experimental Results Scott G. Anderson ICFA Sardinia July 2002.
SciDAC Accelerator Simulation project: FNAL Booster modeling, status and plans Robert D. Ryne, P. Spentzouris.
1 Tracking code development for FFAGs S. Machida ASTeC/RAL 21 October, ffag/machida_ ppt & pdf.
Modelling of the ALICE Injector Julian McKenzie ASTeC STFC Daresbury Laboratory IOP Particle Accelerators and Beams Group Status and Challenges of Simulation.
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.
FACET and beam-driven e-/e+ collider concepts Chengkun Huang (UCLA/LANL) and members of FACET collaboration SciDAC COMPASS all hands meeting 2009 LA-UR.
1 BeamBeam3D: Code Improvements and Applications Ji Qiang Center of Beam Physics Lawrence Berkeley National Laboratory SciDAC II, COMPASS collaboration.
New Progress of the Nonlinear Collimation System for A. Faus-Golfe J. Resta López D. Schulte F. Zimmermann.
1nC 10ps square pulse, 1 mm uniform transverse laser pulse No Thermal emittance 110MV/m Solenoid kG 1nC 10ps square pulse, 1 mm uniform transverse.
Emittance Growth from Elliptical Beams and Offset Collision at LHC and LRBB at RHIC Ji Qiang US LARP Workshop, Berkeley, April 26-28, 2006.
Beam-Beam Simulations for RHIC and LHC J. Qiang, LBNL Mini-Workshop on Beam-Beam Compensation July 2-4, 2007, SLAC, Menlo Park, California.
S2E in LCLS Linac M. Borland, Lyncean Technologies, P. Emma, C. Limborg, SLAC.
Beam dynamics on damping rings and beam-beam interaction Dec 포항 가속기 연구소 김 은 산.
Quantitative Optimisation Studies of the Muon Front-End for a Neutrino Factory S. J. Brooks, RAL, Chilton, Oxfordshire, U.K. Tracking Code Non-linearised.
Advanced Modeling of a Next Generation Light Source Ji Qiang Lawrence Berkeley National Laboratory Oct. 3, 2013.
Simulation of direct space charge in Booster by using MAD program Y.Alexahin, A.Drozhdin, N.Kazarinov.
Two Longitudinal Space Charge Amplifiers and a Poisson Solver for Periodic Micro Structures Longitudinal Space Charge Amplifier 1: Longitudinal Space Charge.
1 MaryLie/IMPACT: Status and Future Plans Robert D. Ryne Center of Beam Physics Lawrence Berkeley National Laboratory SciDAC II, COMPASS collaboration.
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.
Beam Dynamics and FEL Simulations for FLASH Igor Zagorodnov and Martin Dohlus Beam Dynamics Meeting, DESY.
A bunch compressor design and several X-band FELs Yipeng Sun, ARD/SLAC , LCLS-II meeting.
Main Ring + Space charge effects WHAT and HOW … Alexander Molodozhentsev for AP_MR Group May 10, 2005.
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.
IMPACT-T - A 3D Parallel Beam Dynamics Code for Modeling High Brightness Beams in Photo-Injectors Ji Qiang Lawrence Berkeley National Laboratory Work performed.
Beam-Beam Simulations Ji Qiang US LARP CM12 Collaboration Meeting Napa Valley, April 8-10, 2009 Lawrence Berkeley National Laboratory.
FNAL 8 GeV SC linac / HINS Beam Dynamics Jean-Paul Carneiro FNAL Accelerator Physics Center Peter N. Ostroumov, Brahim Mustapha ANL March 13 th, 2009.
X-Ray FEL Simulation: Beam Modeling William M. Fawley Center For Beam Physics Lawrence Berkeley National Laboratory ICFA 2003 Workshop.
Collimator wakefields - G.Kurevlev Manchester 1 Collimator wake-fields Wake fields in collimators General information Types of wake potentials.
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.
J. Wu J. Wu working with T.O. Raubenheimer, J. Qiang (LBL), LCLS-II Accelerator Physics meeting April 11, 2012 Study on the BC1 Energy Set Point LCLS-II.
3D codes: TraFiC4 and CSRtrack Torsten Limberg DESY Zeuthen 2003.
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.
‘S2E’ Study of Linac for TESLA XFEL P. Emma SLAC  Tracking  Comparison to LCLS  Re-optimization  Tolerances  Jitter  CSR Effects.
An overview of TREDI & CSR test cases L. Giannessi – M. Quattromini Presented at “Coherent Synchrotron and its impact on the beam dynamics of high brightness.
Warp LBNL Warp suite of simulation codes: developed to study high current ion beams (heavy-ion driven inertial confinement fusion). High.
July LEReC Review July 2014 Low Energy RHIC electron Cooling Jorg Kewisch, Dmitri Kayran Electron Beam Transport and System specifications.
Round-to-Flat Beam Transformation and Applications Yine Sun Accelerator System Division Advanced Photon Source Argonne Nation Lab. International Workshop.
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.
J. Wu J. Wu working with T.O. Raubenheimer LCLS-II Accelerator Physics meeting May 09, 2012 Study on the BC1 Energy Set Point LCLS-II Accel. Phys., J.
FEL Simulations: Undulator Modeling Sven Reiche Start-end Workshop DESY-Zeuthen 08/20/03.
1 IMPACT: Benchmarking Ji Qiang Lawrence Berkeley National Laboratory CERN Space-Charge Collaboration Meeting, May 20-21, 2014.
Round-to-Flat Beam Transformation and Applications
Warm linac simulations (DTL) and errors analysis M. Comunian F. Grespan.
1 Tracking study of muon acceleration with FFAGs S. Machida RAL/ASTeC 6 December, ffag/machida_ ppt.
X-band Based FEL proposal
Operated by JSA for the U.S. Department of Energy Thomas Jefferson National Accelerator Facility Alex Bogacz IDS- NF Acceleration Meeting, Jefferson Lab,
1 Strong-Strong Beam-Beam Simulations Ji Qiang Lawrence Berkeley National Laboratory 3 rd JLEIC Collaboration Meeting March 31 st, Jlab 2016.
Review of Alignment Tolerances for LCLS-II SC Linac Arun Saini, N. Solyak Fermilab 27 th April 2016, LCLS-II Accelerator Physics Meeting.
LSC/CSR Instability Introduction (origin of the instability) CSR/LSC
Benchmarking MAD, SAD and PLACET Characterization and performance of the CLIC Beam Delivery System with MAD, SAD and PLACET T. Asaka† and J. Resta López‡
Stefano Romeo on behalf of SPARC_LAB collaboration
Sabrina Appel, GSI, Beam physics Space charge workshop 2013, CERN
Review of Application to SASE-FELs
LCLS Tracking Studies CSR micro-bunching in compressors
Gain Computation Sven Reiche, UCLA April 24, 2002
Presentation transcript:

1 IMPACT-Z and IMPACT-T: Code Improvements and Applications Ji Qiang Center of Beam Physics Lawrence Berkeley National Laboratory SciDAC II, COMPASS collaboration meeting, UCLA, Los Angeles, Dec 2, 2008

2 IMPACT-Z –Parallel particle-in-cell (PIC) code used for electron & ion linacs IMPACT-T –Parallel PIC code used for photoinjectors Fix3D/2D –RMS envelope code for match and anaylsis Pre and Post-Processing –Matlab script for parameter optimization with IMPACT code –Python script for initial driven phase setting –Fourier coefficients calculation field –Slice emittances, uncorrelated energy spread IMPACT: A 3D Parallel Beam Dynamics Code Suite

3 IMPACT-Z Parallel PIC code using coordinate “z” as the independent variable Key Features —Detailed RF accelerating and focusing model —Multiple 3D Poisson solvers Variety of boundary conditions 3D Integrated Green Function —Multi-charge state —Machine error studies and steering —Wakes —CSR (1D) —Run on both serial and multiple processor computers

4 IMPACT-T Parallel PIC code using time “t” as the independent variable Emission from nano-needle tip including Borsch effect Key Features —Detailed RF accelerating and focusing model —Multiple Poisson solvers 3D Integrated Green Function point-to-point —Multiple species —Monte Carlo gas ionization model (in progress) —Cathode image effects —Wakes —CSR (1D) —Run on both serial and multiple processor computers

5 IMPACT-Z: Code Improvements (cont’d) Defects fixing In Lorentz integrator z-to-t transfer for multiple charge state linear transfer map for hard edge quadrupole charge state update External map getting for all particles at one location for DTL and CCL modules Quiet start for an initial particle sampling Multiple reference particle for SolRF and TWS modules A new upsampling scheme Code improvement for 5 billion particle simulation 1D CSR wake field including transition Two RF/DC discrete fields overlap in one beam line element

6 IMPACT-Z: Code Improvements Multipole element: quadrupole – dodecapole FFTw option for open boundary field solver Instant phase rotation Python script utilities Convert MAD input lattice into IMPACT input lattice Convert Elegant input lattice into IMPACT input lattice (in progress) Convert Parmila input lattice into IMPACT input lattice (in progress) Set up initial driven phase along the beam line Integrate IMPACT and GANT linac collimator module Automatic multiple plot output (in progress) Multiple charge beam steering capability Matlab script utilities Integrate the IMPACT beam dynamics simulation with parameter optimization scheme

7 IMPACT-T: Code Improvements Defects fixing sampling semi-Gaussian distribution Quiet start for initial particle sampling Multiple slice longitudinal Gaussian distribution 1 st order particle emission model Longitudinal random computational box resizing Mechanic momentum -> canonical momentum in solenoid Parallel particle-field decomposition Snapshot output of rms information of the beam Snapshot output of slice information of the beam Discrete external field read in for SolRF element Skew quadrupole

8 Particle-In-Cell Simulation with Split-Operator Method Advance positions & momenta a half step using H ext Advance momenta using H space charge  Field solution on grid  Charge deposition on grid  Field interpolation at particle positions Setup and solve Poisson equation Initialize particles (optional) diagnostics Advance positions & momenta a half step using H ext Courtesy of R. Ryne

9 Green Function Solution of Poisson’s Equation (with 3D Open Boundary Conditions) Direct summation of the convolution scales as N 6 !!!! N – grid number in each dimension Hockney’s Algorithm:- scales as (2N) 3 log(2N) - Ref: Hockney and Easwood, Computer Simulation using Particles, McGraw-Hill Book Company, New York, 1985.

10 Space-Charge Driven Energy Modulation vs. Distance in a Drift Space

11 Calculation Longitudinal and Transverse Wakefield Using FFT

12 Computing Operation Comparison between the Direct Summation and the FFT Based Method

13 Ref: 1) E. L. Saldin, E. A. Schneidmiller, and M. V. Yurkov, Nucl. Instrum. Methods Phys. Res., Sect. A398, 373 (1997). 2) M. Borland, Phys. Rev. Sepecial Topics - Accel. Beams 4, (2001). 3) G. Stupakov and P. Emma, ``CSR Wake for a Short Magnet in Ultrarelativistic Limit,'' SLAC-PUB-9242, D CSR Wake Field Including Transient Effects

14 R = 1.5 m, Arc=10 cm From G. Stupakov and P. Emma Test of the CSR Wake Implementation for a Short Bend

15 IMPACT-Z multi-charge-state simulation of beam dynamics in proposed MSU RIA linac

16 Beam Centroid and Particle Survive w/o Steering

17 Horizontal/Vertical Emittance with 100 Random Machine Errors

18 Maximum Radius Evolution with 100 Random Machine Errors

19 Average Power Loss Per Meter vs. Kinetic Energy

20 Long-Term Simulation of Space-Charge Driven Dynamic Emittance Exchange Not large scale, but time-to-solution unacceptable w/out parallel computing IMPACT-Z simulation used 1.3 million space-charge kicks, 32 hrs on 64 procs of IBM/SP5

21 Future light source design: very large scale modeling of the microbunching instability IMPACT-Z simulation showing final longitudinal phase space using 10M and 1B macroparticles Red: 10 million macroparticles Green: 1 billion macroparticles Final Uncorrelated Energy Spread vs. # of Particles

22 40 MeV 70 A 250 MeV 1 kA 2.4 GeV Courtesy of A. A. Zholents and M. Venturini linear uMI gain function vs. wave length Beam Delivery System of Berkeley FELs

23 Choice of Numerical Grid Point power spectrum of density fluctuation with different grid points

24 Final Uncorrelated Energy Spread with Different Number of Grid

25 Up Sampling of Initial Particle Distribution —Maintain global properties of the original distribution emittances current profile, energy-position correlation —Reduce shot noise of the original particle distribution by using more macroparticles —A 6D box centered at the original is used to generate new macroparticles —Uniform sampling in transverse 4D —Linear sampling in longitudinal position following original current profile —Cubic spline to obtain the energy-position correlation

26 A Comparison of Direct Sampling and Up Sampling Initial current profile from direct sampling and up sampling Final longitudinal phase space from direct sampling and up sampling

27 One Billion Macroparticle Simulation of an FEL Linac ( 0.8 nC, from 40 MeV to 2.4 GeV, ~2 hour computing time on 512 processors ) J. Qiang, A. Zholents, LBNL

28 Transverse emittance evolution at LCLS photoinjector with initial 0.5 mm offset Fully 3D Simulation of LCLS Photoinjector Longitudinal phase space at the end of photoinjector J. Qiang, LBNL, C. Limbourg, SLAC