J.-L. Vay1, R. Lehe1, H. Vincenti1,2,

Slides:



Advertisements
Similar presentations
The scaling of LWFA in the ultra-relativistic blowout regime: Generation of Gev to TeV monoenergetic electron beams W.Lu, M.Tzoufras, F.S.Tsung, C. Joshi,
Advertisements

Algorithm Development for the Full Two-Fluid Plasma System
Modelling techniques and applications Qing Tan EPFL-STI-IMT-OPTLab
5/4/2015rew Accuracy increase in FDTD using two sets of staggered grids E. Shcherbakov May 9, 2006.
Modeling laser-plasma interaction with the direct implicit PIC method 7 th Direct Drive and Fast Ignition Workshop, Prague, 3-6 May 2009 M. Drouin a, L.
Modeling narrow trailing beams and ion motion in PWFA Chengkun Huang (UCLA/LANL) and members of FACET collaboration SciDAC COMPASS all hands meeting 2009.
Session: Computational Wave Propagation: Basic Theory Igel H., Fichtner A., Käser M., Virieux J., Seriani G., Capdeville Y., Moczo P.  The finite-difference.
Numerical Stability of the Pseudo- Spectral EM PIC Algorithm* Brendan Godfrey, IREAP, U Maryland Jean-Luc Vay, Accelerator & Fusion Research, LBNL Irving.
SciDAC-II Compass SciDAC-II Compass The Heavy Ion Fusion Science Virtual National Laboratory 1 Vay - APS-DPP 2011 Novel Simulation Methods in the Particle-In-Cell.
Modeling Generation and Nonlinear Evolution of Plasma Turbulence for Radiation Belt Remediation Center for Space Science & Engineering Research Virginia.
Finite wall wake function Motivation: Study of multi-bunch instability in damping rings. Wake field perturbs Trailing bunches OCS6 damping ring DCO2 damping.
Simulations of Neutralized Drift Compression D. R. Welch, D. V. Rose Mission Research Corporation Albuquerque, NM S. S. Yu Lawrence Berkeley National.
Chamber Dynamic Response Modeling Zoran Dragojlovic.
Consortium for Metrology of Semiconductor Nanodefects Mechanical Engineering An Introduction to Computational Electromagnetics using FDTD R. E. Diaz.
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.
Topic Three: Perturbations & Nonlinear Dynamics UW Spring 2008 Accelerator Physics J. J. Bisognano 1 Accelerator Physics Topic III Perturbations and Nonlinear.
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
Improved pipelining and domain decomposition in QuickPIC Chengkun Huang (UCLA/LANL) and members of FACET collaboration SciDAC COMPASS all hands meeting.
Grating reconstruction forward modeling part Mark van Kraaij CASA PhD-day Tuesday 13 November 2007.
ACKNOWLEDGMENTS This research was supported by the National Science Foundation of China (NSFC) under grants , , , the Specialized.
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.
W.B.Mori UCLA Orion Center: Computer Simulation. Simulation component of the ORION Center Just as the ORION facility is a resource for the ORION Center,
Institut für Aerodynamik und Gasdynamik Universität Stuttgart The 30 th International Electric Propulsion Conference, Florence, Italy September 17-20,
Efficient Integration of Large Stiff Systems of ODEs Using Exponential Integrators M. Tokman, M. Tokman, University of California, Merced 2 hrs 1.5 hrs.
Simulation of Nonlinear Effects in Optical Fibres
IRPSS: A Green’s Function Approach to Modeling Photoinjectors Mark Hess Indiana University Cyclotron Facility & Physics Department *Supported by NSF and.
SciDAC-II Compass SciDAC-II Compass 1 Vay - Compass 09 Boosted frame LWFA simulations J.-L. Vay, C. G. R. Geddes, E. Cormier-Michel Lawrence Berkeley National.
Two Longitudinal Space Charge Amplifiers and a Poisson Solver for Periodic Micro Structures Longitudinal Space Charge Amplifier 1: Longitudinal Space Charge.
EMLAB 1 Examples of One ‐ Dimensional FDTD. EMLAB 2 Typical FDTD Grid Layout.
W.Lu, M.Tzoufras, F.S.Tsung, C.Joshi, W.B.Mori
Max Cornacchia, Paul Emma Stanford Linear Accelerator Center Max Cornacchia, Paul Emma Stanford Linear Accelerator Center  Proposed by M. Cornacchia (Nov.
A Domain Decomposition Method for Pseudo-Spectral Electromagnetic Simulations of Plasmas Jean-Luc Vay, Lawrence Berkeley Nat. Lab. Irving Haber & Brendan.
Graduate Institute of Astrophysics, National Taiwan University Leung Center for Cosmology and Particle Astrophysics Chia-Yu Hu OSU Radio Simulation Workshop.
1 Vay, SCIDAC Review, April 21-22, 2009 Developing the tools for “boosted frame” calculations. J.-L. Vay* 1,4 in collaboration with W.M. Fawley 1, A. Friedman.
STUDIES OF NONLINEAR RESISTIVE AND EXTENDED MHD IN ADVANCED TOKAMAKS USING THE NIMROD CODE D. D. Schnack*, T. A. Gianakon**, S. E. Kruger*, and A. Tarditi*
Beam-Beam Simulations Ji Qiang US LARP CM12 Collaboration Meeting Napa Valley, April 8-10, 2009 Lawrence Berkeley National Laboratory.
Modeling Electromagnetic Fields in Strongly Inhomogeneous Media
Requirements of High Accuracy Computing 1) Adopted numerical scheme must resolve all physical time and length scales. 2) Numerical scheme must be neutrally.
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.
The Heavy Ion Fusion Virtual National Laboratory Asymmetric PML for the Absorption of Waves. Application to Mesh Refinement in Electromagnetic Particle-In-Cell.
BE/ABP/LIS section meeting - N. Mounet, B. Salvant and E. Métral - CERN/BE-ABP-LIS - 07/09/20091 Fourier transforms of wall impedances N. Mounet, B. Salvant.
1 EEE 431 Computational Methods in Electrodynamics Lecture 13 By Dr. Rasime Uyguroglu
______ APPLICATION TO WAKEFIELD ACCELERATORS EAAC Workshop – Elba – June juillet 2016 | PAGE 1 CEA | 10 AVRIL 2012 X. Davoine 1, R. Lehe 2, A.
GPU Acceleration of Particle-In-Cell Methods B. M. Cowan, J. R. Cary, S. W. Sides Tech-X Corporation.
Matching free space propagation to plasma focusing S. Barber UCLA Dept. of Physics and Astronomy FACET II Workshop October 15, 2015.
Phase space moment equation model of highly relativistic electron beams in plasma wakefield accelerators Robert Robson1, Timon Mehrling2, Jan-Hendrik Erbe2.
Computational Methods for Kinetic Processes in Plasma Physics
Using a combined PIC-MHD code to simulate particle acceleration
Lecture 4: Numerical Stability
FDTD 1D-MAP Plane Wave TFSF Simulation for Lossy and Stratified Media
New concept of light ion acceleration from low-density target
The 2nd European Advanced Accelerator Concepts Workshop
Computational Methods for Kinetic Processes in Plasma Physics
Computations of Force and Motion Response to Arbitrary Fluid Motions around Stationary Vessels J.A. Pinkster.
New results on impedances, wake fields and electromagnetic fields in an axisymmetric beam pipe N. Mounet and E. Métral Acknowledgements: B. Salvant, B.
ივანე ჯავახიშვილის სახელობის
Simple FD Gerard T. Schuster.
Control of laser wakefield amplitude in capillary tubes
Convergence in Computational Science
Parallel 3D Finite Element Particle-In-Cell Simulations with Pic3P*
17-Nov-18 Parallel 2D and 3D Acoustic Modeling Application for hybrid computing platform of PARAM Yuva II Abhishek Srivastava, Ashutosh Londhe*, Richa.
Electromagnetic fields in a resistive cylindrical beam pipe
The FOCI method versus other wavefield extrapolation methods
High Accuracy Schemes for Inviscid Traffic Models
Low Order Methods for Simulation of Turbulence in Complex Geometries
D. V. Rose, T. C. Genoni, and D. R. Welch Mission Research Corp.
Modeling Debye Dispersive Media Using Efficient ADI-FDTD Method
What are Multiscale Methods?
Atilla Ozgur Cakmak, PhD
Presentation transcript:

