Uppsala University
Kinetic simulation of spherically symmetric collisionless plasma in the
inner part of a cometary coma
Student: Pavel Dogurevich Supervisor: Anders Eriksson
July 11, 2019
Contents
1 Introduction 1
2 Cometary plasma environment 1
3 Model 2
3.1 Overview . . . . 2
3.2 Neutral gas . . . . 3
3.3 Plasma . . . . 4
3.4 Absorbing nucleus . . . . 5
3.5 Electric field . . . . 5
3.6 Electrostatic potential . . . . 6
3.7 Equations of motion . . . . 6
4 Simulation 7 4.1 Overview . . . . 7
4.2 Motion . . . . 7
4.3 Ionization . . . . 8
4.4 Plasma absorption . . . . 9
4.5 Metaparticles . . . . 9
4.6 Normalization . . . . 10
4.7 Summary . . . . 11
4.8 Implementation . . . . 13
5 Results 13 5.1 Simulation parameters . . . . 13
5.2 Charge of nucleus . . . . 15
5.3 Plasma number density . . . . 16
5.4 Electrostatic potential . . . . 18
5.5 Electron motion . . . . 20
6 Discussion 21
2 COMETARY PLASMA ENVIRONMENT 1
Figure 1: Plasma environment of a highly active comet. Credit: NASA/JPL
1 Introduction
This report describes the work done for a short research project concerned with the simulation of cometary plasma. The next section gives a brief overview of the cometary plasma environment. It is followed by the descrip- tion of the model and its numerical application as the simulation. The final sections of the report present the results obtained from the simulations and discuss the applicability and possible improvements to the simulation and the model.
2 Cometary plasma environment
Comets are small bodies made of dust and ice orbiting the Sun. When a
comet come closer to the Sun, the ices in the cometary body (the nucleus)
are evaporated by the solar radiation. This effect creates a large, expanding
envelope of gas and dust around the nucleus: the coma. The constituent
particles of the coma become photoionized by the solar radiation and via
other processes, leading to a complex plasma environment surrounding the
comet that is yet to be fully understood. An example of a cometary plasma
environment is depicted in Figure 1. For an in-depth discussion of the plasma
3 MODEL 2
environment consult Odelstad (2018).
The main focus of the project is the inner part of the cometary iono- sphere, or the inner coma, which roughly corresponds to the diamagnetic cavity. Neither solar wind particles nor external magnetic fields can pene- trate into this region. The environment in the inner coma is dominated by unmagnetized dusty plasma produced from the neutral gas and dust par- ticles lifted from the nucleus. Main ionization processes occurring in the region are photoinization by solar radiation, photoelectron impact ionization and charge transfer between ions and neutral molecules. The inner coma is relatively simple in comparison to the other regions of the plasma envi- ronment, which could allow a simple model to produce physically relevant results. This project attempts to do exactly that.
3 Model
We chose to apply one of the simplest, idealised analytical models to describe the conditions in the inner coma. This section outlines the different parts of the model. Details concerning the numerical application and time evolution are contained in Section 4.
3.1 Overview
This model describes the production of the neutral gas at the nucleus, the ionization of the neutral molecules, and the interaction of the ions and elec- trons via the electric field. Figure 2 depicts the main parts of the model graphically.
We applied several major approximations to simplify the processes in the inner coma.
• The plasma is considered collisionless and unmagnetized. The only interaction between the ions and electrons is the electrostatic force.
The plasma does not affect the neutral gas.
• Only a single ionization process is included in the model. The ion- ization rate is constant and limited to a spherical volume surrounding the nucleus. Outside of the sphere the ionization rate is 0. The elec- trons and ions are produced at constant energies. That is, the energy distribution function is the delta function.
• The neutral gas density profile is spherically symmetric and time inde-
pendent.
3 MODEL 3
Figure 2: A sketch of the model. Pictured are the nucleus of radius R n and charge q n , the ionization region of width ∆R i and the simulation particles with positions r 1 , r 2 , r 3 .
• The electric field generated by plasma particles is spherically symmet- ric. The charge of a particle is considered to be distributed over a sphere centered at the origin (see Figure 2). Although plasma parti- cles technically move in 3 dimensions, this approximation allows us to reduce the equations of motion to the radial coordinate and the radial velocity. It also greatly simplifies the equation for the electric field.
3.2 Neutral gas
The nucleus is modeled as a perfect sphere of radius R n located at the origin.
The neutral molecules are produced at the surface of the nucleus at the total production (outgassing) rate of Q (in particles per unit time). The newly produced molecules are distributed uniformly over the surface of the nucleus.
They travel radially outwards with constant velocity u. Both Q and u are constants, and the model does not include processes that affect the neutral gas. Therefore, the density of the neutral gas is given by
n(r) = Q
4πr 2 u . (3.1)
3 MODEL 4
3.3 Plasma
Several main processes contribute to the production of ions in the inner coma in reality. This model includes a single ionization process with constant and uniform ionization rate, which can be used to reproduce processes such as photoionization. Photoionization occurs when a neutral molecule absorbs a high energy photon, producing a singly-ionized ion and an electron (we neglect processes that produce more than one electron). In the model, all the extra energy of the photon is transferred to the electron, which is ejected at a random direction. The ion continues to travel radially outwards with the initial velocity equal to the velocity of the neutral molecule. The electron and ion are created with the initial kinetic energy of E 0,e and E 0,i , respectively.
The number of ions created per unit time depends on the ionization rate of the neutral gas ν. We assume that the ionization rate is constant and uniform in the spherical shell extending from ∆R n to R n + ∆R i . The ionization rate outside the ionization volume is 0. Then the ion production rate (particles per unit time and unit volume) for r ∈ [R n , R n + ∆R i ] is given as
p(r) = ν n(r) = ν Q
4πr 2 u . (3.2)
The number of ions produced in time ∆t in the ionization shell is
∆P (∆t) =
Z t+∆t t
Z
V
p(r) dV dt = ν Q
u ∆t∆R i . (3.3)
Note that the number of ions produced in the shell per time unit does not depend on the distance from the nucleus.
The maximum ion number density can be estimated in a simple way using the ion production rate, if the electrostatic interaction in the plasma is neglected (”neutral plasma”). Then the total flux of ions through a sphere of radius r at time t < r−R v
ni
is given as Γ(r, t) = 4π
Z r r−v
it
p(r) r 2 dr = ν Q
u v i t, (3.4)
where v i is the initial velocity of the ions, which would continue travel radially outwards with a constant velocity in neutral plasma. Not all ions produced closer than r to the nucleus in time t have reached r, hence the flux is increasing with time. But when t is large enough for all such ions to reach r (in other words, t ≥ r−R v
ni
), the flux is given by Γ(r) = 4π
Z r R
np(r) r 2 dr = ν Q
u [r − R n ] . (3.5)
3 MODEL 5
In this case the flux is constant in time and depends only on the distance from the nucleus. The equation for the number density is then
n 0 (r) = Γ(r)
4πr 2 v i = ν Q 4πruv i
1 − R n r
, (3.6)
which has the maximum at 2R n . So the maximum number density is given as
n 0 max = ν Q
16πR n uv i . (3.7)
This number is useful for choosing time and length scales of the simulation, as will be described in Section 4.6.
3.4 Absorbing nucleus
The model allows the nucleus to carry charge. Initially, the charge of the nucleus q n is 0. Any plasma particle that reaches the surface of the nucleus is absorbed into the nucleus. The particle is considered to be removed from the model, while its charge is added to the charge of the nucleus q n . Since the charge is fully transferred from the removed particles to the nucleus, the total charge in the model is conserved (the total charge is zero).
3.5 Electric field
Ions and electrons in the plasma give rise to an electric field. Due to the spherical symmetry of the model, Gauss’ law can be used to obtain the expression for the electric field at the position of each particle (Boella et al.
2018).
Consider a sequence of ions and electrons arranged by their distance to the nucleus in the ascending order. Then, the component of electric field in the radial direction at particle i is
E i (r) = 1 4πε 0 r 2
i−1
X
j=1
q j + q n
!
. (3.8)
Denoting k = 4πε 1
0
and Q i = P i−1
j=1 q j + q n , the equation becomes E i (r) = k Q i
r 2 . (3.9)
The electric field does not depend on the distances between the particles,
only on the distance of the particle to the origin.
3 MODEL 6
In contrast to the equation for the electric filed in the shell method from Boella et al. (2018), we decided against including the self-interaction term + 1 2 q i . Although it is justifiable within the ideal model of shell-like particles, real particles do not interact with themselves. We believe that the omission of the term brings the model closer to reality.
3.6 Electrostatic potential
Using the equation for the electric field, the equation for potential can be obtained. Consider N particles ordered by increasing r. Taking potential at infinity as 0, potential at the most distant particle N is
φ N = Z ∞
r
NE N dr = kQ N Z ∞
r
N1
r 2 dr = k Q N
r N . (3.10)
Similarly, the potential at particle i is φ i =
Z ∞ r
iE i dr
=
N −1
X
j=i
Z r
j+1r
jE j dr + Z ∞
r
NE N dr
| {z }
φ
N=
N −1
X
j=i
kQ j 1 r j − 1
r j+1
+ k Q N
r N . (3.11)
Hence, the difference in potential between two adjacent particles is φ i − φ i+1 =
N −1
X
j=i
kQ j 1 r j − 1
r j+1
−
N −1
X
j=i+1
kQ j 1 r j − 1
r j+1
= kQ i 1 r i
− 1 r i+1
. (3.12)
Using the formula above the potential can also be defined in a recurrent form
(φ N = k Q r
NN
,
φ i = φ i+1 + kQ i
1 r
i− r 1
i+1
, i < N. (3.13)
3.7 Equations of motion
The only force acting on the plasma in the model is due to the electric field.
Because of the symmetry, the motion of the plasma particles is essentially
4 SIMULATION 7
one-dimensional in the radial direction. The electric field acts along the radial direction, hence the angular momentum of particles is conserved. Only electrons have a non-zero angular momentum, as they are produced with the velocity vector oriented in a random direction. The ions, like the neutral molecules, have angular momentum of zero.
We applied the shell method from Boella et al. (2018) to describe the motion of the plasma. As usual, the particles are ordered by the increasing r. Denoting the angular momentum as p ϕ and mass of the particle as m, the equations of motion for a single particle are given below (the subscript i is omitted for convenience).
dr
dt = v r , (3.14)
dv r dt = qE
m + p 2 ϕ
m 2 r 3 = k q m r 2
i−1
X
j=1
q j + q n
!
+ p 2 ϕ
m 2 r 3 (3.15) The presence of the 1/r 3 term could cause issues when r approaches 0. But in our case the nucleus prevents particles from reaching the origin.
4 Simulation
4.1 Overview
A computer simulation code was implemented using the model described in Section 3 to observe the time-development of plasma under chosen condi- tions. The code implements one step (or iteration) of the simulation, which advances the state of the simulated system in time by ∆t. A single simulation runs for the required number of iterations τ max . One iteration mainly consists of production of new plasma particles, evolution of the position and velocity of plasma particles in time, and absorption of plasma by the nucleus. The subsections below describe the implementation of the simulation in detail.
4.2 Motion
The equations of motion require the particles to be ordered by their posi- tion, which changes in time, leading to particles overtaking each other and changing the order. This makes it impossible to find an analytical solution.
Instead, the simulation uses the leapfrog numerical integration method to
iteratively evolve the position and velocity of particles. This method is easy
to implement and it suits the problem very well. It is applicable to second-
order differential equations. It conserves the dynamical energy of the system.
4 SIMULATION 8
And it is stable for oscillatory motion when the time step is smaller than the period of oscillations.
The idea behind the method is that the position is shifted by half time step relative to the velocity. Mathematically, the iteration step τ looks as
r τ +1/2 = r τ −1/2 + v τ ∆t, (4.1)
v τ +1 = v τ + a(r τ +1/2 ) ∆t. (4.2) At each iteration of the simulation the values for velocity correspond to the current simulation time, while the values for position are a half time step behind. Note that the method requires that both velocity and position do not depend on themselves, which is true for our model.
Leapfrog method imposes an important restriction on the value of the time step ∆t. The time step must be constant and less or equal to 2/ω, where ω is the angular frequency of the oscillations. The electron plasma oscillations are the oscillations with the highest frequency in the plasma.
Therefore, we use the electron plasma frequency ω pe to limit ∆t.
A complication of our model is the need for the particles to be ordered by r for the acceleration term to evaluate correctly. Thus a re-ordering step is included in the implementation just after the position update, before the updated velocity is evaluated.
4.3 Ionization
The simulation is initially devoid of plasma particles. At the beginning of each simulation iteration new ions and electrons are created via the ionization process.
During each ionization step ∆N ion-electron pairs are created at positions chosen randomly in [R n , R n + ∆R i ]. The ion and electron from the same pair are created at the same position.
Conforming to the model, the ions are created with zero angular momen- tum and with initial radial velocity v r = p2E 0,i /m i . The ions can never gain angular momentum as it is constant in time.
The electrons are created with their velocity oriented in a random direc- tion. That is, denoting the angle between the radial vector and the velocity as α, cos α is randomly chosen from [−1, 1]. Given the total initial veloc- ity v = p2E 0,e /m e , the initial radial component of the electron velocity is v r = v cos α, and the angular momentum is p ϕ = r 2 0 v 2 sin 2 α (where r 0 is the position at creation).
The final part of the ionization process is to advance the velocities of the
newly created particles by a half of the time step, as required by the leapfrog
integration method.
4 SIMULATION 9
4.4 Plasma absorption
The final part of the simulation step is the absorption of plasma into the nucleus. The nucleus is represented as a sphere of radius R n fixed at the origin, acting as the lower spatial boundary for the simulation particles.
Initially, the nucleus is electrically neutral. During the simulation, any particle that reaches the nucleus is absorbed by it: the charge of the particle is transferred to the nucleus, and the particle is removed from the simulation.
Mathematically, the evolution of the charge of the nucleus q n can be expressed as
q n,τ +1 = q n,τ + X
r
i≤R
nq i . (4.3)
4.5 Metaparticles
Substituting typical values from the observations (for example, from comet 67P) into the formula of the ion production rate ∆P gives very large num- bers: more than 10 20 ions per second. Simulation of this amount of particles is not feasible on a regular PC (and, arguably, on any computer existing nowadays). To make the computation possible, the simulation code runs with metaparticles.
Each metaparticle represents N s physical particles, which is referred to as the weight of metaparticles. The weight is constant in time and identical for all metaparticles. Consequently, the transition to metaparticles keeps the equations of motion unmodified, as N s is canceled in q/m fraction, but an N s factor is introduced into the equation for the electric field. The metaparticles behave identical to individual physical particles dynamically, but produce an electric field which is N s times stronger.
The weight is simply the ratio of the number of ions ∆P to the number of metaparticles ∆N produced per time step in the ionization volume,
N s = ∆P
∆N = ν Q u
∆t ∆R i
∆N . (4.4)
The weight partially depends on the physically-based quantities ν, Q and u, and partially on the simulation parameters ∆t, ∆R i and ∆N , which can potentially take arbitrary values. Ideally, large values would be chosen for the time step (to make the simulation time pass faster) and for the ioniza- tion radius (to better reflect the physical conditions around the nucleus), while keeping ∆N value low. However, since the electric field is proportional to the weight, the potential difference between two adjacent metaparticles could become so large that most particles would not be able to pass trough.
Metaparticles would effectively become bound to each other, which is not
4 SIMULATION 10
representative of the conditions we aim to simulate. Hence, an upper limit must be imposed on the weight, limiting possible values of the simulation parameters.
The potential drop between two adjacent metaparticles has to be much less than their initial energy, to allow the particles to move freely and the simulation to evolve smoothly. Using Equation 3.12, the potential difference between adjacent metaparticles separated by distance ∆r is calculated as
∆φ = N s k |Q| 1
r − 1
r + ∆r
. (4.5)
First, consider which values of r and ∆r would result in the maximum po- tential drop. The value of r should be the smallest possible, which is R n . For ∆r, the maximum possible value should be chosen. We estimated this value by considering the case where particles are stationary and distributed uniformly over the ionization radius. Every simulation step ∆N ions are produced, so the separation between them is τ ∆R
i0
∆N , where τ 0 is the number of time steps passed since the start of the simulation. The resulting equation for the maximum expected potential drop is
∆φ max = k e ν Q u
∆t ∆R i
∆N
1 R n
− 1
R n + τ ∆N ∆R
i!
, (4.6)
and the limiting condition can be expressed as E 0,min ∆φ max .
The limiting condition gives insight into the possible values and coupling of the simulation parameters. From the equation, it follows that to maintain the constant value of ∆φ max the changes in the time step or ionization radius must be accompanied by the proportional change in ∆N . If the values of ∆t and ∆R i are fixed, the minimum ∆N can obtained by solving the equation using a numerical method, as the equation is transcendental in ∆N . In this case, the value of τ 0 should be chosen to be much less than the total number of simulation steps.
4.6 Normalization
Quantities involved in the simulation are normalized by the scaling param- eters instead of being used as is. Normalization reduces the floating point precision errors during the calculation, as the quantities involved become closer to unity. It also simplifies the interpretation and comparison of the resulting data.
The normalization process is simple: for each variable in the model a
scaling parameter is chosen, and the variable is divided by the scaling pa-
rameter. If the variable is x and the scaling parameter is x s , then the scaled
4 SIMULATION 11
Table 1: Scaling parameters
Parameter Value
Distance r s λ D =
q E
refε
0n
refe
2Time t s ω 1
pe