Verification and Convergence Properties of a Particle-In-Cell Code

Similar documents
Simulation Techniques for HED I: Particle-in-Cell Methods

Summer College on Plasma Physics. 30 July - 24 August, The particle-in-cell simulation method: Concept and limitations

arxiv: v1 [physics.comp-ph] 4 Feb 2015

Computational Methods in Plasma Physics

Lecture 4: The particle equations (1)

Study of Laser Plasma Interactions Using an Eulerian Vlasov Code

Simulations of Plasmas with Electrostatic PIC Models Using the Finite Element Method

Anisotropic electron distribution functions and the transition between the Weibel and the whistler instabilities

PHYSICS OF HOT DENSE PLASMAS

Kinetic simulations of the self focusing and dissipation of finite-width electron plasma waves

Particle-in-cell (PIC) simulation output for the temporal evolution of magnetic fields.

EXASCALE COMPUTING. Implementation of a 2D Electrostatic Particle in Cell algorithm in UniÞed Parallel C with dynamic load-balancing

PIC solvers for Intense Beams in Synchrotrons

Outline. 1 Why PIC Simulations Make Sense. 2 The Algorithm. 3 Examples Surface High Harmonics Generation. 4 Extensions Of The PIC Algorithm

Guangye Chen, Luis Chacón,

arxiv: v3 [physics.plasm-ph] 22 Jan 2014

arxiv: v1 [physics.plasm-ph] 24 Oct 2015

Intro. Lecture 04: Numerical Methods for Particle and Distribution Methods: Introduction to the PIC Method *

Benchmarks in Computational Plasma Physics

KINETIC SIMULATION OF LASER-PLASMA INTERACTIONS

Pulse Expansion and Doppler Shift of Ultrahigh Intense Short Pulse Laser by Slightly Overdense Plasma

Landau Damping Simulation Models

Plasma waves in the fluid picture I

Fourier Analysis. 19th October 2015

PIC Algorithm with Multiple Poisson Equation Solves During One Time Step

Simulation of Coulomb Collisions in Plasma Accelerators for Space Applications

VLASOV1: One-dimensional electrostatic Vlasov code Hands-on session in 13th International School for Space Simulations (ISSS-13)

Modeling Nonlinear Optics Of Plasmas (Relevant To IFE)

Intro. Lecture 04: Numerical Methods for Particle and Distribution Methods: Introduction to the PIC Method *

Numerical simulation methods for laser target interactions

Dispersive Media, Lecture 7 - Thomas Johnson 1. Waves in plasmas. T. Johnson

PHYSICS Computational Plasma Physics

Simulation of Plasma Wakefields and Weibel Instability of Electron Beams in Plasma Using Codes LSP and OSIRIS

Plan of the lectures

Kinetic Simulations of Ion Beam Neutralization

Two-scale numerical solution of the electromagnetic two-fluid plasma-maxwell equations: Shock and soliton simulation

Gyrokinetic simulations of magnetic fusion plasmas

20. Alfven waves. ([3], p ; [1], p ; Chen, Sec.4.18, p ) We have considered two types of waves in plasma:

Particle-in-Cell Simulations of Particle Acceleration. E. A. Startsev and C. J. McKinstrie. Laboratory for Laser Energetics, U.

Electromagneic Waves in a non- Maxwellian Dusty Plasma

n-n" oscillations beyond the quasi-free limit or n-n" oscillations in the presence of magnetic field

Implicit-Explicit Time Integration of a High-Order Particle-in-Cell Method with Hyperbolic Divergence Cleaning.

Heating of ions by low-frequency Alfven waves

ELECTROSTATIC ION-CYCLOTRON WAVES DRIVEN BY PARALLEL VELOCITY SHEAR

Simulation Study of High-Frequency Magnetosonic Waves Excited by Energetic Ions in Association with Ion Cyclotron Emission )

Natalia Tronko S.V.Nazarenko S. Galtier

Structure formation. Yvonne Y. Y. Wong Max-Planck-Institut für Physik, München

Tight-Focusing of Short Intense Laser Beams in Particle-in-Cell Simulations of Laser-Plasma Interaction

Plasma heating in stellarators at the fundamental ion cyclotron frequency

Chapter 9. Electromagnetic waves

Vlasov - Poisson sytem of equations and Landau damping