J.-L. Vay1, R. Lehe1, H. Vincenti1,2, High-performance modeling of plasma-based acceleration using the full PIC method J.-L. Vay1, R. Lehe1, H. Vincenti1,2, B. Godfrey1,3, P. Lee4, I. Haber3 1Lawrence Berkeley National Laboratory, California, USA 2Commissariat à l’Energie Atomique, Saclay, France 3University of Maryland, Maryland, USA 4University of Paris-Sud, Orsay, France 2nd European Advanced Accelerator Concepts 13-19 September 2015, Elba Island, Italy

Outline Numerical Cherenkov LPA modeling Spectral EM solver Boosted frame Spectral EM solver FDTD PSATD Lab frame 3D CIRC Spectral CIRC solver CIRC FDTD CIRC PSATD PML Novel analysis Parallel Multi-source model

Laser plasma acceleration (LPA) analogy boat wake surfer laser wake e- beam 3

Modeling from first principle is very challenging For a 10 GeV scale stage: ~1mm wavelength laser propagates into ~1m plasma  millions of time steps needed (similar to modeling 5m boat crossing ~5000 km Atlantic Ocean) 4

Solution: model in frame moving near the speed of light* compaction X20,000 l’=200. m 0.01 m/200. m=50. Boosted frame  = 100 Hendrik Lorentz L’=0.01 m Lab frame l≈1. m L≈1. m 1. m/1. m=1,000,000 BELLA-scale w/ ~ 5k CPU-Hrs: 2006 - 1D run  2011: 3D run Alternate or complementary solutions: quasistatic, laser envelope, azimuthal Fourier decomposition (“Circ”), … *J.-L. Vay, Phys. Rev. Lett. 98, 130405 (2007) 5

