TREDI test for Photo-injectors

Slides:



Advertisements
Similar presentations
1 Bates XFEL Linac and Bunch Compressor Dynamics 1. Linac Layout and General Beam Parameter 2. Bunch Compressor –System Details (RF, Magnet Chicane) –Linear.
Advertisements

CALCULATIONS OF THE LCLS INJECTOR USING ASTRA Jean-Paul Carneiro DESY Hamburg ICFA Future Light Sources Sub-Panel Mini Workshop on Start-to-End Simulations.
SPACE CHARGE EFFECTS IN PHOTO-INJECTORS Massimo Ferrario INFN-LNF Madison, June 28 - July 2.
Online Data Analysis and Simulation Sven Reiche UCLA - 09/22/04 Sven Reiche UCLA - 09/22/04.
SLAC is focusing on the modeling and simulation of DOE accelerators using high- performance computing The performance of high-brightness RF guns operating.
Cecile Limborg-Deprey Injector Commissioning September Injector Commissioning Plans C.Limborg-Deprey Gun exit measurements.
Cecile Limborg-Deprey Injector October Injector Physics C.Limborg-Deprey Diagnostics and Commissioning GTL measurements.
Beam dynamics meeting, 2007/05/14Lars Fröhlich, MPY Dark Current Transport at FLASH Start-to-end tracking simulation analysis of beam and dark current.
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.
Results from measurement and simulation methods (LW, PIC, Astra) and setup About LW & Astra Simulations of The Pitz Gun comparison LW  Astra more analysis.
Contributions to ELI-NP on RF accelerator activities Andrea Mostacci Università di Roma, Sapienza The joint Sapienza/INFN-LNF group is active in the field.
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.
Transverse emittance Two different techniques were used to measure the transverse emittance. The multislit mask in the injector 9 MeV Quadrupole scan for.
Astra A Space Charge Tracking Algorithm
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.
Steve LidiaICFA Workshop, Chia LagunaJuly, 2002 Flat Beam Photoinjectors for Ultrafast Synchrotron Radiation Sources Steve Lidia Lawrence Berkeley National.
Low Emittance RF Gun Developments for PAL-XFEL
ASTRA Injector Setup 2012 Julian McKenzie 17/02/2012.
Velocity Bunching: experiment at Neptune Photoinjector P. Musumeci UCLA Dept. of Physics and Astronomy.
Recent Experiments at PITZ ICFA Future Light Sources Sub-Panel Mini Workshop on Start-to-End Simulations of X-RAY FELs August 18-22, 2003 at DESY-Zeuthen,
CLIC RF manipulation for positron at CLIC Scenarios studies on hybrid source Freddy Poirier 12/08/2010.
Two Longitudinal Space Charge Amplifiers and a Poisson Solver for Periodic Micro Structures Longitudinal Space Charge Amplifier 1: Longitudinal Space Charge.
R&D opportunities for photoinjectors Renkai Li 10/12/2015 FACET-II Science Opportunities Workshops October, 2015 SLAC National Accelerator Laboratory.
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.
3D codes: TraFiC4 and CSRtrack Torsten Limberg DESY Zeuthen 2003.
Simulation codes for high brightness electron beam experiments Luca Giannessi ENEA, C.R. Frascati.
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.
July LEReC Review July 2014 Low Energy RHIC electron Cooling Jorg Kewisch, Dmitri Kayran Electron Beam Transport and System specifications.
S2E (start-to-end) Simulations at DESY T. Limberg TESLA Collaboration Meeting in Frascati, May 2003.
Update on Modeling Activities Gun Simulation Optimization Using Genetic Algorithms.
S. Bettoni, R. Corsini, A. Vivoli (CERN) CLIC drive beam injector design.
Conventional source developments (300Hz Linac scheme and the cost, Part-II) Junji Urakawa, KEK PosiPol-2012 at DESY Zeuthen Contents : 0. Short review.
Ultra-short electron bunches by Velocity Bunching as required for Plasma Wave Acceleration Alberto Bacci (Sparc Group, infn Milano) EAAC2013, 3-7 June,
Warm linac simulations (DTL) and errors analysis M. Comunian F. Grespan.
Beam dynamics simulations with the measured SPARC gun- solenoid field G. Bazzano, P. Musumeci, L. Picardi, M. Preger, M. Quattromini, C. Ronsivalle, J.
A.Variola Frascati SuperB meeting 1 Injector and positron source scheme. A.Variola, O.Dadoun, F Poirier, R.Chehab, P Lepercq, R.Roux, J.Brossard.
Production of coherent X-rays with a free electron laser based on optical wiggler A.Bacci, M.Ferrario*, C. Maroli, V.Petrillo, L.Serafini Università e.
B. Marchetti R. Assmann, U. Dorda, J. Grebenyuk, Y. Nie, J. Zhu Acknowledgements: C. Behrens, R. Brinkmann, K. Flöttmann, M. Hüning,
Bunch Shaping for Future Dielectric Wakefield Accelerators W. Gai Mini-Workshop on Deflecting/Crabbing RF Cavity Research and application in Accelerators.
Laminar Velocity Bunching A. Bacci V – LI 2 FE Collaboration meeting, March 2011, Frascati.
Şerban Udrea, Peter Forck, GSI
Simulation of the Time Response of a VPT
S.M. Polozov & Ko., NRNU MEPhI
Multi-bunch Operation for LCLS, LCLS_II, LCLS_2025
Beam dynamics simulation with 3D Field map for FCC RF gun
Beam dynamics for an X-band LINAC driving a 1 keV FEL
Positron capture section studies for CLIC Hybrid source - baseline
Injector and positron source scheme. A first evaluation Thanks to O
Where Do We Stand With Start-End Simulations
Beyond the RF photogun Jom Luiten Seth Brussaard
Parallel 3D Finite Element Particle-In-Cell Simulations with Pic3P*
EEHG 101: The Basics of Echo-7
Review of Application to SASE-FELs
The Cornell High Brightness Injector
F. Villa Laboratori Nazionali di Frascati - LNF On behalf of Sparc_lab
L. Giannessi – M. Quattromini
SIGNIFICANT PHYSICS CHANGES
Beam Dynamics in a Spilt SRF-Gun
Needle Cathodes for RF Guns
What did we learn from TTF1 FEL?
SuperB e+/e- main linac and diagnostics studies
Injector: What is needed to improve the beam quality?
Simulation Calculations
Status of FEL Physics Research Worldwide  Claudio Pellegrini, UCLA April 23, 2002 Review of Basic FEL physical properties and definition of important.
Gain Computation Sven Reiche, UCLA April 24, 2002
Simulations for the LCLS Photo-Injector C
Accelerator Physics Synchrotron Radiation
Linac Design Update P. Emma LCLS DOE Review May 11, 2005 LCLS.
Update on ERL Cooler Design Studies
Presentation transcript:

TREDI test for Photo-injectors L. Giannessi – M. Quattromini C.R. ENEA-Frascati Presented at ENEA

TREDI … … is a multi-purpose macroparticle 3D Monte Carlo, devoted to the simulation of electron beams through Rf-guns Linacs (TW & SW) Solenoids Bendings Undulators Quads’ …

Motivations Three dimensional effects in photo-injectors Inhomogeneities of cathode quantum efficiency Laser misalignments Multipolar terms in accelerating fields “3-D” injector for high aspect ratio beam production …. on the way … … Study of coherent radiation emission in bendings and interaction with beam emittance and energy spread

History 1992-1995 - Start: EU Network on RF-Injectors* Fortran / DOS (PC-386 – 20MHz) Procs: “VII J.D'Etude Sur la Photoem. a Fort Courant” Grenoble 20-22 Septembre 1995 1996-1997 - Covariant smoothing of SC Fields Ported to C/Linux (PC-Pentium – 133MHz)FEL 1996 - NIM A393, p.434 (1997) - Procs. of 2nd Melfi works. 2000 - Aracne ed.(2000) 1998-1999 - Simulation of bunching in low energy FEL** Added Devices (SW Linac – Solenoid - UM) (PC-Pentium – 266MHz) J.B.Rosenzweig & P. Musumeci, PRE 58, 27-37, (1998) – Diamagnetic fields due to finite dimensions of intense beams in high-gain FELs FEL 1998 - NIM A436, p.443 (1999) (not proceedings …) 2001-2002 - Italian initiative for Short  FEL Today: Many upgrades - First tests of CSR in new version *Contributions from A. Marranca ** Contributions from P. Musumeci

Features 15000 lines in C language; Scalar & Parallel (MPI 2.0); Unix & Windows versions; Tcl/Tk Gui (pre-processing); Mathematica & MathCad frontends (post-processing); Output format in NCSA HDF5 format (solve endian-ness/alignement problems)

TREDI FlowChart Start Load configuration & init phase space Charge distribution & external fields known at time t Adaptive algorithm tests accuracy & evaluates step length t Exit if Z>Zend Trajectories are intagrated to t+ t Self Fields are evaluated at time t+ t

Particle trajectory k-2 Particle trajectory k-1 Present Beam Parallelization Time NOW Particle trajectory 1 Particle trajectory 2 Particle trajectory 3 Self Fields Particle trajectory k-2 Particle trajectory k-1 Particle trajectory k …………………….. ………… Node 1 Node 2 Node 3 Node n

Upgrades to be done (six months ago, in Zeuthen): Accomodate more devices (Bends, Linacs, Solenoids …) Load field profiles from files Point2point or Point2grid SC Fields evaluation (NxN  NxM) Allowed piecewise simulations Graphical User Interface for Input File preparation (TCL/Tk) Graphical Post Processor for Mathematica / MathCad / IDL Porting to MPI for Parallel Simulations SDDS support for data exchange with FEL code Fix Data/Architectural dependences (portability of data) Introduce radiative energy loss Smooth (regularize) acceleration fields (for CSR tests)