Modeling and Simulation of Plasma Based Applications in the Microwave and RF Frequency Range

2/8/16 Dispersive Media, Lecture 5 - Thomas Johnson 1. Waves in plasmas. T. Johnson

Hybrid Simulation Method ISSS-10 Banff 2011

Vlasov simulations of electron holes driven by particle distributions from PIC reconnection simulations with a guide field

Final Exam Concept Map

Accurate representation of velocity space using truncated Hermite expansions.

Unbound States. 6.3 Quantum Tunneling Examples Alpha Decay The Tunnel Diode SQUIDS Field Emission The Scanning Tunneling Microscope

Simulation of Relativistic Jet-Plasma Interactions

Global particle-in-cell simulations of Alfvénic modes

Supporting Information: Ultraintense. femtosecond magnetic nanoprobes induced by. azimuthally polarized laser beams

Tight-Focusing of Short Intense Laser Pulses in Particle-in-Cell Simulations of Laser-Plasma Interaction

A Three Dimensional Simulation of Solitary Waves in the Laser Wake

Introduction. Chapter Plasma: definitions

Some thoughts for particle-in-cell on leadership class computers

Wakefields and beam hosing instability in plasma wake acceleration (PWFA)

arxiv: v1 [physics.plasm-ph] 3 Aug 2017

Kinetic Plasma Simulations. Anatoly Spitkovsky (Princeton)

Fluctuations and Search for the QCD Critical Point

Basics of electromagnetic response of materials

The Weibel Instability in Collisionless Relativistic Shocks

Adaptive semi-lagrangian schemes for transport

Effect of collisions on the two-stream instability in a finite length plasma D. Sydorenko, 1 I. D. Kaganovich, 2 P. L. G. Ventzek, 3 and L.

Non-Linear Plasma Wave Decay to Longer Wavelength

Longitudinal Beam Dynamics

Chapter 2. Deriving the Vlasov Equation From the Klimontovich Equation 19. Deriving the Vlasov Equation From the Klimontovich Equation

Summary: Thermodynamic Potentials and Conditions of Equilibrium

Modeling of Space Charge Effects and Coherent Synchrotron Radiation in Bunch Compression Systems. Martin Dohlus DESY, Hamburg

Chapter 1. Introduction to Nonlinear Space Plasma Physics

Lagrangian Statistics. of 3D MHD Convection. J. Pratt, W.-C. Müller. Boussinesq Simulation. Lagrangian. simulation. March 1, 2011

Waves in plasma. Denis Gialis

Lecture 4 Fiber Optical Communication Lecture 4, Slide 1

Parsek2D: An Implicit Parallel Particle-in-Cell Code

Comparison of Kinetic and Extended MHD Models for the Ion Temperature Gradient Instability in Slab Geometry

Particle in Cell method

Turbulent Transport due to Kinetic Ballooning Modes in High-Beta Toroidal Plasmas

A. Bers, A. K. Ram, and S. D. Schultz. Plasma Science and Fusion Center,

Overview of the Numerics of the ECMWF. Atmospheric Forecast Model

FIBER OPTICS. Prof. R.K. Shevgaonkar. Department of Electrical Engineering. Indian Institute of Technology, Bombay. Lecture: 07

INTRODUCTION TO GYROKINETIC AND FLUID SIMULATIONS OF PLASMA TURBULENCE AND OPPORTUNITES FOR ADVANCED FUSION SIMULATIONS

Kinetic damping in gyro-kinetic simulation and the role in multi-scale turbulence

Modeling of planar plasma diode

xkcd.com It IS about physics. It ALL is.

A particle-in-cell method with adaptive phase-space remapping for kinetic plasmas

Parallel Heating Associated with Interaction of Forward and Backward Electromagnetic Cyclotron Waves

Self-consistent particle tracking in a simulation of the entropy mode in a Z pinch

A Comparison between the Two-fluid Plasma Model and Hall-MHD for Captured Physics and Computational Effort 1

The JHU Turbulence Databases (JHTDB)

Kinetics of the Raman Instability in a Laser Plasma

Chapter 4. Nonlinear Hyperbolic Problems

Transcription:

Verification and Convergence Properties of a Particle-In-Cell Code B. J. Winjum 1, J. J. Tu 2, S. S. Su 3, V. K. Decyk 1, W. B. Mori 1 1 UCLA 2 Fudan U., China 3 U. Michigan 2014 Anomalous Absorption Conference This work was supported by NSF Grant No. ACI- 1339893 and DOE Grant Nos. DE- NA0001833, DE- SC0008491, DE- SC0008316, and DE- FC02-04ER54789. Support also provided by the UCLA NSF- REU and UCEAP programs and by the Foreign Affairs Office at Fudan University. SimulaUons were performed on the UCLA Hoffman2 and Dawson2 Clusters.

Introduction Particle-in-cell (PIC) codes have been widely used throughout plasma physics for over 50 years They are used when kinetic effects are important and continuum fluid models are inadequate *Birdsall and Langdon [1985] Basic PIC code loop:

But What mathematical model do PIC codes represent? Statistical model such as the Vlasov equation? f t + v f x + q f (E + v B) m v =0 Are particles phasespace markers, does the PIC code represent an ensemble average? Molecular dynamics model represented by a Klimontovich equation? F t + v F (x, v,t)= F x + q F (E + v B) m i v =0 S(x x i (t))s(v v i (t)) Not an ensemble average but a numerical experiment of a single instance? We hypothesize that the mathematical model behind PIC codes is a Klimontovich equation with finite-size particles We verify that the PIC code converges to this model as numerical parameters are varied

Preliminaries Our computational model for the Klimontovich equation for finite-size particles is the gridless PIC code We evolve a given number of particles with Maxwell s equations but without a grid Spectral For a periodic system, one can solve the model for a given number of particles with infinite Fourier series. We truncate the infinite Fourier series at a maximum wavenumber Allows comparison with a gridded PIC code Gridded Gridless Gaussian particle shape function Finite time step Gridless code with finite-size particles Description Convergence properties Conventional PIC code* Does it converge to the gridless code? The dispersion relation of electron plasma waves k min = 2 /L k max = / 2 /L (2 /L)N max *from the UPIC Framework, Decyk, Computer Phys. Comm. (2007)

Simulation Set-up 1D, periodic, thermal plasma 18432 electrons with exactly the same initial positions and velocities Fixed ion background L = 512λ D Electrostatic, dt = 0.1ω p -1 Electromagnetic, dt ~ 0.01ω p -1, v th /c = 0.1 We further specify: a = particle size N max = number of modes λ D = Debye length Δ = grid size Δ can also be used as a normalizing length to relate the gridless to gridded codes Our metric for comparisons: time history of the total field energy Electrostatic field energy Longitudinal electric, transverse electric, and magnetic field energies

Testing convergence of the electrostatic gridless code

Gridless code convergence with number of modes Baseline case: L = 512λ D, a=λ D, N max = 1024 N max [We add 10-14 which falls at the machine precision; this follows similarly on following slides]

Gridless Code convergence with particle size A conventional PIC code with L = 512λ D, a = λ D, and Δ = λ D would have N max =256. Is convergence found for a fixed number of modes by varying particle size? Comparison case: L = 512λ D, N max = 256, variable a Baseline case: L = 512λ D, N max = 1024, similar a a/λ D

Gridless Code convergence depends on k max a Whether varying number of modes (k max ) or particle size (a): k max 2 640 512 D a 2.25 D, k max = / D k max a 5 2 Key consideration: At some k m a, S(k) reduces all Fourier modes with k > k m by a ratio smaller than double precision can resolve S(k) =e k2 a 2 /2 10 14

Gridless Code convergence with time step The previous convergence is maintained for long times Approximately 50000 time steps a=2.25λ D, N max =256 vs 1024 Energy differences with the same parameters and a very small time step (dt = 0.003125 ω p -1 ) also show convergence Slower, quadratic vs exponential Such small time steps are unnecessary, but it s reassuring to see that nothing unreasonable occurs dt

Testing convergence of the electrostatic gridded PIC code with the gridless code

Convergence of the gridded code with gridless code Aliasing: particle density perturbations with k> / get mapped unphysically to shorter wavelengths Interpolation: we use linear, quadratic, and cubic B-spline functions Particle shape is a product of the interpolation function and filter function used to suppress aliasing With m the order of interpolation: W m (k) = [sin(k /2)/(k /2)] m+1 S g (k) =e (ka g) 2 /2 S eff (k) =W m (k)s g (k) To compare gridded with gridless code, we take S eff (k) S(k) a g = a 2 2 / α = 6, 4, and 3 for linear, quadratic, and cubic, respectively

