Hostname: page-component-6898cfcb55-zsp5v Total loading time: 0 Render date: 2026-11-12T01:15:06.764Z Has data issue: false hasContentIssue false

A parallel particle-in-cell code for spacecraft charging problems

Published online by Cambridge University Press:  03 June 2020

Kai Zhang
Affiliation:
Department of Mechanical Engineering-Engineering Mechanics, Michigan Technological University, Houghton, MI49931, USA
Shiying Cai
Affiliation:
Department of Mechanical Engineering-Engineering Mechanics, Michigan Technological University, Houghton, MI49931, USA
Chunpei Cai*
Affiliation:
Department of Mechanical Engineering-Engineering Mechanics, Michigan Technological University, Houghton, MI49931, USA
David L. Cooke
Affiliation:
Space Vehicle Directorate, Air Force Research Laboratory, Kirtland Air Force Base, Albuquerque, NM87117, USA
*
†Email address for correspondence: ccai@mtu.edu
Rights & Permissions [Opens in a new window]

Abstract

This paper reports the recent development of a full-scale particle-in-cell (PIC) simulation package highlighting an efficient electro-statics (ES)-PIC implementation for spacecraft charging problems. Numerical simulations are crucial in studying plasma flows because analytical solutions are rare, and experiments are expensive. There are many types of plasma flow that need various numerical methods for efficient and accurate simulations; as such, how to implement and organize those different methods into one comprehensive simulation package is challenging. This work adopted several modern software design patterns and developed a versatile package that includes various PIC schemes. This package has an open architecture, clean interfaces with both serial and parallel simulation capabilities. Two benchmark test cases are included to demonstrate the capabilities of this package. Then two plasma flows around a positively charged probe are simulated, and the results are discussed. The simulation results are consistent with past simulation results, and new insights are obtained. This work can lead to the development and organization of more sophisticated plasma simulation solvers in the future.

Information

Type
Research Article
Copyright
© The Author(s), 2020. Published by Cambridge University Press
Figure 0

Figure 1.Illustrations of the inheritance relations among different simulation engine classes.

Figure 1

Figure 2.(a) Illustrations for a root class with pure virtual member functions; (b) the main code with the engine classes and objects.

Figure 2

Figure 3.(a) Main loop and data structures for the simulation package; (b) two-dimensional illustration for transferring particles among sub-domains handled by different processors.

Figure 3

Figure 4.Test Case I: simulation set-up. Domain size: $\text{NX}=\text{NZ}=157$, $\text{NY}=221$, where NX, NY, NZ denote the number of nodes along each axis; mesh size $\unicode[STIX]{x0394}x=\unicode[STIX]{x0394}y=\unicode[STIX]{x0394}z=0.0105~\text{m}$, approximately one Debye length.

Figure 4

Figure 5.Test Case I: (a) probe current collection history for the case of 10 V probe surface potential; (b) the I–V relation predicted by the Parker–Murphy theory and simulations.

Figure 5

Figure 6.Test Case II: (a) electron current development history for probe $R_{p}=10\unicode[STIX]{x1D706}_{D}$, $e\unicode[STIX]{x1D6F7}/kT=15$ and $T_{i}/T_{e}=1.0$; (b) electron current collections: simulation (symbols) and Laframboise’s theoretical (lines) results.

Figure 6

Figure 7.Case III: simulation domain illustration. Domain size: $\text{NX}=\text{NZ}=157$, $\text{NY}=289$, where NX, NY, NZ denote the number of nodes along each axis; mesh size $\unicode[STIX]{x0394}x=\unicode[STIX]{x0394}y=\unicode[STIX]{x0394}z=0.01~\text{m}$.

Figure 7

Table 1.Simulation parameters for Case III (Singh et al.1997).

Figure 8

Figure 8.Case III: potential (units: Volt) contours in the (a) $X^{\ast }$ plane; and (b) $Y^{\ast }$ plane. Probe surface potential: 10 V.

Figure 9

Figure 9.Case III: snapshots of ion number density $n_{i}$ in the (a) $X^{\ast }$ and (b) $Y^{\ast }$ planes. Unit: $\text{m}^{-3}$. Ions are expelled from the probe and have difficulty entering the wake region.

Figure 10

Figure 10.Case III: snapshots of electron number density $n_{e}$ in the (a) $X^{\ast }$ and (b) $Y^{\ast }$ planes. Unit: $\text{m}^{-3}$. They are attracted to the probe and can enter the wake region.

Figure 11

Figure 11.Case III: (a) electron velocity vectors in the $X^{\ast }$ plane, averaged over 30 time steps; (b) the corresponding ion velocity vectors in the same plane.

Figure 12

Figure 12.Case III: (a) electron velocity vectors in the $Y^{\ast }$ plane, averaged over 30 time steps; (b) the corresponding ion velocity vectors in the same plane.

Figure 13

Figure 13.Case III: electron kinetic energy in the (a) $X^{\ast }$ and the (b) $Y^{\ast }$ planes.

Figure 14

Figure 14.Case III: (a) averaged potentials extracted along $Z=0.5~\text{m}$, probe centreline $Z=0.0~\text{m}$ and $Z=1.1~\text{m}$, at a final quasi-steady flow state; (b) collected current development history.

Figure 15

Figure 15.Case IV: (a) simulation domain illustration, $X1=90\unicode[STIX]{x1D706}_{D}$, $Y1=300\unicode[STIX]{x1D706}_{D}$, $Z1=40\unicode[STIX]{x1D706}_{D}$, $Z2=100\unicode[STIX]{x1D706}_{D}$; (b) probe current collection history.

Figure 16

Table 2.Simulation parameters for test Case IV (Heinrich & Cooke 2013).

Figure 17

Figure 16.Case IV: (a) $n_{i}$, (b) $n_{e}$, in the $X^{\ast }$ plane. Unit: $\text{m}^{-3}$.

Figure 18

Figure 17.Case IV: (a) $n_{i}$ and (b) $n_{e}$ in the $Y^{\ast }$ plane. Unit: $\text{m}^{-3}$.

Figure 19

Figure 18.Case IV: potential contours in the (a) $X^{\ast }$ and (b) $Y^{\ast }$ planes. Unit: Volts.

Figure 20

Figure 19.Case IV: (a) ion and (b) electron velocity vectors in the $Y^{\ast }$ plane, coloured by their number densities.

Figure 21

Figure 20.Case IV: velocity vectors for: (a) ions, and (b) electrons, in the $Y^{\ast }$ plane. Coloured by their number densities; electron downward drift motions are removed to illustrate the trapping effect.

Figure 22

Figure 21.Case IV: (a) number density (unit: $\text{m}^{-3}$), and (b) average temperatures, along the $P^{\ast }$ line.

Figure 23

Figure 22.Case IV: species temperature component profiles along the $P^{\ast }$ line: (a) ions, (b) electrons.

Figure 24

Figure 23.Case IV: I–V curve from simulations with a probe potential ranging from 50 to 500 V. (a) In semi-log scales; (b) in log–log scales; (c) simulated currents versus those from the Parker–Murphy theory.