A Set of Benchmark Tests for Validation of 3D Particle in Cell Methods S

A Set of Benchmark Tests for Validation of 3D Particle in Cell Methods S

1 A Set of Benchmark Tests for Validation of 3D Particle In Cell Methods S. O’Connor, Student Member, IEEE, Z. D. Crawford, Student Member, IEEE, J. Verboncoeur, Fellow, IEEE, J. Lugisland, Fellow, IEEE, B. Shanker, Fellow, IEEE Abstract—While the particle-in-cell (PIC) method is quite ma- been around for several decades, originating in the 1960’s. ture, verification and validation of both newly developed methods Much of the early work focused on using finite-difference and individual codes has largely focused on an idiosyncratic time-domain (FDTD) for electromagnetic fields solutions on choice of a few test cases. Many of these test cases involve either one- or two-dimensional simulations. This is either due to a regular grid, more specifically, Yee Cells [4]. This method availability of (quasi) analytic solutions or historical reasons. Ad- has become popular due to its simplicity and scalabilty [5]. ditionally, tests often focus on investigation of particular physics Additionally, these methods are local, which makes parallel problems, such as particle emission or collisions, and do not implementation relatively straight forward. While efficient, necessarily study the combined impact of the suite of algorithms curved surfaces, or any geometry that is not aligned with a necessary for a full featured PIC code. As three dimensional (3D) codes become the norm, there is a lack of benchmarks test that regular structured grid, is poorly represented. Significant work can establish the validity of these codes; existing papers either has been done to adapt Cartesian grids with better model do not delve into the details of the numerical experiment or boundaries. The most popular is the Dey-Mittra adaption of provide other measurable numeric metrics (such as noise) that FDTD to PIC [6]. It should be noted that there have been a are outcomes of the simulation. number of other advances in conformal FDTD [7], but they This paper seeks to provide several test cases that can be used for validation and bench-marking of particle in cell codes in 3D. have not made their way into PIC codes. An alternative is We focus on examples that are collisionless, and can be run with to use an axisymmetric methods when possible by treating a a reasonable amount of computational power. three dimensional problem in a two-dimensional setting. An Four test cases are presented in significant detail; these include, excellent example is XOOPIC, which is open source and has basic particle motion, beam expansion, adiabatic expansion of been used extensively [8]. plasma, and two stream instability. All presented cases are compared either against existing analytical data or other codes. Since the introduction of FDTD, the fields community has We anticipate that these cases should help fill the void of bench- invested time and resources to developing high fidelity field marking and validation problems and help the development of solvers. These include finite element method (FEM) and dis- new particle in cell codes. continuous Galerkin methods (DG). Both can provide higher Index Terms—Particle in Cell, PIC, Finite Element Method, order representation of fields and geometry. Additionally, one Maxwell Solvers, Vlasov Equations, Plasma, Space Charge has better understanding of efficient time marching schemes [9]. Here, our focus is finite element based Maxwell solver, I. INTRODUCTION that have been a) adapted to PIC and b) shown to be devoid of several problems associated with charge conservation. IMULATION of space charge and plasma is an integral The challenge with using unstructured grids, using FEM or part of many scientific and engineering processes, with S DG, is developing a consistent scheme to solve the coupled specific applications of pulsed power, particle accelerators, problem of evolving fields and particle population. Given directed energy, integrated chip manufacture, satellites, and the relative lack of maturity of FEM-PIC, it is important to medicine, to name a few examples. A number of methods understand how the nuances of these algorithms affect the have been used to simulate the underlying physics; these range accuracy of the physics that is predicted. Small variations from molecular dynamics, many-body, global-model, 2-fluid, in method can have significantly different prediction; for in- magneto-hydrodynamics (MHD), etc. [1]. The key with all of stance, time stepping method, solving the first order Maxwell’s these methods is the self-consistent evolution of the fields and arXiv:2101.09299v1 [physics.comp-ph] 22 Jan 2021 equations vs. solving the second order wave equation, order plasma. In the area of kinetic computational plasma physics, of spatial basis functions, order of time basis function, etc., this means evolving the particle distribution function in a can yield different predictions. Perhaps, the most critical of manner consistent with dynamic electric and magnetic fields. these nuances is charge conservation in that it explicitly One such method, the Particle-in-Cell (PIC), does this by (a) ties together the evolution of the fields and the particles. mapping all particle-field interactions through a mesh, and Additionally, while there has been extensive efforts for FEM (b) using macro-particles as statistically significant markers in the context of source-free electromagnetics, FEM-PIC is of the distribution function’s phasespace [2], [3]. PIC has much less developed. The most recent of these is the work in S. O’Connor, Z. D. Crawford, J. Verboncour, J. Lugisland, B. Shanker are [10] where a charge conserving scheme for Whitney basis was with the Department of Electrical and Computer Engineering, Michigan State presented. This has been developed further by Teixeira [11]. University, East Lansing, MI, 48824. E-mail: [email protected] This begs the question as to how PIC codes are validated. Correctness of a simulation has typically been done through 2 @D(t; r) a number of methods such as simple property test such as = r × H(t; r) − J(t; r) (2b) energy conservation, to more rigorous tests such as rates of @t convergence. These test are described in more rigor in [12]. r · B(t; r) = 0 (2c) The most rigorous tests require a comparison with analytical solutions. But, this is much harder to come by in PIC settings, r · D(t; r) = ρ(t; r) (2d) as analytic solution for most problems do not exist. Most tests rely either demonstrating proper behavior, or comparison to We assume that the boundary can be subdivided into either another code. As a result, there is a need for a set of test Dirichlet ΓD, Nuemann ΓN or impedance ΓI , boundary con- examples that can be used to validate/benchmark and see how ditions as defined by, these variations affect the solution of the solver. Validation and verification methods play import roles in quantifying error, n^ × E(r; t) = ΨD(r; t) on ΓD; (3a) numerical noise, and comparison of method performance. Of late, in the PIC community, there has been a push for more B(r; t) n^ × = Ψ (r; t) on Γ ; (3b) robust bench marking and validation of (PIC) codes [12]– µ N N [14]. Much of this current literature focuses on discharge and particle emission and collisions. Less attention is paid B(r; t) n^ × − Y n^ × n^ × E(r; t) = Ψ (r; t) on Γ : (3c) to test examples where the grid-particle interaction dominate µ I I the numerical effects. This is the void we seek to fill. n^ Γ Γ Γ In collision-less PIC, there are a number of metrics one may where is an outward pointing normal to D, N or I . Y = p /µ want to measure such as field noise, charge conservation and We define 0 0 as the free space surface admittance, Ψ (r; t); Ψ (r; t); Ψ (r; t) energy fluctuation. A set of benchmark tests are needed to and D N I are boundary condition func- measure each of these metrics. In this paper, we have devised tions. Initial conditions, must satisfy Gauss’s electric and mag- r·D(0; r) = ρ(0; r) r·B(0; r) = 0 a set of test cases to measure various metrics of particle in netic law, such that and . cell codes to both verify the code and allow for comparisons The algorithm’s preservation of these conditions can then be between codes. The four cases presented here have (quasi)- tested by our problems. analytic solutions, and can be verified against other methods such as an electrostatic PIC codes. We provide details of each A. The Discrete Domain case such that comparison and validation is easy. Each of these cases are a 3-D example that can be set up with simple To solve the system, we use a 3D finite element Maxwell boundary conditions – perfect electric conductor (PEC) or first solver. Consider a domain Ω broken into an irregular non- order absorbing boundary condition (ABC). The domain size overlapping tetrahedral elements with boundaries @Ω. In each to capture the physic of the problem is limited such that large tetrahedral element the field quantities E and B can be repre- amount of computational resources are not needed, but can be sented using Whitney spaces. The moments of the distribution scaled in a parallel context, to test algorithm scaling. function can be represented using using delta functions, shown in Eq. (4a),(4b), II. PROBLEM DESCRIPTION Np Next, we present a succinct outline of the problem descrip- X ρα(t; r) = qα δ(r − rp(t)) (4a) tion and implementation details for the test cases presented. p Consider a domain Ω enclosed by a boundary @Ω. The domain consists of a free space permittivity and permeability defined Np X by 0 and µ0, and can contain multiple charge species. Both the Jα(t; r) = qα vp(t)δ(r − rp(t)) (4b) fields and charge distribution evolve over time self consistently p with accordance to both the Vlasov Eq.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us