1. An electrostatic Particle-In-Cell code on multi-block structured meshes
- Author
-
Daniil Svyatskiy, Collin S. Meierbachtol, Gian Luca Delzanno, J. David Moulton, and Louis J. Vernon
- Subjects
Theoretical computer science ,Physics and Astronomy (miscellaneous) ,Discretization ,Computer science ,010103 numerical & computational mathematics ,Volume mesh ,01 natural sciences ,Mathematics::Numerical Analysis ,010305 fluids & plasmas ,Computational science ,law.invention ,Block (programming) ,law ,Position (vector) ,0103 physical sciences ,Polygon mesh ,Cartesian coordinate system ,0101 mathematics ,ComputingMethodologies_COMPUTERGRAPHICS ,Numerical Analysis ,Curvilinear coordinates ,Applied Mathematics ,Computer Science Applications ,Computational Mathematics ,Unit cube ,Modeling and Simulation - Abstract
We present an electrostatic Particle-In-Cell (PIC) code on multi-block, locally structured, curvilinear meshes called Curvilinear PIC (CPIC). Multi-block meshes are essential to capture complex geometries accurately and with good mesh quality, something that would not be possible with single-block structured meshes that are often used in PIC and for which CPIC was initially developed. Despite the structured nature of the individual blocks, multi-block meshes resemble unstructured meshes in a global sense and introduce several new challenges, such as the presence of discontinuities in the mesh properties and coordinate orientation changes across adjacent blocks, and polyjunction points where an arbitrary number of blocks meet. In CPIC, these challenges have been met by an approach that features: (1) a curvilinear formulation of the PIC method: each mesh block is mapped from the physical space, where the mesh is curvilinear and arbitrarily distorted, to the logical space, where the mesh is uniform and Cartesian on the unit cube; (2) a mimetic discretization of Poisson's equation suitable for multi-block meshes; and (3) a hybrid (logical-space position/physical-space velocity), asynchronous particle mover that mitigates the performance degradation created by the necessity to track particles as they move across blocks. The numerical accuracy of CPIC was verified using two standard plasma–material interaction tests, which demonstrate good agreement with the corresponding analytic solutions. Compared to PIC codes on unstructured meshes, which have also been used for their flexibility in handling complex geometries but whose performance suffers from issues associated with data locality and indirect data access patterns, PIC codes on multi-block structured meshes may offer the best compromise for capturing complex geometries while also maintaining solution accuracy and computational efficiency.
- Published
- 2017
- Full Text
- View/download PDF