Higher order interpolation gives better convergence Comparison case: Gridded PIC code, L = 512λ D, N max = 256, a=2.25δ, λ D = Δ Baseline case: Gridless code, L = 512λ D, N max = 256, λ D = Δ Electrostatic Field Energy Particle Kinetic Energy Total Energy The higher the order of interpolation, the more the aliased modes are reduced

The gridded code converges to the gridless code as the ratio of grid size to particle size is decreased Comparison case: Gridded PIC code, L = 512λ D, N max = 256, λ D /Δ = variable, cubic interpolation Baseline case: Gridless code, L = 512λ D, N max = 256 a=2.25λ D a=λ D λ D /Δ λ D /Δ

Solid line: Kinetic dispersion relation Dashed line: Kinetic dispersion relation with correction for finite-shape-particles A physical question: Do electron plasma waves have the proper dispersion relation? The shape function affects the electron charge and thereby the plasma frequency The change in the dispersion relation can be determined simply by 2 2 2 2 pe pes(k) or pe pes eff (k) For example, 2 = pe 2 +3k 2 vth 2 becomes 2 pe 2 a 2 g + 2 / + 3 k 2 vth 2 2 D Gridless code, L = 512λ D, N max = 256, a=0 Gridded code, L = 512λ D, Δ = λ D, a = Δ Δ = λ D, a = 2.25λ D

Testing convergence of the electromagnetic gridless code

Gridless code convergence with number of modes Baseline case: L = 512λ D, a=λ D, N max = 1024 Longitudinal Electric Field Energy N max Transverse Electric Field Energy MagneUc Field Energy

Gridless Code convergence with particle size A conventional PIC code with L = 512λ D, a = λ D, and Δ = λ D would have N max =256. Is convergence found for a fixed number of modes by varying particle size? Comparison case: L = 512λ D, N max = 256, variable a Baseline case: L = 512λ D, N max = 1024, similar a a/λ D

Gridless Code convergence depends on k max a Whether varying number of modes (k max ) or particle size (a): k max 2 640 512 D a 2.25 D, k max = / D k max a 5 2 Key consideration: again, when does the shape factor fall below machine precision S(k) =e k2 a 2 /2 10 14

Testing convergence of the electromagnetic gridded PIC code with the gridless code

Higher order interpolation gives better convergence Longitudinal Electric Field Energy Transverse Electric Field Energy W The higher the order of interpolation, the more the aliased modes are reduced The transverse electric field energy is not quite as convergent, but both longitudinal and transverse energies show improved convergence as the interpolation increases from linear to cubic

The gridded code converges to the gridless code as the ratio of grid size to particle size is decreased Comparison case: Gridded PIC code, L = 512λ D, N max = 256, λ D /Δ = variable, cubic interpolation Baseline case: Gridless code, L = 512λ D, N max = 256 Longitudinal Electric Field Energy, a=2.25λ D Longitudinal Electric Field Energy, a=λ D λ D /Δ λ D /Δ Transverse Electric Field Energy, a=λ D Magne&c Field Energy, a=λ D λ D /Δ λ D /Δ

Another physical question: Do electron plasma waves have the proper dispersion relation? The shape function affects the electron charge and thereby the plasma frequency The change in the dispersion relation can be determined simply by 2 2 2 2 pe pes(k) or pe pes eff (k) For example, 2 = pe 2 +3k 2 vth 2 becomes 2 pe 2 a 2 g + 2 / + 3 k 2 vth 2 2 D Gridded PIC code Cubic interpolation L = 512λ D a=δ λ D =Δ

Conclusions For 1D electrostatic and electromagnetic codes, we have found convergence 5 The gridless code converged for k max a 2 We found that a spectral PIC code converged to the gridless code Convergence occurred as a and λ D increased relative to Δ. These are interesting results, since we normally use PIC code with a=δ= λ D. With k max_pic = π/δ, the gridless result implies using a > 5/2 Δ For a=λ D, this implies using a PIC code with Δ ~ 0.5 λ D. We conclude that the mathematical model behind the PIC code is the Klimontovich model with finite-size particles