Outline Numerical Cherenkov LPA modeling Spectral EM solver Boosted frame Spectral EM solver FDTD PSATD Lab frame 3D CIRC Spectral CIRC solver CIRC FDTD CIRC PSATD PML Novel analysis Parallel Multi-source model

Relativistic plasmas PIC subject to “numerical Cherenkov” Numerical dispersion leads to crossing of EM field and plasma modes -> instability. Exact Maxwell Standard PIC *B. B. Godfrey, “Numerical Cherenkov instabilities in electromagnetic particle codes”, J. Comput. Phys. 15 (1974) 7

Space/time discretization aliases  more crossings in 2/3-D Exact Maxwell Standard PIC light light kz kx w kz kx w plasma at b=0.99 plasma at b=0.99 8

Space/time discretization aliases  more crossings in 2/3-D Exact Maxwell Standard PIC aliases aliases light light kz kx w kz kx w plasma at b=0.99 plasma at b=0.99 Analysis calls for full PIC numerical dispersion relation Need to consider at least first aliases mx={-3…+3} to study stability. 9

Numerical dispersion relation of full-PIC algorithm* 2-D relation (Fourier space): *B. B. Godfrey, J. L. Vay, I. Haber, J. Comp. Phys. 248 (2013) 10

Numerical dispersion relation of full-PIC algorithm (II) *B. B. Godfrey, J. L. Vay, I. Haber, J. Comp. Phys. 248 (2013) 11

Numerical dispersion relation of full-PIC algorithm (III) Then simplify and solve with Mathematica… *B. B. Godfrey, J. L. Vay, I. Haber, J. Comp. Phys. 248 (2013) 12

Rapid recent progress on analysis and mitigation of numerical Cherenkov instability Analysis of Numerical Cherenkov has been generalized: to finite-difference PIC codes (“Magical” time step explained): B. B. Godfrey and J.-L. Vay, J. Comp. Phys. 248 (2013) 33. X. Xu, et. al., Comp. Phys. Comm., 184 (2013) 2503. to pseudo-spectral PIC codes: B. B. Godfrey, J. -L. Vay, I. Haber, J. Comp. Phys., 258 (2014) 689. P. Yu et. al, J. Comp. Phys. 266 (2014) 124. Efficient suppression techniques were recently developed: for finite-difference PIC codes: B. B. Godfrey and J.-L. Vay, J. Comp. Phys. 267 (2014) 1. B. B. Godfrey and J.-L. Vay, Comp. Phys. Comm., in press for pseudo-spectral PIC codes: B. B. Godfrey, J.-L. Vay, I. Haber, IEEE Trans. Plas. Sci. 42 (2014) 1339. P. Yu, et. al., arXiv:1407.0272 (2014). 13

Outline Numerical Cherenkov LPA modeling Spectral EM solver Boosted frame Spectral EM solver FDTD PSATD Lab frame 3D CIRC Spectral CIRC solver CIRC FDTD CIRC PSATD PML Novel analysis Parallel Multi-source model

High-order FDTD + small time steps  exact solution but expensive cDt/Dx~0.45 Higher order cDt/Dx~0.045 15

Finite-Difference Time-Domain Pseudo-Spectral Time-Domain Spectral solver offers “infinite order” but still needs small time steps Finite-Difference Time-Domain (FDTD) Pseudo-Spectral Time-Domain (PSTD) F=FFT F-1 F FDTD cDt/Dx~0.45 PSTD cDt/Dx~0.45 PSTD cDt/Dx~0.045 PSTD converges to exact solution (on grid) for Dt0. PSTD is limit of high-order FDTD when ninfinity. 16

Pseudo-Spectral Analytical Time-Domain1 Analytical pseudo-spectral solver offers exact solution with no Courant condition Pseudo-Spectral Analytical Time-Domain1 (PSATD) F-1 F F-1 F with PSTD cDt/Dx~0.045 PSATD cDt/Dx=50 1 time step 1I. Haber, R. Lee, H. Klein & J. Boris, Proc. Sixth Conf. on Num. Sim. Plasma, Berkeley, CA, 46-48 (1973) 17

