195 lines
20 KiB
TeX
195 lines
20 KiB
TeX
\subsection{Instabilities}
|
|
|
|
\label{subsec:instability}
|
|
|
|
%TODO: hyperlinks and chapter numbers
|
|
Instabilities play a crucial role in space plasmas. Many of the application are discussed throughout this book starting with MHD instabilities like Kelvin-Helmholtz in the chapter 1 - \emph{Introduction to MHD simulation} - to various kinetic instabilities (beam instability in chapter 5: \emph{Vlasov codes and simulation}, instabilities in reconnection and shocks in chapter 9 - \emph{Hybrid codes} - and Bunemann, Weibel, and magnetorotational instability in chapter 11 - \emph{Application of particle-in-cell (PIC) simulations to astroplasma phenomena}).
|
|
|
|
PiC codes are able to reproduce kinetic instabilities that include but are not limited to cases with non-Maxwellian distribution functions, counter-streaming plasmas or currents in plasmas. This section serves as an hands-on example on how to initialize, run and evaluate PiC simulations of kinetic plasma instabilities.
|
|
|
|
|
|
|
|
PiC simulations of plasma instabilities date back to the early 70s \cite{1971PhFl...14..830M}
|
|
% Morse_1971.pdf electromagnetic 2d simulation of Weibel instability in fields and potentials
|
|
where a prime example of a purely kinetic instability has been analyzed: the Weibel instability. As it turns out a very large number of distinct instabilities can be found in kinetic plasmas. The fact that different instabilities can occur simultaneously in one plasma
|
|
\cite{2009ApJ...699..990B}
|
|
% Bret_2009.pdf competing Weibel, two-stream, filamentation, bell, Buneman instabilities
|
|
is an important reason to use numerical experiments to study them. The complicated interplay of the instabilities and the late-time nonlinear behavior cannot be understood from analytical calculations. The reader is referred to
|
|
\cite{2010LPB....28..491B}
|
|
% Bret_2010.pdf review of beam-plasma instabilities
|
|
for a very detailed overview of instabilities (more specifically beam-plasma instabilities).
|
|
|
|
%Theorie: Was ist eine Wachstumsrate? PiC kann nicht nur den linearen Teil
|
|
|
|
The classical approach to plasma instabilities is described in-depth in Chapter 11 of \cite{2002cra..book.....S}: For a given configuration of the distribution function the dielectric tensor of the plasma can be evaluated and the dispersion relation for that plasma configuration can be solved. This typically yields solutions of the form
|
|
\begin{align}
|
|
\omega (\vec k) = \omega_R (\vec k) + i \gamma(\vec k)
|
|
\end{align}
|
|
where $\omega_R$ is the real part of the frequency, $\gamma$ is the growth rate. Three different cases can be distinguished
|
|
\begin{itemize}
|
|
\item $\omega_R\neq 0\ , \gamma = 0$: Eigenmodes of the plasma, that are not damped
|
|
\item $\omega_R\neq 0\ , \gamma > 0$: Waves with frequency $\omega_R$ and growing amplitude
|
|
\item $\omega_R = 0\ , \gamma >0$: Non-propagating structure that grow in time
|
|
\end{itemize}
|
|
Analytic theory can answer the question how fast a given mode of the plasma is growing - should the equation for the dispersion relation be solvable. It should be noted that the evolution of the instability changes the plasma configuration. This leads to a nonlinear evolution, not described by analytical theory.
|
|
|
|
|
|
%Historischer Überblick?
|
|
|
|
|
|
|
|
% Lee_2011.pdf 2d pic of instabilities driven by ring-beam distributions
|
|
% Mizuno_2011.pdf 3d RMHD of current-driven kink instability.
|
|
% Lesur_2014.pdf current driven ion-acoustic instability
|
|
% Warwick_2017.pdf observation of current-driven instability
|
|
% Inchingolo_2018.pdf 2d PiC of MRI
|
|
|
|
|
|
|
|
|
|
%Wie initialisiere ich das Ganze?
|
|
|
|
The first step in simulating instabilities is the initialization of the plasma configuration. Following the description in Sect.~\ref{subsec:num:init} particles will be injected. For simple scenarios like counter-streaming plasmas with identical densities this is a simple task. More involved cases are e.g. cosmic-ray induced instabilities with high density contrasts. In order to accommodate high contrast very high particle numbers can be used (which is discouraged by the computational cost) or the weight of macroparticles has to be changed.
|
|
|
|
Care has to be taken also for instabilities caused by spatial inhomogeneities: As the number of particles per cell at the point of lowest density should fulfill the minimal criteria for numerical stability (at least one particle per cell, typically 10 or more), which in turn requires again either higher particle numbers or different particle weights in regions with higher density.
|
|
|
|
%%Bedingungen für Größe/Auflösung
|
|
%%Veränderte
|
|
|
|
A more important question is the correct resolution and size of the simulation. It is self-evident that the cell size has to resolve the Debye length in explicit PiC codes, on the other hand the total size of the simulation has to be large enough to contain the waves or structures that are excited. %This of course requires prior knowledge about the expected position of the instability in $k$-space from a analytical viewpoint - even if it is only approximate.
|
|
This yields a minimal size $L_\text{min} \geq 2\pi / k_\text{max}$, where $k_\text{max}$ is the wave number, where the maximum growth of an instability is expected. It has been argued \cite{2017ApJ...848...81S} that it is not sufficient to resolve $k_\text{max}$ but that it is necessary to resolve the width of the peak of the damping function $\gamma(k)$.
|
|
|
|
For most astrophysical plasmas the necessary cell number from the above condition is typically very large. Combined with the fact that growth rates are often very low compared to the plasma frequency $\omega_\text{pe}$ this yields typically rather long simulation times - usually beyond what is possible. In almost all simulations other parameters are altered to produce computationally viable, but still meaningful simulations. One of the most commonly used techniques is changing the mass ratio of protons and electrons. This reduces the time needed to see ion motion and therefore produces shorter simulations. Unfortunately not all physical effects scale in the same way with the electron proton mass ratio. It is advisable to examine the dependence of growth rates on the mass ratio closely \cite{2010ApJ...720.1318B,2018PhPl...25f2125M}. As a rule of thumb the change of mass ratio should not change the ordering of proton and electron gyro- and plasma frequencies.
|
|
|
|
% Burkart_2010.pdf first acronym reference, mass ratio in filamentation instability
|
|
% Moreno_2018.pdf influence of mass ratio on instability growth times
|
|
|
|
%Was kommt dabei raus?
|
|
|
|
% PiC simulations yield three different outputs:
|
|
% \begin{itemize}
|
|
% \item Real space data of electric and magnetic fields (maybe additional mass and charge density and current output)
|
|
% \item Full particle output
|
|
% \item Integrated energy of magnetic, field and particle energy over time
|
|
% \end{itemize}
|
|
|
|
Based on the output described in Sect.~\ref{subsec:num:diag} there are various ways to find instabilities in the simulation data. The primary hint for the existence of an instability is the rise of particle or electromagnetic energy. %Unfortunately this is not by any means a definite signal.
|
|
In order to detect and distinguish different instabilities it is inevitable to use Fourier transforms of the electromagnetic field data. The following recipe has proven itself to be very helpful
|
|
\begin{enumerate}
|
|
\item Consider the transverse magnetic field as well as the curl-free longitudinal and divergence-free transverse components of the electric field.
|
|
\item Plot the energy density of these fields in the 2d-dimensional Fourier domain. If the simulation was done in 3d, plot both the plane of $k_\parallel-k_\perp$ as well as the plane with both directions perpendicular to the mean magnetic field.
|
|
\item The energy plot give a hint at which points in time large changes happen in the simulation. For each of these times the spectrum of fluctuations should be plotted and examined separately.
|
|
\end{enumerate}
|
|
Following this recipe will provide an increase of energy as a function of the position in $k$-space. Together with the information whether this is an transverse or longitudinal instability it should be possible to compare with theoretical predictions. By plotting field energy in e.g. longitudinal and transverse electric field at a given wavenumber $\vec k$ over time yields the growth rate.
|
|
|
|
As the simulations resemble the realistic, nonlinear behavior of the instability a comparison of growth rates with analytical theory is only possible for small times, where the instability is still in the linear regime.
|
|
|
|
An illustrative example is the instability caused by pair beams originating from TeV photons in the Intergalactic Medium. The scenario has been proposed by Neronov and Vovk \cite{2010Sci...328...73N} to explain the lack of GeV photons. While the physical problem at hand is only of special interest, it illustrates very well the difficulties in simulating (beam-driven) instabilities. The physical setup is such that electron-positron pairs with Lorentz-factors of $10^{11}$ stream through hot gas. The density contrast between gas and beam is about $10^{13}$. Translating these physical parameters into a numerical setup shows immediately that PiC simulations are not doable as is. The high density contrast can only be achieved by altering the macrofactor for beam and background species and the extreme Lorentz factor immediately leads to the numerical Cerenkov instability.
|
|
|
|
The simulations \cite{2014ApJ...787...49S} and \cite{2016A&A...585A.132K} show different approaches to adjusting physical parameters for a feasible simulation. While the simulations of Sironi et al. focus on achieving very high Lorentz factors for the beam, the simulations of Kempf et al. try to resemble the energy ratio of the beam to the background. Both simulations have in common that neither the real density contrast nor the Lorentz factor of the beam can be resembled.
|
|
|
|
% Due to the high Lorentz factors of the beam measures have to be taken, to avoid purely numerical instabilities. In this case a Friedmann filter has been used \cite{Greenwood_2004}.
|
|
% A necessary prerequisite for the use of such a filter is that the interesting physical effects occur in the low $k$ regime as the Friedmann filter dampens electromagnetic fields in the high $k$ regime, where the numerical Cerenkov instability occurs.
|
|
|
|
In the further course of the simulations two parameters have been defined: The mass density ratio $\alpha$ between a drifting species - denominated jet - and background, as well as the energy density ratio $\epsilon$
|
|
between jet and background. The physics case prompts for extremely small values of $\alpha$ and $\epsilon$ values well below one. An interesting test case is the $\epsilon=1,\ \gamma=50$ case, because it illustrates rather well the onset of the change of the distribution function that is one source of nonlinear development of the instability.
|
|
|
|
In Fig.~\ref{fig:e1g50-energy} the electric field energy plotted over time is used as primary marker for the instability. The time is normalized to inverse plasma timescales (a sensible approach, when the relevant times are not depending on the magnetic field). During the first 500 inverse plasma timescales a sharp increase is seen, which is associated with the electrostatic instability. The growth rate decreases then considerably until at around 3000 inverse plasma time scales a further rise (associated presumably with the Weibel instability).
|
|
|
|
% \begin{figure}
|
|
% \includegraphics[width=0.9\columnwidth]{figure/application/energy}
|
|
% \caption{Electric field energy $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$}
|
|
% \label{fig:e1g50-energy}
|
|
% \end{figure}
|
|
|
|
\begin{figure}[h!]
|
|
\centering
|
|
\begin{subfigure}{0.49\hsize}
|
|
\centering
|
|
\includegraphics[width=\columnwidth]{figure/application/energy}
|
|
\caption{Electric field energy}
|
|
\label{fig:e1g50-energy}
|
|
\end{subfigure}
|
|
\begin{subfigure}{0.49\hsize}
|
|
\centering
|
|
\includegraphics[width=\columnwidth]{figure/application/E1d-11246}
|
|
\caption{E-field 1D Fourier at $t=11246\omega_\text{pe}^{-1}$}
|
|
\label{fig:e1g50-E1d}
|
|
\end{subfigure}
|
|
\caption{Simulation of propagating pair beams with $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$}
|
|
\end{figure}
|
|
|
|
The energy plot gives a hint, at which times a detailed analysis is helpful. When looking at times, where the saturation has set in, the results may be ambiguous. Here a look at the Fourier transform will yield further insight. The 1D (Fig.~\ref{fig:e1g50-E1d}) and 2D (Fig.~\ref{fig:e1g50-E2d}) Fourier transform is plotted. The 1D Fourier transform shows a clear sign of the instability at $4\cdot 10^{-10}$ cm$^{-1}$ and another bump at $2.3\cdot 10^{-10}$ cm$^{-1}$. The 2D Fourier transform shows that the former peak is linked to a structure at fixed $k_\parallel$ over a wide range of $k_\perp$. The 2D transform highlights that a 2D simulation is necessary to capture the features not aligned with the magnetic field direction. Here the position in $k$-space is compatible with $k_\parallel u \approx k_\parallel c = \omega_{pe}$.
|
|
|
|
% \begin{figure}
|
|
% \includegraphics[width=0.9\columnwidth]{figure/application/E1d-11246}
|
|
% \caption{E-field 1D Fourier $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$ at $t=11246\ipt$}
|
|
% \label{fig:e1g50-E1d}
|
|
% \end{figure}
|
|
|
|
% \begin{figure}
|
|
% \includegraphics[width=0.9\columnwidth]{figure/application/E-11246}
|
|
% \caption{E-field 2D Fourier $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$ at $t=11246\ipt$}
|
|
% \label{fig:e1g50-E2d}
|
|
% \end{figure}
|
|
|
|
\begin{figure}[h!]
|
|
\centering
|
|
\begin{subfigure}{0.79\hsize}
|
|
\centering
|
|
\includegraphics[width=\columnwidth]{figure/application/E-11246}
|
|
\caption{E-field 2D Fourier at $t=11246\omega_\text{pe}^{-1}$}
|
|
\label{fig:e1g50-E2d}
|
|
\end{subfigure}
|
|
|
|
\begin{subfigure}{0.79\hsize}
|
|
\centering
|
|
\includegraphics[width=\columnwidth]{figure/application/histo}
|
|
\caption{Particle histogram at different times}
|
|
\label{fig:e1g50-histo}
|
|
\end{subfigure}
|
|
\caption{Simulation of propagating pair beams with $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$}
|
|
\end{figure}
|
|
|
|
When observing the change of the distribution function as outlined in Fig.~\ref{fig:e1g50-histo}, it can be seen that the peak of the beam decreases in amplitude, but even after more than $10^4$ plasma timescales it just moves to a plateau. We conclude that the plateauing of the distribution function slows down the instability, which brings the system to an almost stable situation after around 7000 plasma timescales.
|
|
|
|
% \begin{figure}
|
|
% \includegraphics[width=0.9\columnwidth]{figure/application/histo}
|
|
% \caption{Particle histogram $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$}
|
|
% \label{fig:e1g50-histo}
|
|
% \end{figure}
|
|
|
|
It is interesting to note that a clear nonlinear behavior can be observed even when the distribution function does not drastically change over time. The root cause for this is the possible nonlinear interaction of waves and structures excited by the instability itself. In lowest order this would be three-wave interaction that can easily occur.
|
|
|
|
In a longer parameter study of this instability it could be shown that the size of the simulation box has in fact an effect on the instability: It is a good practice to run such simulations at double resolution to see whether at least the energy gain converges.
|
|
|
|
While the latter example was from the class of beam-driven instabilities, there is another class of instabilities to which for example the filamentation and Weibel instability belong: Instabilities which arise from counter-streaming plasmas or anisotropies in temperature. The simulations by \cite{2010ApJ...720.1318B} will serve as an example for the filamentation instability in special.
|
|
|
|
The initialization of this family of instabilities is typically much simpler: As opposed to beam instabilities, there is usually not a large density contrast. Our example for the filamentation instability assumes a proton-pair plasma running into a proton-electron plasma.
|
|
|
|
The setup is realised as two counterstreaming plasma populations, one representing the background medium consisting of $6 e^-$ and $6 p^+$ per cell (proton stream) and the other incorporating the jet
|
|
containing $4 e^-$, $2 e^+$ and $2 p^+$ per cell (pair-proton stream), from which we find the background density ratio $n_{jet}/n_{bg} = 2/3$ and the ratio $n_{p^+}/n_{e^+} = 1$ in the pair-proton stream. In the lab frame (the rest frame of the simulation box) the two streams are counterstreaming along the z-direction with a Lorentz factor $\gamma = 10$ ($\beta = v/c = 0.995$) each, the electron distribution has a thermal velocity of $v_{th,e} = 0.1c$ in every direction in the restframe of the moving medium, the thermal velocity of the protons is $v_{th,p} = 0.1c \cdot (m_p/m_e)^{-1}$. The simulation is initialized by drawing random particles from the thermal distribution and boosting them into the frame of the respective streaming population.
|
|
|
|
Three-dimensional simulations with five different compositions of counterstreaming plasmas using $128 \times 128 \times 512$ cells with a total of 167 million particles (20 particles per cell) and mass-ratios $m_{p}/m_{e}$ between 1 and 100 have been performed.
|
|
|
|
Running and analysing the simulations is rather similar to the recipe described above. In first place the energy within the simulation should be carefully analyzed. This has been done for the transverse magnetic field energy in Fig.~\ref{fig:B_vergleich}. The filamentation instability produces a magnetic field in an initially unmagnetized medium. This can be nicely observed here. The statement about linear and nonlinear stages of the instability is also true. In the first stage there is an almost exponential rise of the magnetic field energy (as expected for a constant growth rate), then a linear rise follows until the instability comes to a stop. The most interesting feature seen here is that the filaments decay and the another instability shows up.
|
|
|
|
\begin{figure}[ht]
|
|
\rotatebox{270}{ \includegraphics[width=0.65\columnwidth]{figure/application/B_vergleich.pdf} }
|
|
\caption{Comparison of the time evolution of the transverse magnetic field energy for different mass-ratios. With increasing mass-ratio the instability takes longer to develop. For the two highest mass-ratios one notices that the instability develops in two phases. (Figure from \cite{2010ApJ...720.1318B} ``Thomas Burkart, Oliver Elbracht, Urs Ganse, and Felix Spanier: The Influence of the Mass Ratio on the Acceleration of Particles by Filamentation Instabilities,-Astrophysical Journal, Volume 720, Issue 2, pp. 1318-1324''. Published 2010 August 19. Reprinted with permission by \textcopyright AAS.)}
|
|
\label{fig:B_vergleich}
|
|
\end{figure}
|
|
|
|
|
|
The corresponding filaments are shown in Fig.~\ref{fig:filaments}. Quite nicely the fine filaments are seen at medium times. These decay at later times as expected. The filaments are best shown in a real space cut orthogonal to the streaming direction.
|
|
|
|
|
|
\begin{figure}
|
|
\begin{center}
|
|
\includegraphics[width=0.9\columnwidth]{figure/application/filament.pdf}
|
|
\end{center}
|
|
\caption{Development and merging of the flux tubes for a simulation with $m_p/m_e = 100.0$ and a resolution of $256 \times 256 \times 512$ cells. The colors pertain to the particle density (in particles per cell). In the three pictures it is to be seen that first the flux tubes develop, later they nearly vanish (which corresponds to the dip in the magnetic field energy in Fig.~\ref{fig:B_vergleich} in the black curve at $80 \omega_p^{-1}$) and then the flux tube in the lower right corner grows stronger (lower set of pictures). This can be attributed to the independent instabilities at high mass-ratios. (Figure from \cite{2010ApJ...720.1318B} ``Thomas Burkart, Oliver Elbracht, Urs Ganse, and Felix Spanier: The Influence of the Mass Ratio on the Acceleration of Particles by Filamentation Instabilities,-Astrophysical Journal, Volume 720, Issue 2, pp. 1318-1324''. Published 2010 August 19. Reprinted with permission by \textcopyright AAS.)
|
|
}
|
|
\label{fig:filaments}
|
|
\end{figure}
|