-
Implementation of a Mesh refinement algorithm into the quasi-static PIC code QuickPIC
Authors:
Q. Su,
F. Li,
W. An,
V. Decyk,
Y. Zhao,
L. Hildebrand,
T. N. Dalichaouch,
S. Zhou,
E. P. Alves,
A. S. Almgren,
W. B. Mori
Abstract:
Plasma-based acceleration (PBA) has emerged as a promising candidate for the accelerator technology used to build a future linear collider and/or an advanced light source. In PBA, a trailing or witness particle beam is accelerated in the plasma wave wakefield (WF) created by a laser or particle beam driver. The distance over which the drive beam evolves is several orders of magnitude larger than t…
▽ More
Plasma-based acceleration (PBA) has emerged as a promising candidate for the accelerator technology used to build a future linear collider and/or an advanced light source. In PBA, a trailing or witness particle beam is accelerated in the plasma wave wakefield (WF) created by a laser or particle beam driver. The distance over which the drive beam evolves is several orders of magnitude larger than the wake wavelength. This large disparity in length scales is amenable to the quasi-static approach. Three-dimensional (3D), quasi-static (QS), particle-in-cell (PIC) codes, e.g., QuickPIC, have been shown to provide high fidelity simulation capability with 2-4 orders of magnitude speedup over 3D fully explicit PIC codes. We describe a mesh refinement scheme that has been implemented into the 3D QS PIC code, QuickPIC. We use a very fine (high) resolution in a small spatial region that includes the witness beam and progressively coarser resolutions in the rest of the simulation domain. A fast multigrid Poisson solver has been implemented for the field solve on the refined meshes and a Fast Fourier Transform (FFT) based Poisson solver is used for the coarse mesh. The code has been parallelized with both MPI and OpenMP, and the parallel scalability has also been improved by using pipelining. A preliminary adaptive mesh refinement technique is described to optimize the computational time for simulations with an evolving witness beam size. Several test problems are used to verify that the mesh refinement algorithm provides accurate results. The results are also compared to highly resolved simulations with near azimuthal symmetry using a new hybrid QS PIC code QPAD that uses a PIC description in the coordinates ($r$, $ct-z$) and a gridless description in the azimuthal angle, $φ$.
△ Less
Submitted 1 May, 2024;
originally announced May 2024.
-
Accurate simulation of direct laser acceleration in a laser wakefield accelerator
Authors:
Kyle G. Miller,
John P. Palastro,
Jessica L. Shaw,
Fei Li,
Frank S. Tsung,
Viktor K. Decyk,
Warren B. Mori
Abstract:
In a laser wakefield accelerator (LWFA), an intense laser pulse excites a plasma wave that traps and accelerates electrons to relativistic energies. When the pulse overlaps the accelerated electrons, it can enhance the energy gain through direct laser acceleration (DLA) by resonantly driving the betatron oscillations of the electrons in the plasma wave. The particle-in-cell (PIC) algorithm, althou…
▽ More
In a laser wakefield accelerator (LWFA), an intense laser pulse excites a plasma wave that traps and accelerates electrons to relativistic energies. When the pulse overlaps the accelerated electrons, it can enhance the energy gain through direct laser acceleration (DLA) by resonantly driving the betatron oscillations of the electrons in the plasma wave. The particle-in-cell (PIC) algorithm, although often the tool of choice to study DLA, contains inherent errors due to numerical dispersion and the time staggering of the electric and magnetic fields. Further, conventional PIC implementations cannot reliably disentangle the fields of the plasma wave and laser pulse, which obscures interpretation of the dominant acceleration mechanism. Here, a customized field solver that reduces errors from both numerical dispersion and time staggering is used in conjunction with a field decomposition into azimuthal modes to perform PIC simulations of DLA in an LWFA. Comparisons with traditional PIC methods, model equations, and experimental data show improved accuracy with the customized solver and convergence with an order-of-magnitude fewer cells. The azimuthal-mode decomposition reveals that the most energetic electrons receive comparable energy from DLA and LWFA.
△ Less
Submitted 22 March, 2023;
originally announced March 2023.
-
Optimization of transformer ratio and beam loading in a plasma wakefield accelerator with a structure-exploiting algorithm
Authors:
Q. Su,
J. Larson,
T. N. Dalichaouch,
F. Li,
W. An,
L. Hildebrand,
Y. Zhao,
V. Decyk,
P. Alves,
S. M. Wild,
W. B. Mori
Abstract:
Plasma-based acceleration has emerged as a promising candidate as an accelerator technology for a future linear collider or a next-generation light source. For a linear collider, the energy transfer efficiency from the drive beam to the wake and from the wake to the trailing beam must be large, while the emittance and energy spread of the trailing bunch must be preserved. One way to simultaneously…
▽ More
Plasma-based acceleration has emerged as a promising candidate as an accelerator technology for a future linear collider or a next-generation light source. For a linear collider, the energy transfer efficiency from the drive beam to the wake and from the wake to the trailing beam must be large, while the emittance and energy spread of the trailing bunch must be preserved. One way to simultaneously achieve this when accelerating electrons is to use longitudinally shaped bunches and nonlinear wakes. In the linear regime, there is an analytical formalism to obtain the optimal shapes. In the nonlinear regime, however, the optimal shape of the driver to maximize the energy transfer efficiency cannot be precisely obtained because currently no theory describes the wake structure and excitation process for all degrees of nonlinearity. In addition, the ion channel radius is not well defined at the front of the wake where the plasma electrons are not fully blown out by the drive beam. We present results using a novel optimization method to effectively determine a current profile for the drive and trailing beam in PWFA that provides low energy spread, low emittance, and high acceleration efficiency. We parameterize the longitudinal beam current profile as a piecewise-linear function and define optimization objectives. For the trailing beam, the algorithm converges quickly to a nearly inverse trapezoidal trailing beam current profile similar to that predicted by the ultrarelativistic limit of the nonlinear wakefield theory. For the drive beam, the beam profile found by the optimization in the nonlinear regime that maximizes the transformer ratio also resembles that predicted by linear theory. The current profiles found from the optimization method provide higher transformer ratios compared with the linear ramp predicted by the relativistic limit of the nonlinear theory.
△ Less
Submitted 23 January, 2023;
originally announced January 2023.
-
Kinetic theory of particle-in-cell simulation plasma and the ensemble averaging technique
Authors:
Michael Touati,
Romain Codur,
Frank Tsung,
Viktor K Decyk,
Warren B Mori,
Luis O Silva
Abstract:
We derive the kinetic theory of fluctuations in physically and numerically stable particle-in-cell (PIC) simulations of electrostatic plasmas. The starting point is the single-time correlations at the simulation start between the statistical fluctuations of weighted densities of macroparticle centers in the plasma particle phase-space. The single-time correlations at all time steps and in each spa…
▽ More
We derive the kinetic theory of fluctuations in physically and numerically stable particle-in-cell (PIC) simulations of electrostatic plasmas. The starting point is the single-time correlations at the simulation start between the statistical fluctuations of weighted densities of macroparticle centers in the plasma particle phase-space. The single-time correlations at all time steps and in each spatial grid cell are then determined from the Laplace-Fourier transforms of the discretized Klimontovich-like equation for the macroparticles and Maxwell's equations for the fields as computed by modern PIC codes. We recover the expressions for the electrostatic field and the plasma particle density fluctuation autocorrelations spectra as well as the kinetic equations describing the average evolution of PIC-simulated plasma particles, first derived by Langdon in 1970, using a macroparticle test approach perturbing a discretized Vlasovian plasma and then averaging the obtained physical quantity over the initial macroparticle velocity distribution. We generalize and extend these results to the modern algorithms in PIC codes and using arbitrary macroparticle weights. Analytical estimates of statistical fluctuations single-time correlation amplitudes are derived as a function of the plasma simulation parameters, using the central limit theorem in the limit of a large number of macroparticles per cell. The theory is then used to analyze the ensemble averaging technique of PIC simulations where statistical averages are performed over ensembles of PIC simulations, modeling the same plasma physics problem but using different statistical realizations of the initial distribution functions of the macroparticles.
△ Less
Submitted 12 August, 2022;
originally announced August 2022.
-
An Analytic Boris Pusher for Plasma Simulation
Authors:
Viktor K. Decyk,
Warren B. Mori,
Fei Li
Abstract:
This paper discusses how to improve the Boris pusher used to advance relativistic charged particles in fixed electromagnetic fields. We first derive a simpler solution to a flaw previously discovered by others. We then derive a new analytic Boris pusher that is a minor modification to the original split-time scheme, except for the calculation of γ. This analytic pusher assumes that the change of γ…
▽ More
This paper discusses how to improve the Boris pusher used to advance relativistic charged particles in fixed electromagnetic fields. We first derive a simpler solution to a flaw previously discovered by others. We then derive a new analytic Boris pusher that is a minor modification to the original split-time scheme, except for the calculation of γ. This analytic pusher assumes that the change of γ during a particle advance is small. It is less accurate than the pusher derived by Fei Li et. al., but is nearly twice as fast. We will discuss when it is advantageous and when it is not.
△ Less
Submitted 28 April, 2022;
originally announced April 2022.
-
Integrating a ponderomotive guiding center algorithm into a quasi-static particle-in-cell code based on azimuthal mode decomposition
Authors:
Fei Li,
Weiming An,
Frank S. Tsung,
Viktor K. Decyk,
Warren B. Mori
Abstract:
High-fidelity modeling of plasma-based acceleration (PBA) requires the use of 3D fully nonlinear and kinetic descriptions based on the particle-in-cell (PIC) method. Three-dimensional PIC algorithms based on the quasi-static approximation (QSA) have been successfully applied to efficiently model the beam-plasma interaction. In a QSA-PIC algorithm, the plasma response to a charged particle beam or…
▽ More
High-fidelity modeling of plasma-based acceleration (PBA) requires the use of 3D fully nonlinear and kinetic descriptions based on the particle-in-cell (PIC) method. Three-dimensional PIC algorithms based on the quasi-static approximation (QSA) have been successfully applied to efficiently model the beam-plasma interaction. In a QSA-PIC algorithm, the plasma response to a charged particle beam or laser driver is calculated based on self-consistent forces from the QSA form of Maxwell's equations. These fields are then used to advance the charged particle beam or laser forward by a large time step. Since the time step is not limited by the regular Courant-Friedrichs-Lewy condition that constrains a standard 3D fully electromagnetic PIC code, a 3D QSA-PIC code can achieve orders of magnitude speedup in performance. Recently, a new hybrid QSA-PIC algorithm that combines another speedup technique known as azimuthal Fourier decomposition has been proposed and implemented. This hybrid algorithm decomposes the electromagnetic fields, charge and current density into azimuthal harmonics and only the Fourier coefficients need to be updated, which can significantly reduce the algorithmic complexity. Modeling the laser-plasma interaction in a full 3D PIC algorithm is very computationally expensive due to the enormous disparity of physical scales to be resolved. In the QSA the laser is modeled using the ponderomotive guiding center (PGC) approach. We describe how to implement a PGC algorithm compatible with the QSA PIC algorithms based on the azimuthal mode expansion. This algorithm permits time steps orders of magnitude larger than the cell size and it can be asynchronously parallelized. Details on how this is implemented into the QSA PIC code that utilizes an azimuthal mode expansion, QPAD, are also described.
△ Less
Submitted 7 September, 2022; v1 submitted 22 March, 2022;
originally announced March 2022.
-
Fast inverse transform sampling of non-Gaussian distribution functions in space plasmas
Authors:
Xin An,
Anton Artemyev,
Vassilis Angelopoulos,
San Lu,
Philip Pritchett,
Viktor Decyk
Abstract:
Non-Gaussian distributions are commonly observed in collisionless space plasmas. Generating samples from non-Gaussian distributions is critical for the initialization of particle-in-cell simulations that investigate their driven and undriven dynamics. To this end, we report a computationally efficient, robust tool, Chebsampling, to sample general distribution functions in one and two dimensions. T…
▽ More
Non-Gaussian distributions are commonly observed in collisionless space plasmas. Generating samples from non-Gaussian distributions is critical for the initialization of particle-in-cell simulations that investigate their driven and undriven dynamics. To this end, we report a computationally efficient, robust tool, Chebsampling, to sample general distribution functions in one and two dimensions. This tool is based on inverse transform sampling with function approximation by Chebyshev polynomials. We demonstrate practical uses of Chebsampling through sampling typical distribution functions in space plasmas.
△ Less
Submitted 28 April, 2022; v1 submitted 16 February, 2022;
originally announced February 2022.
-
Accurately simulating nine-dimensional phase space of relativistic particles in strong fields
Authors:
Fei Li,
Viktor K. Decyk,
Kyle G. Miller,
Adam Tableman,
Frank S. Tsung,
Marija Vranic,
Ricardo A. Fonseca,
Warren B. Mori
Abstract:
Next-generation high-power lasers that can be focused to intensities exceeding 10^23 W/cm^2 are enabling new physics and applications. The physics of how these lasers interact with matter is highly nonlinear, relativistic, and can involve lowest-order quantum effects. The current tool of choice for modeling these interactions is the particle-in-cell (PIC) method. In strong fields, the motion of ch…
▽ More
Next-generation high-power lasers that can be focused to intensities exceeding 10^23 W/cm^2 are enabling new physics and applications. The physics of how these lasers interact with matter is highly nonlinear, relativistic, and can involve lowest-order quantum effects. The current tool of choice for modeling these interactions is the particle-in-cell (PIC) method. In strong fields, the motion of charged particles and their spin is affected by radiation reaction. Standard PIC codes usually use Boris or its variants to advance the particles, which requires very small time steps in the strong-field regime to obtain accurate results. In addition, some problems require tracking the spin of particles, which creates a 9D particle phase space (x, u, s). Therefore, numerical algorithms that enable high-fidelity modeling of the 9D phase space in the strong-field regime are desired. We present a new 9D phase space particle pusher based on analytical solutions to the position, momentum and spin advance from the Lorentz force, together with the semi-classical form of RR in the Landau-Lifshitz equation and spin evolution given by the Bargmann-Michel-Telegdi equation. These analytical solutions are obtained by assuming a locally uniform and constant electromagnetic field during a time step. The solutions provide the 9D phase space advance in terms of a particle's proper time, and a map** is used to determine the proper time step for each particle from the simulation time step. Due to the analytical integration, the constraint on the time step needed to resolve trajectories in ultra-high fields can be greatly reduced. We present single-particle simulations and full PIC simulations to show that the proposed particle pusher can greatly improve the accuracy of particle trajectories in 9D phase space for given laser fields. A discussion on the numerical efficiency of the proposed pusher is also provided.
△ Less
Submitted 21 April, 2021; v1 submitted 15 July, 2020;
originally announced July 2020.
-
A new field solver for modeling of relativistic particle-laser interactions using the particle-in-cell algorithm
Authors:
Fei Li,
Kyle G. Miller,
Xinlu Xu,
Frank S. Tsung,
Viktor K. Decyk,
Weiming An,
Ricardo A. Fonseca,
Warren B. Mori
Abstract:
A customized finite-difference field solver for the particle-in-cell (PIC) algorithm that provides higher fidelity for wave-particle interactions in intense electromagnetic waves is presented. In many problems of interest, particles with relativistic energies interact with intense electromagnetic fields that have phase velocities near the speed of light. Numerical errors can arise due to (1) dispe…
▽ More
A customized finite-difference field solver for the particle-in-cell (PIC) algorithm that provides higher fidelity for wave-particle interactions in intense electromagnetic waves is presented. In many problems of interest, particles with relativistic energies interact with intense electromagnetic fields that have phase velocities near the speed of light. Numerical errors can arise due to (1) dispersion errors in the phase velocity of the wave, (2) the staggering in time between the electric and magnetic fields and between particle velocity and position and (3) errors in the time derivative in the momentum advance. Errors of the first two kinds are analyzed in detail. It is shown that by using field solvers with different $\mathbf{k}$-space operators in Faraday's and Ampere's law, the dispersion errors and magnetic field time-staggering errors in the particle pusher can be simultaneously removed for electromagnetic waves moving primarily in a specific direction. The new algorithm was implemented into OSIRIS by using customized higher-order finite-difference operators. Schemes using the proposed solver in combination with different particle pushers are compared through PIC simulation. It is shown that the use of the new algorithm, together with an analytic particle pusher (assuming constant fields over a time step), can lead to accurate modeling of the motion of a single electron in an intense laser field with normalized vector potentials, $eA/mc^2$, exceeding $10^4$ for typical cell sizes and time steps.
△ Less
Submitted 7 April, 2020;
originally announced April 2020.
-
Dynamic load balancing with enhanced shared-memory parallelism for particle-in-cell codes
Authors:
Kyle G. Miller,
Roman P. Lee,
Adam Tableman,
Anton Helm,
Ricardo A. Fonseca,
Viktor K. Decyk,
Warren B. Mori
Abstract:
Furthering our understanding of many of today's interesting problems in plasma physics---including plasma based acceleration and magnetic reconnection with pair production due to quantum electrodynamic effects---requires large-scale kinetic simulations using particle-in-cell (PIC) codes. However, these simulations are extremely demanding, requiring that contemporary PIC codes be designed to effici…
▽ More
Furthering our understanding of many of today's interesting problems in plasma physics---including plasma based acceleration and magnetic reconnection with pair production due to quantum electrodynamic effects---requires large-scale kinetic simulations using particle-in-cell (PIC) codes. However, these simulations are extremely demanding, requiring that contemporary PIC codes be designed to efficiently use a new fleet of exascale computing architectures. To this end, the key issue of parallel load balance across computational nodes must be addressed. We discuss the implementation of dynamic load balancing by dividing the simulation space into many small, self-contained regions or "tiles," along with shared-memory (e.g., OpenMP) parallelism both over many tiles and within single tiles. The load balancing algorithm can be used with three different topologies, including two space-filling curves. We tested this implementation in the code OSIRIS and show low overhead and improved scalability with OpenMP thread number on simulations with both uniform load and severe load imbalance. Compared to other load-balancing techniques, our algorithm gives order-of-magnitude improvement in parallel scalability for simulations with severe load imbalance issues.
△ Less
Submitted 23 March, 2020;
originally announced March 2020.
-
A quasi-static particle-in-cell algorithm based on an azimuthal Fourier decomposition for highly efficient simulations of plasma-based acceleration: QPAD
Authors:
Fei Li,
Weiming An,
Viktor K. Decyk,
Xinlu Xu,
Mark J. Hogan,
Warren B. Mori
Abstract:
The 3D quasi-static particle-in-cell (PIC) algorithm is a very efficient method for modeling short-pulse laser or relativistic charged particle beam-plasma interactions. In this algorithm, the plasma response to a non-evolving laser or particle beam is calculated using Maxwell's equations based on the quasi-static approximate equations that exclude radiation. The plasma fields are then used to adv…
▽ More
The 3D quasi-static particle-in-cell (PIC) algorithm is a very efficient method for modeling short-pulse laser or relativistic charged particle beam-plasma interactions. In this algorithm, the plasma response to a non-evolving laser or particle beam is calculated using Maxwell's equations based on the quasi-static approximate equations that exclude radiation. The plasma fields are then used to advance the laser or beam forward using a large time step. The algorithm is many orders of magnitude faster than a 3D fully explicit relativistic electromagnetic PIC algorithm. It has been shown to be capable to accurately model the evolution of lasers and particle beams in a variety of scenarios. At the same time, an algorithm in which the fields, currents and Maxwell equations are decomposed into azimuthal harmonics has been shown to reduce the complexity of a 3D explicit PIC algorithm to that of a 2D algorithm when the expansion is truncated while maintaining accuracy for problems with near azimuthal symmetry. This hybrid algorithm uses a PIC description in r-z and a gridless description in $φ$. We describe a novel method that combines the quasi-static and hybrid PIC methods. This algorithm expands the fields, charge and current density into azimuthal harmonics. A set of the quasi-static field equations are derived for each harmonic. The complex amplitudes of the fields are then solved using the finite difference method. The beam and plasma particles are advanced in Cartesian coordinates using the total fields. Details on how this algorithm was implemented using a similar workflow to an existing quasi-static code, QuickPIC, are presented. The new code is called QPAD for QuickPIC with Azimuthal Decomposition. Benchmarks and comparisons between a fully 3D explicit PIC code, a full 3D quasi-static code, and the new quasi-static PIC code with azimuthal decomposition are also presented.
△ Less
Submitted 19 February, 2020;
originally announced February 2020.
-
On numerical errors to the fields surrounding a relativistically moving particle in PIC codes
Authors:
Xinlu Xu,
Fei Li,
Frank S. Tsung,
Thamine N. Dalichaouch,
Weiming An,
Han Wen,
Viktor K. Decyk,
Ricardo A. Fonseca,
Mark J. Hogan,
Warren B. Mori
Abstract:
The particle-in-cell (PIC) method is widely used to model the self-consistent interaction between discrete particles and electromagnetic fields. It has been successfully applied to problems across plasma physics including plasma based acceleration, inertial confinement fusion, magnetically confined fusion, space physics, astrophysics, high energy density plasmas. In many cases the physics involves…
▽ More
The particle-in-cell (PIC) method is widely used to model the self-consistent interaction between discrete particles and electromagnetic fields. It has been successfully applied to problems across plasma physics including plasma based acceleration, inertial confinement fusion, magnetically confined fusion, space physics, astrophysics, high energy density plasmas. In many cases the physics involves how relativistic particles are generated and interact with plasmas. However, when relativistic particles stream across the grid both in vacuum and in plasma there are many numerical issues that may arise which can lead to incorrect physics. We present a detailed analysis of how discretized Maxwell solvers used in PIC codes can lead to numerical errors to the fields that surround particles that move at relativistic speeds across the grid. Expressions for the axial electric field as integrals in k space are presented. Two types of errors to these expressions are identified. The first arises from errors to the numerator of the integrand and leads to unphysical fields that are antisymmetric about the particle. The second arises from errors to the denominator of the integrand and lead to Cerenkov like radiation in "vacuum". These fields are not anti-symmetric, extend behind the particle, and cause the particle to accelerate or decelerate depending on the solver and parameters. The unphysical fields are studied in detail for two representative solvers - the Yee solver and the FFT based solver. A solution for eliminating these unphysical fields by modifying the k operator in the axial direction is also presented. Using a customized finite difference solver, this solution was successfully implemented into OSIRIS. Results from the customized solver are also presented. This solution will be useful for a beam of particles that all move in one direction with a small angular divergence.
△ Less
Submitted 29 October, 2019;
originally announced October 2019.
-
Unified view of nonlinear wave structures associated with whistler-mode chorus
Authors:
Xin An,
**xing Li,
Jacob Bortnik,
Viktor Decyk,
Craig Kletzing,
George Hospodarsky
Abstract:
A range of nonlinear wave structures, including Langmuir waves, unipolar electric fields and bipolar electric fields, are often observed in association with whistler-mode chorus waves in the near-Earth space. We demonstrate that the three seemingly different nonlinear wave structures originate from the same nonlinear electron trap** process by whistler-mode chorus waves. The ratio of the Landau…
▽ More
A range of nonlinear wave structures, including Langmuir waves, unipolar electric fields and bipolar electric fields, are often observed in association with whistler-mode chorus waves in the near-Earth space. We demonstrate that the three seemingly different nonlinear wave structures originate from the same nonlinear electron trap** process by whistler-mode chorus waves. The ratio of the Landau resonant velocity to the electron thermal velocity controls the type of nonlinear wave structures that will be generated.
△ Less
Submitted 25 July, 2020; v1 submitted 3 January, 2019;
originally announced January 2019.
-
Electrostatic and whistler instabilities excited by an electron beam
Authors:
Xin An,
Jacob Bortnik,
Bart Van Compernolle,
Viktor Decyk,
Richard Thorne
Abstract:
The electron beam-plasma system is ubiquitous in the space plasma environment. Here, using a Darwin particle-in-cell method, the excitation of electrostatic and whistler instabilities by a gyrating electron beam is studied in support of recent laboratory experiments. It is assumed that the total plasma frequency $ω_{pe}$ is larger than the electron cyclotron frequency $Ω_e$. The fast-growing elect…
▽ More
The electron beam-plasma system is ubiquitous in the space plasma environment. Here, using a Darwin particle-in-cell method, the excitation of electrostatic and whistler instabilities by a gyrating electron beam is studied in support of recent laboratory experiments. It is assumed that the total plasma frequency $ω_{pe}$ is larger than the electron cyclotron frequency $Ω_e$. The fast-growing electrostatic beam-mode waves saturate in a few plasma oscillations by slowing down and relaxing the electron beam parallel to the background magnetic field. Upon their saturation, the finite amplitude electrostatic beam-mode waves can resonate with the tail of the background thermal electrons and accelerate them to the beam parallel velocity. The slower-growing whistler waves are excited in primarily two resonance modes: (a) through Landau resonance due to the inverted slope of the beam electrons in the parallel velocity; (b) through cyclotron resonance by scattering electrons to both lower pitch angles and smaller energies. It is demonstrated that, for a field-aligned beam, the whistler instability can be suppressed by the electrostatic instability due to a faster energy transfer rate between beam electrons and the electrostatic waves. Such a competition of growth between whistler and electrostatic waves depends on the ratio of $ω_{pe}/Ω_e$. In terms of wave propagation, beam-generated electrostatic waves are confined to the beam region whereas beam-generated whistler waves transport energy away from the beam.
△ Less
Submitted 17 July, 2017;
originally announced July 2017.
-
Controlling the Numerical Cerenkov Instability in PIC simulations using a customized finite difference Maxwell solver and a local FFT based current correction
Authors:
Fei Li,
Peicheng Yu,
Xinlu Xu,
Frederico Fiuza,
Viktor K. Decyk,
Thamine Dalichaouch,
Asher Davidson,
Adam Tableman,
Weiming An,
Frank S. Tsung,
Ricardo A. Fonseca,
Wei Lu,
Warren B. Mori
Abstract:
In this paper we present a customized finite-difference-time-domain (FDTD) Maxwell solver for the particle-in-cell (PIC) algorithm. The solver is customized to effectively eliminate the numerical Cerenkov instability (NCI) which arises when a plasma (neutral or non-neutral) relativistically drifts on a grid when using the PIC algorithm. We control the EM dispersion curve in the direction of the pl…
▽ More
In this paper we present a customized finite-difference-time-domain (FDTD) Maxwell solver for the particle-in-cell (PIC) algorithm. The solver is customized to effectively eliminate the numerical Cerenkov instability (NCI) which arises when a plasma (neutral or non-neutral) relativistically drifts on a grid when using the PIC algorithm. We control the EM dispersion curve in the direction of the plasma drift of a FDTD Maxwell solver by using a customized higher order finite difference operator for the spatial derivative along the direction of the drift ($\hat 1$ direction). We show that this eliminates the main NCI modes with moderate $\vert k_1 \vert$, while keeps additional main NCI modes well outside the range of physical interest with higher $\vert k_1 \vert$. These main NCI modes can be easily filtered out along with first spatial aliasing NCI modes which are also at the edge of the fundamental Brillouin zone. The customized solver has the possible advantage of improved parallel scalability because it can be easily partitioned along $\hat 1$ which typically has many more cells than other directions for the problems of interest. We show that FFTs can be performed locally to current on each partition to filter out the main and first spatial aliasing NCI modes, and to correct the current so that it satisfies the continuity equation for the customized spatial derivative. This ensures that Gauss' Law is satisfied. We present simulation examples of one relativistically drifting plasmas, of two colliding relativistically drifting plasmas, and of nonlinear laser wakefield acceleration (LWFA) in a Lorentz boosted frame that show no evidence of the NCI can be observed when using this customized Maxwell solver together with its NCI elimination scheme.
△ Less
Submitted 5 May, 2016;
originally announced May 2016.
-
Lorentz boosted frame simulation of Laser wakefield acceleration in quasi-3D geometry
Authors:
Peicheng Yu,
Xinlu Xu,
Asher Davidson,
Adam Tableman,
Thamine Dalichaouch,
Michael D. Meyers,
Frank S. Tsung,
Viktor K. Decyk,
Frederico Fiuza,
Jorge Vieira,
Ricardo A. Fonseca,
Wei Lu,
Luis O. Silva,
Warren B. Mori
Abstract:
When modeling laser wakefield acceleration (LWFA) using the particle-in-cell (PIC) algorithm in a Lorentz boosted frame, the plasma is drifting relativistically at $β_b c$ towards the laser, which can lead to a computational speedup of $\sim γ_b^2=(1-β_b^2)^{-1}$. Meanwhile, when LWFA is modeled in the quasi-3D geometry in which the electromagnetic fields and current are decomposed into a limited…
▽ More
When modeling laser wakefield acceleration (LWFA) using the particle-in-cell (PIC) algorithm in a Lorentz boosted frame, the plasma is drifting relativistically at $β_b c$ towards the laser, which can lead to a computational speedup of $\sim γ_b^2=(1-β_b^2)^{-1}$. Meanwhile, when LWFA is modeled in the quasi-3D geometry in which the electromagnetic fields and current are decomposed into a limited number of azimuthal harmonics, speedups are achieved by modeling three dimensional problems with the computation load on the order of two dimensional $r-z$ simulations. Here, we describe how to combine the speed ups from the Lorentz boosted frame and quasi-3D algorithms. The key to the combination is the use of a hybrid Yee-FFT solver in the quasi-3D geometry that can be used to effectively eliminate the Numerical Cerenkov Instability (NCI) that inevitably arises in a Lorentz boosted frame due to the unphysical coupling of Langmuir modes and EM modes of the relativistically drifting plasma in these simulations. In addition, based on the space-time distribution of the LWFA data in the lab and boosted frame, we propose to use a moving window to follow the drifting plasma to further reduce the computational load. We describe the details of how the NCI is eliminated for the quasi-3D geometry, the setups for simulations which combine the Lorentz boosted frame and quasi-3D geometry, the use of a moving window, and compare the results from these simulations against their corresponding lab frame cases. Good agreement is obtained, particularly when there is no self-trap**, which demonstrates it is possible to combine the Lorentz boosted frame and the quasi-3D algorithms when modeling LWFA to achieve unprecedented speedups.
△ Less
Submitted 24 October, 2015;
originally announced October 2015.
-
Mitigation of numerical Cerenkov radiation and instability using a hybrid finite difference-FFT Maxwell solver and a local charge conserving current deposit
Authors:
Peicheng Yu,
Xinlu Xu,
Adam Tableman,
Viktor K. Decyk,
Frank S. Tsung,
Frederico Fiuza,
Asher Davidson,
Jorge Vieira,
Ricardo A. Fonseca,
Wei Lu,
Luis O. Silva,
Warren B. Mori
Abstract:
A hybrid Maxwell solver for fully relativistic and electromagnetic (EM) particle-in-cell (PIC) codes is described. In this solver, the EM fields are solved in $k$ space by performing an FFT in one direction, while using finite difference operators in the other direction(s). This solver eliminates the numerical Cerenkov radiation for particles moving in the preferred direction. Moreover, the numeri…
▽ More
A hybrid Maxwell solver for fully relativistic and electromagnetic (EM) particle-in-cell (PIC) codes is described. In this solver, the EM fields are solved in $k$ space by performing an FFT in one direction, while using finite difference operators in the other direction(s). This solver eliminates the numerical Cerenkov radiation for particles moving in the preferred direction. Moreover, the numerical Cerenkov instability (NCI) induced by the relativistically drifting plasma and beam can be eliminated using this hybrid solver by applying strategies that are similar to those recently developed for pure FFT solvers. A current correction is applied for the charge conserving current deposit to correctly account for the EM calculation in hybrid Yee-FFT solver. A theoretical analysis of the dispersion properties in vacuum and in a drifting plasma for the hybrid solver is presented, and compared with PIC simulations with good agreement obtained. This hybrid solver is applied to both 2D and 3D Cartesian and quasi-3D (in which the fields and current are decomposed into azimuthal harmonics) geometries. Illustrative results for laser wakefield accelerator simulation in a Lorentz boosted frame using the hybrid solver in the 2D Cartesian geometry are presented, and compared against results from 2D UPIC-EMMA simulation which uses a pure spectral Maxwell solver, and from OSIRIS 2D lab frame simulation using the standard Yee solver. Very good agreement is obtained which demonstrates the feasibility of using the hybrid solver for high fidelity simulation of relativistically drifting plasma with no evidence of the numerical Cerenkov instability.
△ Less
Submitted 4 February, 2015;
originally announced February 2015.
-
Elimination of the numerical Cerenkov instability for spectral EM-PIC codes
Authors:
Peicheng Yu,
Xinlu Xu,
Viktor K. Decyk,
F. Fiuza,
Jorge Vieira,
Frank S. Tsung,
Ricardo A. Fonseca,
Wei Lu,
Luis O. Silva,
Warren B. Mori
Abstract:
When using an electromagnetic particle-in-cell (EM-PIC) code to simulate a relativistically drifting plasma, a violent numerical instability known as the numerical Cerenkov instability (NCI) occurs. The NCI is due to the unphysical coupling of electromagnetic waves on a grid to wave-particle resonances, including aliased resonances, i.e., $ω+ 2πμ/Δt=(k_1+ 2πν_1/Δx_1)v_0$, where $μ$ and $ν_1$ refer…
▽ More
When using an electromagnetic particle-in-cell (EM-PIC) code to simulate a relativistically drifting plasma, a violent numerical instability known as the numerical Cerenkov instability (NCI) occurs. The NCI is due to the unphysical coupling of electromagnetic waves on a grid to wave-particle resonances, including aliased resonances, i.e., $ω+ 2πμ/Δt=(k_1+ 2πν_1/Δx_1)v_0$, where $μ$ and $ν_1$ refer to the time and space aliases and the plasma is drifting relativistically at velocity $v_0$ in the $\hat{1}$-direction. Recent studies have shown that an EM-PIC code which uses a spectral field solver and a low pass filter can eliminate the fastest growing modes of the NCI. Based on these studies a new spectral PIC code for studying laser wakefield acceleration (LWFA) in the Lorentz boosted frame was developed. However, we show that for parameters of relevance for LWFA simulations in the boosted frame, a relativistically drifting plasma is susceptible to a host of additional unstable modes with lower growth rates, and that these modes appear when the fastest growing unstable modes are filtered out. We show that these modes are most easily identified as the coupling between modes which are purely transverse (EM) and purely longitudinal (Langmuir) in the rest frame of the plasma for specific time and space aliases. We rewrite the dispersion relation of the drifting plasma for a general field solver and obtain analytic expressions for the location and growth rate for each unstable mode, i.e, for each time and space aliased resonances. We show for the spectral solver that when the fastest growing mode is eliminated a new mode at the fundamental resonance ($μ=ν_1=0$) can be seen. (Please check the whole abstract in the paper).
△ Less
Submitted 31 January, 2015; v1 submitted 1 July, 2014;
originally announced July 2014.
-
Modeling of Laser wakefield acceleration in Lorentz boosted frame using EM-PIC code with spectral solver
Authors:
Peicheng Yu,
Xinlu Xu,
Viktor K. Decyk,
Weiming An,
Jorge Vieira,
Frank S. Tsung,
Ricardo A. Fonseca,
Wei Lu,
Luis O. Silva,
Warren B. Mori
Abstract:
Simulating laser wakefield acceleration (LWFA) in a Lorentz boosted frame in which the plasma drifts towards the laser with $v_b$ can speedup the simulation by factors of $γ^2_b=(1-v^2_b/c^2)^{-1}$. In these simulations the relativistic drifting plasma inevitably induces a high frequency numerical instability that contaminates the interested physics. Various approaches have been proposed to mitiga…
▽ More
Simulating laser wakefield acceleration (LWFA) in a Lorentz boosted frame in which the plasma drifts towards the laser with $v_b$ can speedup the simulation by factors of $γ^2_b=(1-v^2_b/c^2)^{-1}$. In these simulations the relativistic drifting plasma inevitably induces a high frequency numerical instability that contaminates the interested physics. Various approaches have been proposed to mitigate this instability. One approach is to solve Maxwell equations in Fourier space (a spectral solver) as this has been shown to suppress the fastest growing modes of this instability in simple test problems using a simple low pass, ring (in two dimensions), or shell (in three dimensions) filter in Fourier space. We describe the development of a fully parallelized, multi-dimensional, particle-in-cell code that uses a spectral solver to solve Maxwell's equations and that includes the ability to launch a laser using a moving antenna. This new EM-PIC code is called UPIC-EMMA and it is based on the components of the UCLA PIC framework (UPIC). We show that by using UPIC-EMMA, LWFA simulations in the boosted frames with arbitrary $γ_b$ can be conducted without the presence of the numerical instability. We also compare the results of a few LWFA cases for several values of $γ_b$, including lab frame simulations using OSIRIS, a EM-PIC code with a finite difference time domain (FDTD) Maxwell solver. These comparisons include cases in both linear, and nonlinear regimes. We also investigate some issues associated with numerical dispersion in lab and boosted frame simulations and between FDTD and spectral solvers.
△ Less
Submitted 9 October, 2013;
originally announced October 2013.
-
Snowmass 2013 Computing Frontier: Accelerator Science
Authors:
P. Spentzouris,
E. Cormier-Michel,
C. Joshi,
J. Amundson,
W. An,
D. L. Bruhwiler,
J. R. Cary,
B. Cowan,
V. K. Decyk,
E. Esarey,
R. A. Fonseca,
A. Friedman,
C. G. R. Geddes,
D. P. Grote,
I. Kourbanis,
W. P. Leemans,
W. Lu,
W. B. Mori,
C. Ng,
Ji Qiang,
T. Roberts,
R. D. Ryne,
C. B. Schroeder,
L. O. Silva,
F. S. Tsung
, et al. (2 additional authors not shown)
Abstract:
This is the working summary of the Accelerator Science working group of the Computing Frontier of the Snowmass meeting 2013. It summarizes the computing requirements to support accelerator technology in both Energy and Intensity Frontiers.
This is the working summary of the Accelerator Science working group of the Computing Frontier of the Snowmass meeting 2013. It summarizes the computing requirements to support accelerator technology in both Energy and Intensity Frontiers.
△ Less
Submitted 8 October, 2013;
originally announced October 2013.
-
Numerical instability due to relativistic plasma drift in EM-PIC simulations
Authors:
Xinlu Xu,
Peicheng Yu,
Samual F. Martins,
Frank S. Tsung,
Viktor K. Decyk,
Ricardo A. Fonseca,
Wei Lu,
Luis O. Silva,
Warren B. Mori
Abstract:
The numerical instability observed in the Electromagnetic-Particle-in-cell (EM-PIC) simulations with a plasma drifting with relativistic velocities is studied using both theory and computer simulations. We derive the numerical dispersion relation for a cold plasma drifting with a relativistic velocity and find an instability attributed to the coupling between the beam modes of the drifting plasma…
▽ More
The numerical instability observed in the Electromagnetic-Particle-in-cell (EM-PIC) simulations with a plasma drifting with relativistic velocities is studied using both theory and computer simulations. We derive the numerical dispersion relation for a cold plasma drifting with a relativistic velocity and find an instability attributed to the coupling between the beam modes of the drifting plasma and the electromagnetic modes in the system. The characteristic pattern of the instability in Fourier space for various simulation setups and Maxwell Equation solvers are explored by solving the corresponding numerical dispersion relations. Furthermore, based upon these characteristic patterns we derive an asymptotic expression for the instability growth rate. The asymptotic expression greatly speeds up the calculation of instability growth rate and makes the parameter scan for minimal growth rate feasible even for full three dimensions. The results are compared against simulation results and good agreement is found. These results can be used as a guide to develop possible approaches to mitigate the instability. We examine the use of a spectral solver and show that such a solver when combined with a low pass filter with a cutoff value of $|\vec{k}|$ essentially eliminates the instability while not modifying modes of physical interest. The use of spectral solver also provides minimal errors to electromagnetic modes in the lowest Brillouin zones.
△ Less
Submitted 29 November, 2012; v1 submitted 5 November, 2012;
originally announced November 2012.
-
One-to-one full scale simulations of laser wakefield acceleration using QuickPIC
Authors:
J. Vieira,
F. Fiuza,
R. A. Fonseca,
L. O. Silva,
C. Huang,
W. Lu,
M. Tzoufras,
F. S. Tsung,
V. Decyk,
W. B. Mori,
J. Cooley,
T. Antonsen Jr
Abstract:
We use the quasi-static particle-in-cell code QuickPIC to perform full-scale, one-to-one LWFA numerical experiments, with parameters that closely follow current experimental conditions. The propagation of state-of-the-art laser pulses in both preformed and uniform plasma channels is examined. We show that the presence of the channel is important whenever the laser self-modulations do not dominat…
▽ More
We use the quasi-static particle-in-cell code QuickPIC to perform full-scale, one-to-one LWFA numerical experiments, with parameters that closely follow current experimental conditions. The propagation of state-of-the-art laser pulses in both preformed and uniform plasma channels is examined. We show that the presence of the channel is important whenever the laser self-modulations do not dominate the propagation. We examine the acceleration of an externally injected electron beam in the wake generated by 10 J laser pulses, showing that by using ten-centimeter-scale plasma channels it is possible to accelerate electrons to more than 4 GeV. A comparison between QuickPIC and 2D OSIRIS is provided. Good qualitative agreement between the two codes is found, but the 2D full PIC simulations fail to predict the correct laser and wakefield amplitudes.
△ Less
Submitted 23 June, 2008;
originally announced June 2008.
-
Simulating Plasma Turbulence in Tokamaks
Authors:
Jeremy Kepner,
Scott Parker,
Viktor Decyk
Abstract:
A challenging and fundamental research problem is the better understanding and control of the turbulent transport of heat in present-day tokamak fusion experiments. Recent developments in numerical methods along with enormous gains in computing power have made large-scale simulations an important tool for improving our understanding of this phenomena. Simulating this highly non-linear behavior r…
▽ More
A challenging and fundamental research problem is the better understanding and control of the turbulent transport of heat in present-day tokamak fusion experiments. Recent developments in numerical methods along with enormous gains in computing power have made large-scale simulations an important tool for improving our understanding of this phenomena. Simulating this highly non-linear behavior requires solving for the perturbations of the phase space distribution function in five dimensions. We use a particle-in-cell approach to solve the equations. The code has been parallelized for a variety of architectures (C90, CM-5, T3D) using a 1-D domain decomposition along the toroidal axis, for which the number of particles in each cell remains approximately constant. The quasi-uniform distribution of particles, which minimizes load imbalance, coupled with the relatively small movement of particles across cells, which minimizes communications, makes this problem ideally suited to massively parallel architectures. We present the performance of the program for different numbers of processors and problem sizes. In addition, we discuss some recent scientific results obtained from the code.
△ Less
Submitted 10 April, 1997;
originally announced April 1997.
-
Massively Parallel Computing of Turbulent Transport in Tokamaks
Authors:
Jeremy Kepner,
Scott Parker,
Viktor Decyk
Abstract:
With the advent of the gyrokinetic formalism, recent developments in low-noise nonlinear $δf$ methods, and enormous gains in computing power, large-scale gyrokinetic simulations have become an important tool for improved understanding of anomalous transport in tokamaks. Simulating the non-linear behaviour requires solving for the perturbations of distrbution function in five dimensions. We use a…
▽ More
With the advent of the gyrokinetic formalism, recent developments in low-noise nonlinear $δf$ methods, and enormous gains in computing power, large-scale gyrokinetic simulations have become an important tool for improved understanding of anomalous transport in tokamaks. Simulating the non-linear behaviour requires solving for the perturbations of distrbution function in five dimensions. We use a particle-in-cell approach to solve the equations via the non-linear characteristic method. The code has been parallelized for a variety of architecures (C90, CM-5, T3D) using a 1-D domain decomposition along the torroidal axis, for which the number of particles in each cell remains approximately constant. The quasi uniform distribution of particles, which minimizes load imbalance, coupled with the relatively small movement of particles across cells, which minimizes communications, makes this problem ideally suited to massively parallel architectures. We present the performance of the program as a function of number of processors and problem size, which demonstrates the near perfect scalability of the code. In addition, we discuss the scientific results obtained from the code and the types of problems that will be addressable as the next generation of super-computers become available.
△ Less
Submitted 27 November, 1996;
originally announced November 1996.