Analytical theory and simulations show PSATD most stable Pseudo-Spectral Time Domain algorithm has restrictive Courant condition (UCLA team has article in arXiv) Energy growth levels influenced by number of unstable modes, initial noise spectrum, nonlinear effects, as well as linear growth rates Taylored filters showed to lower instability rate further in all cases. *B. B. Godfrey, J.-L. Vay, I. Haber, “Numerical stability analysis of the Pseudo-Spectral Analytical Time-Domain PIC algorithm”, J. Comp. Phys. 258 (2014) 689.

Outline Numerical Cherenkov LPA modeling Spectral EM solver Boosted frame Spectral EM solver FDTD PSATD Lab frame 3D CIRC Spectral CIRC solver CIRC FDTD CIRC PSATD PML Novel analysis Parallel Multi-source model

Development of a spectral quasi-cylindrical PIC code

Development of a spectral quasi-cylindrical PIC code

Development of a spectral quasi-cylindrical PIC code * FFT in Z Hankel Transform in R *R. Lehe, M. Kirchen, I. A. Andriyash, B. Godfrey, J.-L. Vay, “A spectral, quasi-cylindrical and dispersion-free Particle-In-Cell algorithm”, arXiv:1507.04790 (2015).

Offers better dispersion relation e.g. group velocity of a laser pulse in vacuum Very important for LPA, since small differences in group velocity determine the dephasing length.

More stable to numerical Cherenkov instability Removes numerical Cherenkov main mode (aliases remain) Very important for LPA: avoids spurious growth of emittance (NB: Can also be obtained by using special finite-difference stencil)

Space-time collocation reduces field-particles interpolation errors Evolution of the transverse momentum (for different resolutions) e.g. relativistic electron co-propagating with a laser (staggered) (nodal) Staggered finite-difference codes introduce interpolation errors, which lead to a spurious force on the electrons

Outline Numerical Cherenkov LPA modeling Spectral EM solver Boosted frame Spectral EM solver FDTD PSATD Lab frame 3D CIRC Spectral CIRC solver CIRC FDTD CIRC PSATD PML Novel analysis Parallel Multi-source model

Challenge for scaling very-high order/pseudo spectral solvers to million cores Standard: Global FFTs/ No halo cells Proposed: Local FFTs/ fixed Ng guard cells* Local exchanges Truncation approximation Poorly scales with # CPUS Scales but approximation at very high/infinite orders! Need to characterize/mitigate truncation errors to enable new method! *J.-L. Vay, I. Haber, B. Godfrey, J. Comput. Phys. 243, 260-268 (2013)

New error-predictive analytical model for stencil spatial variations/truncations in simulations Previous model: stencil modification at one point accounted with a single source term Yields inaccurate results for orders p>2 Total truncation error amplitude: New model*: stencil modification at one point accounted by multi-source error terms Solves discrepancy at orders p>2 Total truncation error amplitude: Multi- *H. Vincenti, J.-L. Vay, arXiv 1507.05572 (2015)

Model predicts error from stencil truncation (l=10Dx, staggered grid) Spectral error  with 1/Nguards^2 Full model Approximate formula Variation with wavelength (not shown) are also perfectly reproduced Finite very-high order requires << # guard cells than spectral. *H. Vincenti, J.-L. Vay, arXiv 1507.05572 (2015)

Near-spectral precision achievable with very high-order Maxwell solvers and domain decomposition Number of guard cells required to achieve 0 error at machine precision Nguards=p/2 Nguards=3e7 For p=∞ Double precision Nguards=1e4 For p=∞ Single precision

New analysis confirms efficacy of PML with spectral Perfectly Matched Layer (PML) enables efficient open boundary conditions PML Simulation grid spurious reflections no PML with PML New analysis predicts exact coefficients of reflections Simulations New model1 Previous model2 Simulations New model1 Previous model2 1H. Vincenti, J.-L. Vay, arXiv 1507.05572 (2015) 2P. Lee, J.-L. Vay, Comp. Phys. Comm. 194, 1-9 (2015) 31

Accomplishments, lessons learned and prospects Extension of analysis of numerical Cherenkov to various schemes in 2D/3D explained magical time step high-order/spectral codes are mode stable than 2nd order FDTD has led to the development of mitigation for FDTD, high-order & pseudo-spectral Circ-spectral code based on Hankel transform was successfully developed combines advantages of 2D-like costs and spectral accuracy New analysis of stencil truncation new parallelization scheme based on domain decomposition possible confirms efficacy of Perfectly Matched Layers with high-order/spectral solvers Latest developments and ongoing work to enable fast, scalable solvers toward “realtime” modeling of plasma accelerators. Main results: Fig1: Infinite order error poorly scale with Nguards Fig2: Solution: going to very high FINITE order can still allow to achieve spectral precision (on a large band of freq) with domain decomp and a reasonably low number of halo cells Fig3: Model will be very important to predict required mimimun number of guard cells to get less than machine precision Errors