six months later, Chia Laguna… SDDS support for data exchange with FEL code Fix Data/Architectural depences done, now use HDF5 data format support to fix endian-ness/alignments problems (output portability to different platforms) Introduce radiative energy loss done ? Smooth acceleration fields (for CSR tests) done (more work required, no manifestly covariant, CPU consuming) Big speed up (improved retarded time condition routine): Zeuthen: 300 particles  4h on IBM-SP3/16x400MHz) Chia Laguna: 1000 particles  35m 10000 particles in 27h on a 32CPUs platform! Many improvements and bug fixes (surely many still lurking in the code); recently introduced a “Parmela-like” mode (instantaneous interactions,MUCH faster still experimental)

Eqs Of motion… N.B. : τ = c·t

SELF FIELDS… Self Fields are accounted for by means of Lienard-Wiechert retarded potentials R(t’) Target Source

Retard Condition

EM fields:

Problem: fields regularization Real beam~ 1010 particles Macroparticles ~ 103-106 huge charges Pseudo-collisional effects

Known therapy: Share charge among vertices of a regular grid (require a fine mesh to reduce noise) Typical problems: non Lorentz invariant; assume instantaneous interactions sensible for quasi-static Coulomb fields, low energy spread etc.

Alternative Get rid of 3-anything (i.e. quantities not possessing a definite Lorentz character) Use 4-quantities instead

Field strength produced by an accelerated charge (covariant form) (see e.g. Classical Electrodynamics, J. D. Jackson) t is the (source) proper time and V is the (source) 4-velocity:

Separation in vel.+accel. terms

Separation in vel.+accel. terms (cont’d) Where: Note:

The natural decomposition of EM fields can be cast in a covariant form!

Velocity term: Lorentz scalar Lorentz scalar

Smoothing of vel. fields Solution: source macro particles are given a form factor (i.e. a finite extension in space: Debye screening, Q.E.D. f.f. corrections to current M.E.) Effective charge A scaled replica of the (retarded) beam: Same aspect ratio

Boosts change macroparticles’ shape

Smoothing of vel. fields (cont’d) Velocity (static,Coulomb) fields travel at speed of light, too! introduce a covariant (4D) generalization of purely geometric form factor:

Smoothing of vel. fields (cont’d) e.g.: gaussian shape:

Smoothing of vel. fields (cont’d) Effective charge total charge included by the iso-density surface associated to the value of ρ (ρ’) at observer point:

Smoothing of vel. fields (cont’d) Un-smoothed (1/R2) fields Eff. Charge Effective vel. field

Acceleration term Lorentz scalars Lorentz scalars

Smoothing of accel. fields Fields blow up when (“collinear divergencies) Solution: target macro particles are given a finite extension in space: Let be

Smoothing of accel. fields (cont’d) Where: and G3 is a too complicated to be worth seeing

Effectiveness of smoothing S0 ~10-5 (“collinear”)

Effectiveness of smoothing (cont’d) S0 ~10-3 (“non collinear”)

SPARC INJECTOR RF-GUN LINAC (BNL RfGun+Solenoid+Drift) Gradient 140 MV/m Charge 1nC Pulse length 10 ps (flat top) Spot radius 1 mm Extraction phase ~35º (center) Solenoid field ~0.3 T 104 macro-particles x 3·103 grid points ~13h

Energy Spread: Tredi Homdyn Homdyn data: courtesy of M. Ferrario

Envelopes Tredi Homdyn Parmela Parmela data: courtesy of C. Ronsivalle

The emittance in the Gun+Sol Tredi Homdyn

Sol. at standard position Tredi Homdyn

Sol. 2cm ahead Tredi Tredi, sol 2cm ahead Homdyn

Sol. 1cm ahead Tredi Tredi, B 2cm ahead Tredi, B 1cm ahead Homdyn

The emittance in the Gun revisited Tredi Tredi, B 2cm ahead Tredi, B 1cm ahead Homdyn

Test results obtained in Parmela-like mode; TODO’s The nature of discrepancies with other codes (Parmela, Homdyn) need to be investigated and/or explained; Test results obtained in Parmela-like mode; Speed up the code (Accel. Fields, OpenMP version? 3D runs with 105 -106 particles?) Make smoothing of Accel. Fields manifestly covariant Save SC fields onto output to estimate noise

Some internals of the code need to be fully understood but… CONCLUSIONS Some internals of the code need to be fully understood but… TREDI proved to be an usable tool for simulations of quasi-rectilinear set of devices from mildly-to-wildly relativistic regimes (5-5000 MeV): Start-to-end simulations?

Acknoledgements M. Ferrario, P. Musumeci, C.Ronsivalle, J.B. Rosenzweig, L. Serafini For providing results (Homdyn, Parmela), support, hints, feedback or directly partecipating to the development of TREDI.

Energy spread (cont’d) Tredi Homdyn