Small hard to merge changed

abbreviations, whitespace, empty tex files, etc.
This commit is contained in:
Patrick Kilian
2021-02-27 13:18:23 -07:00
parent d8ab0b802c
commit 3e8f9fd1c7
11 changed files with 173 additions and 214 deletions
+2 -2
View File
@@ -10,7 +10,7 @@
%IVb instabilities %IVb instabilities
\input{instabilities} %%TODO schreiben und so. \input{instabilities} %%TODO schreiben und so.
% \input{lwfa} % laser-wakefield acceleration?
%IVc shocks %IVc shocks
\input{shocks} \input{shocks}
@@ -18,4 +18,4 @@
%IVd reconnection %IVd reconnection
\input{reconnection} \input{reconnection}
% \input{pulsar} % pulsar magnetospheres
-3
View File
@@ -1,3 +0,0 @@
\section*{Technical Implementation}
+13 -13
View File
@@ -5,7 +5,7 @@
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 \emph{Introduction to MHD simulation} to various kinetic instabilities (beam instability in \emph{Vlasov codes and simulation}, instabilities in reconnection and shocks in \emph{Hybrid codes} and Bunemann, Weibel, and magnetorotational instability in \emph{Application of particle-in-cell (PIC) simulations to astroplasma phenomena}). 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 \emph{Introduction to MHD simulation} to various kinetic instabilities (beam instability in \emph{Vlasov codes and simulation}, instabilities in reconnection and shocks in \emph{Hybrid codes} and Bunemann, Weibel, and magnetorotational instability in \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 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.
@@ -23,7 +23,7 @@ for a very detailed overview of instabilities (more specifically beam-plasma ins
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 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} \begin{align}
\omega (\vec k) = \omega_R (\vec k) + i \gamma(\vec k) \omega (\vec k) = \omega_R (\vec k) + i \gamma(\vec k)
\end{align} \end{align}
where $\omega_R$ is the real part of the frequency, $\gamma$ is the growth rate. Three different cases can be distinguished where $\omega_R$ is the real part of the frequency, $\gamma$ is the growth rate. Three different cases can be distinguished
\begin{itemize} \begin{itemize}
@@ -49,7 +49,7 @@ Analytic theory can answer the question how fast a given mode of the plasma is g
%Wie initialisiere ich das Ganze? %Wie initialisiere ich das Ganze?
The first step in simulating instabilities is the initialization of the plasma configuration. Following the description in section \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. 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. 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.
@@ -59,7 +59,7 @@ Care has to be taken also for instabilities caused by spatial inhomogeneities: A
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. 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)$. 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. 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 % Burkart_2010.pdf first acronym reference, mass ratio in filamentation instability
% Moreno_2018.pdf influence of mass ratio on instability growth times % Moreno_2018.pdf influence of mass ratio on instability growth times
@@ -73,7 +73,7 @@ For most astrophysical plasmas the necessary cell number from the above conditio
% \item Integrated energy of magnetic, field and particle energy over time % \item Integrated energy of magnetic, field and particle energy over time
% \end{itemize} % \end{itemize}
Based on the output described in Sec.~\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. 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 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} \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 Consider the transverse magnetic field as well as the curl-free longitudinal and divergence-free transverse components of the electric field.
@@ -94,7 +94,7 @@ The simulations \cite{2014ApJ...787...49S} and \cite{2016A&A...585A.132K} show d
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$ 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. 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). 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} % \begin{figure}
% \includegraphics[width=0.9\columnwidth]{figure/application/energy} % \includegraphics[width=0.9\columnwidth]{figure/application/energy}
@@ -119,7 +119,7 @@ In Fig. \ref{fig:e1g50-energy} the electric field energy plotted over time is us
\caption{Simulation of propagating pair beams with $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$} \caption{Simulation of propagating pair beams with $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$}
\end{figure} \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}$. 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} % \begin{figure}
% \includegraphics[width=0.9\columnwidth]{figure/application/E1d-11246} % \includegraphics[width=0.9\columnwidth]{figure/application/E1d-11246}
@@ -150,7 +150,7 @@ The energy plot gives a hint, at which times a detailed analysis is helpful. Whe
\caption{Simulation of propagating pair beams with $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$} \caption{Simulation of propagating pair beams with $\epsilon = 1$, $\alpha= 2.5\cdot 10^{-5}$, $\gamma=50$}
\end{figure} \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. 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} % \begin{figure}
% \includegraphics[width=0.9\columnwidth]{figure/application/histo} % \includegraphics[width=0.9\columnwidth]{figure/application/histo}
@@ -166,12 +166,12 @@ While the latter example was from the class of beam-driven instabilities, there
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 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 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. 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. 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. 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] \begin{figure}[ht]
\rotatebox{270}{ \includegraphics[width=0.65\columnwidth]{figure/application/B_vergleich.pdf} } \rotatebox{270}{ \includegraphics[width=0.65\columnwidth]{figure/application/B_vergleich.pdf} }
@@ -179,14 +179,14 @@ Running and analysing the simulations is rather similar to the recipe described
\label{fig:B_vergleich} \label{fig:B_vergleich}
\end{figure} \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. 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{figure}
\begin{center} \begin{center}
\includegraphics[width=0.9\columnwidth]{figure/application/filament.pdf} \includegraphics[width=0.9\columnwidth]{figure/application/filament.pdf}
\end{center} \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 taken from \cite{2010ApJ...720.1318B}) \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 taken from \cite{2010ApJ...720.1318B})
} }
\label{fig:filaments} \label{fig:filaments}
\end{figure} \end{figure}
-28
View File
@@ -1,28 +0,0 @@
\subsection{Laser Plasma Interaction}
\label{subsec:lwfa}
% LWFA
% Tajima_1979.pdf 1d3v em pic simulation of lawer wake field acceleration
% Katsouleas_1983.pdf surfatron acceleration in LWFA
% Guozheng_1987.pdf self-focusing of laser pulses in plasma
% Sprangle_1989.pdf LWFA, self guiding laser pulse
% Borisov_1992.pdf self channeling of laser pulses in LWFA
% Nakajima_1995.pdf laser self modulation
% Nakajima_1996.pdf experimental LWFA
% Ting_1997.pdf experimental LWFA
% Pukhov_1999.pdf Laser-Plasma simulation with open boundaries
% Tsakiris_2000.pdf LWFA with magnetic fields, single particle MC
% Bruhwiler_2001.pdf beam and laser driven plasma wakefile acceleration, moving window in XOOPIC
% Leemans_2002.pdf asymetric pulses in LWFA
% Malka_2002.pdf LWFA PiC / experiment
% Faure_2004.pdf experimental LWFA, mono-energetic electrons
% Geddes_2004.pdf LWFA plasma channel laser self-guiding
% Mangles_2004.pdf experimental lwfa, mono-energetic electrons
% Toth_2004.pdf LWFA for THz generation
% Tsung_2004.pdf first 3d PiC of LWFA
% Hosokai_2006.pdf experimental lwfa, comparisson with 2d pic
% Michel_2006.pdf numerical issues with PiC models of LWFA
% Burau_2010.pdf PiConGPU
+2 -4
View File
@@ -58,12 +58,12 @@
% Use \authorrunning{Short Title} for an abbreviated version of % Use \authorrunning{Short Title} for an abbreviated version of
% your contribution title if the original one is too long % your contribution title if the original one is too long
\institute{Patrick Kilian \at Theoretical Astrophysics, T-2, MS B227, Los Alamos National Laboratory, Los Alamos, NM 87545, USA \email{pkilian@lanl.gov} \institute{Patrick Kilian \at Theoretical Astrophysics, T-2, MS B227, Los Alamos National Laboratory, Los Alamos, NM 87545, USA \email{pkilian@lanl.gov}
\and Felix Spanier \at Zentrum f\"ur Astronomie, Institut f\"ur Theoretische Astrophysik, Universit\"at Heidelberg, Albert-\"Uberle-Str. 2, D-69120 Heidelberg, Germany \email{felix@fspanier.de}} \and Felix Spanier \at Zentrum f\"ur Astronomie, Institut f\"ur Theoretische Astrophysik, Universit\"at Heidelberg, Albert-\"Uberle-Str. 2, D-69120 Heidelberg, Germany \email{felix@fspanier.de}}
% %
\maketitle % typeset the header of the contribution \maketitle % typeset the header of the contribution
% %
%\begin{abstract} %\begin{abstract}
@@ -85,8 +85,6 @@ codes have successfully been used.}
\include{numerics} \include{numerics}
% \include{implementation}
\include{application} \include{application}
+60 -61
View File
@@ -12,9 +12,8 @@ fields on the grid for one time step. The simulation grid can resolve one, two o
This subsection discusses how electromagnetic fields are calculated from This subsection discusses how electromagnetic fields are calculated from
source terms (moments of the distribution function of all charged particle source terms (moments of the distribution function of all charged particle
species). The source are assumed to be known on a uniform grid of rectangular species). The source are assumed to be known on a uniform grid of rectangular
cells. How the source terms are calculated is discussed in section cells. How the source terms are calculated is discussed in Sect.~\ref{subsec:num:depostion}.
\ref{subsec:num:depostion}. Non-rectangular grids are discussed in the Non-rectangular grids are discussed in the review \cite{Meierbachtol_2015}.
review \cite{Meierbachtol_2015}.
%In this subsection we will assume that the source terms that are based on %In this subsection we will assume that the source terms that are based on
@@ -33,7 +32,7 @@ given by the Yee lattice described in \cite{Yee_1966}. Component of the
electric field $E_i$ are located at the mid points of edges pointing in electric field $E_i$ are located at the mid points of edges pointing in
coordinate direction $x_i$ whereas magnetic flux components $B_i$ are located coordinate direction $x_i$ whereas magnetic flux components $B_i$ are located
at the center of cell phases with have normal vectors pointing in direction at the center of cell phases with have normal vectors pointing in direction
$x_i$, as shown in Figure~\ref{fig:num:rot_yee}. $x_i$, as shown in Fig.~\ref{fig:num:rot_yee}.
In principle the two dual subgrids could be interchanged, but this In principle the two dual subgrids could be interchanged, but this
arrangement neatly follows the view of electromagnetism as a discrete exterior arrangement neatly follows the view of electromagnetism as a discrete exterior
calculus, where the electric field is a one-form that naturally lives on cell calculus, where the electric field is a one-form that naturally lives on cell
@@ -58,17 +57,17 @@ and $\vec{B}$.
\nabla \cdot \vec{E} &= 4 \pi\,\rho \label{eq:num:gauss}\\ \nabla \cdot \vec{E} &= 4 \pi\,\rho \label{eq:num:gauss}\\
\nabla \cdot \vec{B} &= 0 \label{eq:num:monopol} \nabla \cdot \vec{B} &= 0 \label{eq:num:monopol}
\end{align} \end{align}
Gauss's Law in Eq.~\eqref{eq:num:gauss} is the corner stone for electrostatic Gauss's Law in equation~\eqref{eq:num:gauss} is the corner stone for electrostatic
Particle-in-cell codes, but we will ignore it for now. Its equivalent for the Particle-in-cell codes, but we will ignore it for now. Its equivalent for the
magnetic field, Eq.~\eqref{eq:num:monopol}, that describes the absence of magnetic field, equation~\eqref{eq:num:monopol}, that describes the absence of
monopoles is mostly relevant as an initial condition. Faraday's Law and Ampere's monopoles is mostly relevant as an initial condition. Faraday's Law and Ampere's
law can be rewritten as evolution equations: law can be rewritten as evolution equations:
\begin{align} \begin{align}
\frac{\partial \vec{B}}{\partial t} &= -c \, \nabla \times \vec{E} \label{eq:num:Bevolution} \\ \frac{\partial \vec{B}}{\partial t} &= -c \, \nabla \times \vec{E} \label{eq:num:Bevolution} \\
\frac{\partial \vec{E}}{\partial t} &= \phantom{-} c \nabla \times \vec{B} - \frac{4 \pi}{c} \vec{\jmath} \label{eq:num:Eevolution} \frac{\partial \vec{E}}{\partial t} &= \phantom{-} c \nabla \times \vec{B} - \frac{4 \pi}{c} \vec{\jmath} \label{eq:num:Eevolution}
\end{align} \end{align}
The time evolution given by these equations will not violate Eqs.~\eqref{eq:num:gauss} and \eqref{eq:num:monopol} if they were satisfied initially. The time evolution given by these equations will not violate equations~\eqref{eq:num:gauss} and \eqref{eq:num:monopol} if they were satisfied initially.
Eqs.~\eqref{eq:num:Bevolution} and \eqref{eq:num:Eevolution} imply that the curl of the electric field does not have to be known at Equations~\eqref{eq:num:Bevolution} and \eqref{eq:num:Eevolution} imply that the curl of the electric field does not have to be known at
the location of the electric field, but rather at the location of the dual, the location of the electric field, but rather at the location of the dual,
magnetic field. magnetic field.
@@ -96,7 +95,7 @@ magnetic field.
%%\label{fig:num:rot_yee} %%\label{fig:num:rot_yee}
%%\end{figure} %%\end{figure}
%% %%
%%As figure \ref{fig:num:rot_yee} illustrates, there is an elegant finite %%As Fig.~\ref{fig:num:rot_yee} illustrates, there is an elegant finite
%%difference approximation for the curl of the electric field at the location of %%difference approximation for the curl of the electric field at the location of
%%the magnetic flux, based on the four edges that surround the magnetic flux at %%the magnetic flux, based on the four edges that surround the magnetic flux at
%%the center of the face. If we write this approximation carefully it reads %%the center of the face. If we write this approximation carefully it reads
@@ -107,7 +106,7 @@ magnetic field.
%%\end{align} %%\end{align}
%%This expression is of course rather unwieldy, so customarily the edge length as %%This expression is of course rather unwieldy, so customarily the edge length as
%%well as the offsets required to center components along edges and on faces are %%well as the offsets required to center components along edges and on faces are
%%suppressed and Eq.~\eqref{eq:num:rot_yee_long} is simply written as %%suppressed and equation~\eqref{eq:num:rot_yee_long} is simply written as
%%\begin{equation} %%\begin{equation}
%%\left(\nabla \times \vec{E}\right)_x(i,j,k) \approx %%\left(\nabla \times \vec{E}\right)_x(i,j,k) \approx
%%\frac{E_y(i,j,k) - E_y(i,j,k+1)}{\Delta{z}} + %%\frac{E_y(i,j,k) - E_y(i,j,k+1)}{\Delta{z}} +
@@ -123,7 +122,7 @@ magnetic field.
The classical solution to store electric and magnetic fields on the grids that yields the curl of the fields at the required position is the Yee grid. Here e.g. $B_y$ is stored at cell face $(i+1/2,j,k+1/2)$, while $E_y$ is stored at $(i,j+1/2,k)$\footnote{The grid cells have edge length $\Delta{x}$, $\Delta{y}, \Delta{z}$ and any position can be given as $\vec{x} = \left(i\cdot\Delta{x}, j\cdot\Delta{y}, k\cdot\Delta{z}\right)$.}. Not only does this process result in curls calculated at the correct position without interpolation, but the curl is calculated in second order immediately. The classical solution to store electric and magnetic fields on the grids that yields the curl of the fields at the required position is the Yee grid. Here e.g. $B_y$ is stored at cell face $(i+1/2,j,k+1/2)$, while $E_y$ is stored at $(i,j+1/2,k)$\footnote{The grid cells have edge length $\Delta{x}$, $\Delta{y}, \Delta{z}$ and any position can be given as $\vec{x} = \left(i\cdot\Delta{x}, j\cdot\Delta{y}, k\cdot\Delta{z}\right)$.}. Not only does this process result in curls calculated at the correct position without interpolation, but the curl is calculated in second order immediately.
The temporal derivative in Eqs.~\eqref{eq:num:Bevolution} and \eqref{eq:num:Eevolution} can be solved using the second-order spatial derivatives. The customary The temporal derivative in equations~\eqref{eq:num:Bevolution} and \eqref{eq:num:Eevolution} can be solved using the second-order spatial derivatives. The customary
solution is to leap-frog the fields, i.e. use the curl of the electric field at solution is to leap-frog the fields, i.e. use the curl of the electric field at
time $t\Delta{t}$ to update the magnetic field from time $(t-1/2)\Delta{t}$ to time $t\Delta{t}$ to update the magnetic field from time $(t-1/2)\Delta{t}$ to
$(t+1/2)\Delta{t}$ and then use the curl of the magnetic field at that time to $(t+1/2)\Delta{t}$ and then use the curl of the magnetic field at that time to
@@ -140,7 +139,7 @@ the magnetic field and use
\vec{E}^{t+1\phantom{/2}} &= \vec{E}^{t\phantom{-1/2}} + c \cdot \Delta t \cdot \nabla \times \vec{B}^{t+1/2} - 4 \pi \Delta t \cdot \vec{\jmath}^{t+1/2} \label{eq:num:Eupdate} \quad . \vec{E}^{t+1\phantom{/2}} &= \vec{E}^{t\phantom{-1/2}} + c \cdot \Delta t \cdot \nabla \times \vec{B}^{t+1/2} - 4 \pi \Delta t \cdot \vec{\jmath}^{t+1/2} \label{eq:num:Eupdate} \quad .
\end{align} \end{align}
This solver is the most common method and is accurate to second order with respect to a given current. Since small numbers of macroparticles lead to an increased noise, solutions are sought after to remove the noise. Increasing particles numbers is typically not an option as the noise level decreases as $1/\sqrt{N}$. For the cause of the noise and properties thereof see for example \cite{Okuda_1972} and \cite[Appendix D]{Shalaby_2017}. Filtering can be applied to either the source term $\vec{\jmath}^{t+1/2}$ so avoid the production of noise or the fields themselves to dampen existing noise. The latter is possible since noise is concentrated at high $k$ values and numerical errors (e.g. dispersion errors) are largest there. This low-pass filtering is described in \cite{Friedman_1990} and changes Eqs.~\eqref{eq:num:B1update} and \eqref{eq:num:B2update}. This solver is the most common method and is accurate to second order with respect to a given current. Since small numbers of macroparticles lead to an increased noise, solutions are sought after to remove the noise. Increasing particles numbers is typically not an option as the noise level decreases as $1/\sqrt{N}$. For the cause of the noise and properties thereof see for example \cite{Okuda_1972} and \cite[Appendix D]{Shalaby_2017}. Filtering can be applied to either the source term $\vec{\jmath}^{t+1/2}$ so avoid the production of noise or the fields themselves to dampen existing noise. The latter is possible since noise is concentrated at high $k$ values and numerical errors (e.g. dispersion errors) are largest there. This low-pass filtering is described in \cite{Friedman_1990} and changes equations~\eqref{eq:num:B1update} and \eqref{eq:num:B2update}.
Since we mentioned of CFL for the first time in the book just two paragraphs Since we mentioned of CFL for the first time in the book just two paragraphs
ago and it appears in several other chapters let's take a quick look at this ago and it appears in several other chapters let's take a quick look at this
@@ -161,7 +160,7 @@ Assuming that there is no initial $B_z^{t-1/2}$ and that $E_y^t$ has the form $A
So for the most unstable $k = \pi/\Delta{x}$ -- which is also the highest $k$ So for the most unstable $k = \pi/\Delta{x}$ -- which is also the highest $k$
that can be supported by the grid -- the amplitude has grown after a single that can be supported by the grid -- the amplitude has grown after a single
timestep by a factor $c^2\,\Delta{t}^2/\Delta{x}^2$. If this factor is larger timestep by a factor $c^2\,\Delta{t}^2/\Delta{x}^2$. If this factor is larger
than unity the time advance will amplify waves exponentially with time. To than unity the time advance will amplify waves exponentially with time. To
avoid that we require $\Delta{t} \leq \Delta x/c$. Intuitively this requirement avoid that we require $\Delta{t} \leq \Delta x/c$. Intuitively this requirement
say ``the time step should be short enough that waves don't travel further than say ``the time step should be short enough that waves don't travel further than
one grid cell per step''. Which makes sense since our numerical derivatives one grid cell per step''. Which makes sense since our numerical derivatives
@@ -189,12 +188,12 @@ the presence of the particles can be found in standard textbooks such as
%%The third option is to make use of the fact that most of that noise is %%The third option is to make use of the fact that most of that noise is
%%concentrated at high $k$ and modify the field solver to damp those modes. This %%concentrated at high $k$ and modify the field solver to damp those modes. This
%%is exactly what the method described in \cite{Friedman_1990} does. It replaces %%is exactly what the method described in \cite{Friedman_1990} does. It replaces
%%Eqs.~\eqref{eq:num:B1update} and \eqref{eq:num:B2update} by %%equations~\eqref{eq:num:B1update} and \eqref{eq:num:B2update} by
%%\begin{align} %%\begin{align}
%%\vec{B}^{t+1/2} &= \vec{B}^{t-1/2} - c \cdot \Delta t \cdot \nabla \times \left[\left(1+\frac{\theta}{4}\right)\vec{E}^t-\frac{1}{2}\vec{E}^{t-1}+\left(\frac{1}{2}-\frac{\theta}{4}\right)\vec{\bar{E}}^{t-2}\right]\quad , \label{eq:num:Bupfriedman}\\ %%\vec{B}^{t+1/2} &= \vec{B}^{t-1/2} - c \cdot \Delta t \cdot \nabla \times \left[\left(1+\frac{\theta}{4}\right)\vec{E}^t-\frac{1}{2}\vec{E}^{t-1}+\left(\frac{1}{2}-\frac{\theta}{4}\right)\vec{\bar{E}}^{t-2}\right]\quad , \label{eq:num:Bupfriedman}\\
%%\vec{\bar{E}}^{t-2} &= \left(1-\frac{\theta}{2}\right)\vec{E}^{t-1} + \frac{\theta}{2}\vec{\bar{E}}^{t-3} \quad . %%\vec{\bar{E}}^{t-2} &= \left(1-\frac{\theta}{2}\right)\vec{E}^{t-1} + \frac{\theta}{2}\vec{\bar{E}}^{t-3} \quad .
%%\end{align} %%\end{align}
%%If desired Eq.~\eqref{eq:num:Bupfriedman} can be split into two steps to get %%If desired equation~\eqref{eq:num:Bupfriedman} can be split into two steps to get
%%access to $\vec{B}^t$. The method allows tuneable damping by selecting $\theta$ %%access to $\vec{B}^t$. The method allows tuneable damping by selecting $\theta$
%%between 0 and 1 at the extra expense of storing and updating $\vec{\bar{E}}$. %%between 0 and 1 at the extra expense of storing and updating $\vec{\bar{E}}$.
%%The damping rate $\gamma$ is given by %%The damping rate $\gamma$ is given by
@@ -224,8 +223,8 @@ In other applications of finite-difference time-domain (FDTD) schemes the
solution would typically be to use a higher order approximation of the discrete solution would typically be to use a higher order approximation of the discrete
curl operator. Fig.~\ref{fig:num:rot_o4} shows how the straight forward curl operator. Fig.~\ref{fig:num:rot_o4} shows how the straight forward
extension to $4^{th}$ order in space would look like. extension to $4^{th}$ order in space would look like.
% The equivalent to Eq.~\eqref{eq:num:rot_yee} reads % The equivalent to equation~\eqref{eq:num:rot_yee} reads
The right hand side of Eq.~\eqref{eq:num:Bevolution} now reads The right hand side of equation~\eqref{eq:num:Bevolution} now reads
\begin{align} \begin{align}
\left(\nabla \times \vec{E}\right)_x(i,j,k) \approx & \frac{27}{24}\frac{E_y(i,j,k) - E_y(i,j,k+1)}{\Delta{z}} \nonumber \\ \left(\nabla \times \vec{E}\right)_x(i,j,k) \approx & \frac{27}{24}\frac{E_y(i,j,k) - E_y(i,j,k+1)}{\Delta{z}} \nonumber \\
& - \frac{E_y(i,j,k-1) - E_y(i,j,k+2)}{\Delta{z}} \nonumber \\ & - \frac{E_y(i,j,k-1) - E_y(i,j,k+2)}{\Delta{z}} \nonumber \\
@@ -303,7 +302,7 @@ So far all schemes only used grid locations at $i\Delta{x}$, but
\cite{Cole_2002} shows that using $(i\pm1)\Delta{x}$ can be useful, at least \cite{Cole_2002} shows that using $(i\pm1)\Delta{x}$ can be useful, at least
for a narrow range of frequencies propagating on the grid. Subsequently for a narrow range of frequencies propagating on the grid. Subsequently
\cite{Karkkainen_2006} extended that to broad bandwidth. \cite{Karkkainen_2006} extended that to broad bandwidth.
Fig.\ref{fig:num:rot_ck} illustrates all the grid locations that are used in this Fig.~\ref{fig:num:rot_ck} illustrates all the grid locations that are used in this
family of schemes. Choosing different relative weights between the different family of schemes. Choosing different relative weights between the different
grid locations allows to tune for different optimization goals. An overview is grid locations allows to tune for different optimization goals. An overview is
given in \cite{Vay_2011}. given in \cite{Vay_2011}.
@@ -323,7 +322,7 @@ given in \cite{Vay_2011}.
% Blinne_2018.pdf optimized FTDT stencils % Blinne_2018.pdf optimized FTDT stencils
A different approach is the pseudo-spectral solution of the field equations. A different approach is the pseudo-spectral solution of the field equations.
As known from e.g. hydrodynamics the partial differential equations in real space As known from e.g. hydrodynamics the partial differential equations in real space
are converted to ordinary equations in Fourier space. This eliminates finite stencils, are converted to ordinary equations in Fourier space. This eliminates finite stencils,
but requires a global FFT \cite{Haber_1973, Jalas_2017}. For constant current density but requires a global FFT \cite{Haber_1973, Jalas_2017}. For constant current density
Maxwell's equations can be integrated analytically in time leading to pseudo-spectral Maxwell's equations can be integrated analytically in time leading to pseudo-spectral
@@ -359,17 +358,17 @@ solvers (\cite{Vay_2013}).
%%to remove light waves completely from the plasma model and to reduce %%to remove light waves completely from the plasma model and to reduce
%%computational expense. The straight forward way to do this is the electrostatic %%computational expense. The straight forward way to do this is the electrostatic
%%plasma model, where the electric field is not updated using an evolution %%plasma model, where the electric field is not updated using an evolution
%%equation based on Amperes Law (Eq.~\eqref{eq:num:Eevolution}), but is directly %%equation based on Amperes Law (equation~\eqref{eq:num:Eevolution}), but is directly
%%calculated from Gauss Law (Eq.~\eqref{eq:num:gauss}). This of course limits the %%calculated from Gauss Law (equation~\eqref{eq:num:gauss}). This of course limits the
%%electric field to is longitudinal, curl-free component. Bases on %%electric field to is longitudinal, curl-free component. Bases on
%%Eq.~\eqref{eq:num:Bevolution} this tell us that the magnetic field will not %%equation~\eqref{eq:num:Bevolution} this tell us that the magnetic field will not
%%evoluve in time, but is restricted to an initial magnetic field that stays %%evoluve in time, but is restricted to an initial magnetic field that stays
%%constant in time. Intuitively that makes sense as very slow (comparted to the %%constant in time. Intuitively that makes sense as very slow (comparted to the
%%speed of light) particle motion implies very small currents. Historically some %%speed of light) particle motion implies very small currents. Historically some
%%of the first Particle-in-Cell codes were electrostatic (see e.g. %%of the first Particle-in-Cell codes were electrostatic (see e.g.
%%\cite{Hockney_1966, Gitomer_1972}) and very also the first to be expressed in %%\cite{Hockney_1966, Gitomer_1972}) and very also the first to be expressed in
%%implicit form (\cite{Cohen_1989}). Numerically there is several options to %%implicit form (\cite{Cohen_1989}). Numerically there is several options to
%%solve Eq.~\eqref{eq:num:gauss}. In one spatial dimension direct integration is %%solve equation~\eqref{eq:num:gauss}. In one spatial dimension direct integration is
%%possible, in higher dimension two methods are worth considering. A basic %%possible, in higher dimension two methods are worth considering. A basic
%%spectral solver is simple to implementr and the book \cite{Birdsall_2005} has a %%spectral solver is simple to implementr and the book \cite{Birdsall_2005} has a
%%good overview of the more subtil design trade-off one can make. The other %%good overview of the more subtil design trade-off one can make. The other
@@ -381,8 +380,8 @@ For the limit of very small particle velocities (as compared to the speed of lig
to remove light waves completely from the plasma model and to reduce to remove light waves completely from the plasma model and to reduce
computational expense. The straight forward way to do this is the electrostatic computational expense. The straight forward way to do this is the electrostatic
plasma model, where the electric field is not updated using an evolution plasma model, where the electric field is not updated using an evolution
equation based on Amperes Law (Eq.~\eqref{eq:num:Eevolution}), but is directly equation based on Amperes Law (equation~\eqref{eq:num:Eevolution}), but is directly
calculated from Gauss Law (Eq.~\eqref{eq:num:gauss}). calculated from Gauss Law (equation~\eqref{eq:num:gauss}).
This of course limits the electric field to its longitudinal, curl-free component and magnetic fields are no longer time dependent. Intuitively that makes sense as very slow This of course limits the electric field to its longitudinal, curl-free component and magnetic fields are no longer time dependent. Intuitively that makes sense as very slow
particle motion implies very small currents. Historically some of the first Particle-in-Cell codes were electrostatic (see e.g. \cite{Hockney_1966, Gitomer_1972}). Gauss Law can be solved in higher dimensions using either spectral solvers \cite{Birdsall_2005} or multigrid solvers. particle motion implies very small currents. Historically some of the first Particle-in-Cell codes were electrostatic (see e.g. \cite{Hockney_1966, Gitomer_1972}). Gauss Law can be solved in higher dimensions using either spectral solvers \cite{Birdsall_2005} or multigrid solvers.
@@ -411,7 +410,7 @@ particle motion implies very small currents. Historically some of the first Part
%%can be formulated in a consistent manner (see \cite{Besse_2007}), but is rarely %%can be formulated in a consistent manner (see \cite{Besse_2007}), but is rarely
%%used in practice. %%used in practice.
Besides the domain of electrostatic and electromagnetic models there is another intermediate regime called Darwin approximation \cite{Darwin_1920} which includes magnetodynamic effects up to order $\mathcal{O}((v/c)^2)$, but which does not consider light waves. This equivalent to removing the divergence-free part of the displacement current. While time resolution constraints are relaxed since the speed of light is no longer present, the differential equations representing the electromagnetic field are now elliptic requiring a global field solver. Besides the domain of electrostatic and electromagnetic models there is another intermediate regime called Darwin approximation \cite{Darwin_1920} which includes magnetodynamic effects up to order $\mathcal{O}((v/c)^2)$, but which does not consider light waves. This equivalent to removing the divergence-free part of the displacement current. While time resolution constraints are relaxed since the speed of light is no longer present, the differential equations representing the electromagnetic field are now elliptic requiring a global field solver.
\subsection{Interpolation} \subsection{Interpolation}
\label{sec:num:interpol} \label{sec:num:interpol}
@@ -450,7 +449,7 @@ in each timestep, the integral over the shape function $S$ is not performed
numerically, but rather done analytically ahead of time to obtain the weight numerically, but rather done analytically ahead of time to obtain the weight
function $W$: function $W$:
\begin{equation} \begin{equation}
W(x) = \int_{-\Delta{x}/2}^{\Delta{x}/2} S(x - x'), \mathrm{d}x' \quad . W(x) = \int_{-\Delta{x}/2}^{\Delta{x}/2} S(x - x'), \mathrm{d}x' \quad .
\end{equation} \end{equation}
Using this and suppressing the explicit location of the gridded quantity in the Using this and suppressing the explicit location of the gridded quantity in the
cell we can write the two-dimensional interpolation as cell we can write the two-dimensional interpolation as
@@ -463,7 +462,7 @@ codes make different design choices here. B-Splines are commonly chosen, but is
The shape function should not include the statistical weight of the macro particle, but rather should to be normalized, i.e. The shape function should not include the statistical weight of the macro particle, but rather should to be normalized, i.e.
$\int_{-\infty}^{\infty}S(x)\,\mathrm{d}x = 1$ to ensure that the plasma density is correctly represented. The shape function should be symmetric, i.e. $\int_{-\infty}^{\infty}S(x)\,\mathrm{d}x = 1$ to ensure that the plasma density is correctly represented. The shape function should be symmetric, i.e.
$S(-x) = S(x)$, to avoid unphysical self-forces on the particles. To allow efficient evaluation of $S(-x) = S(x)$, to avoid unphysical self-forces on the particles. To allow efficient evaluation of
Eq.~\eqref{eq:num:Bzinterpol}, the shape function should have compact support, equation~\eqref{eq:num:Bzinterpol}, the shape function should have compact support,
i.e. be non-zero only up to some small $x_{max}$. i.e. be non-zero only up to some small $x_{max}$.
The \textit{Nearest Grip Point} or NGP scheme is the minimal example satisfying The \textit{Nearest Grip Point} or NGP scheme is the minimal example satisfying
@@ -606,7 +605,7 @@ enough that a consensus as to their names has emerged.
%that treats all dimensions the same. %that treats all dimensions the same.
So far only dimension-by-dimension interpolation has been discussed. So far only dimension-by-dimension interpolation has been discussed.
This construction leads to codes that This construction leads to codes that
conserve total momentum, if the shape functions used during interpolation and deposition (see below in section~\ref{subsec:num:depostion}) are identical. Alternatively it is possible to combine shape function conserve total momentum, if the shape functions used during interpolation and deposition (see below in Sect.~\ref{subsec:num:depostion}) are identical. Alternatively it is possible to combine shape function
of different orders to obtain a code that conserves total energy of different orders to obtain a code that conserves total energy
\cite{Sokolov_2013}. A good example of this is the VPIC code (description in \cite{Sokolov_2013}. A good example of this is the VPIC code (description in
\cite{Bowers_2008}) that mixed NGP and CIC shape functions. Magnetic field \cite{Bowers_2008}) that mixed NGP and CIC shape functions. Magnetic field
@@ -650,7 +649,7 @@ When the force depends only on position, this can be solved straightforwardly.
For velocity dependent forces - magnetic fields are the most important case - For velocity dependent forces - magnetic fields are the most important case -
there is dependence on $\vec{x}(t)$, which is not known. The interpolation there is dependence on $\vec{x}(t)$, which is not known. The interpolation
$\vec{v}(t) \approx 1/2\left(\vec{v}(t-\Delta{t}/2)+\vec{v}(t+\Delta{t}/2)\right)$, but $\vec{v}(t) \approx 1/2\left(\vec{v}(t-\Delta{t}/2)+\vec{v}(t+\Delta{t}/2)\right)$, but
this leads to an implicit dependence of Eq.~\eqref{eq:num:velupdate} on this leads to an implicit dependence of equation~\eqref{eq:num:velupdate} on
$\vec{v}(t+\Delta{t}/2)$ on both sides. $\vec{v}(t+\Delta{t}/2)$ on both sides.
% %
@@ -660,7 +659,7 @@ $\vec{v}(t+\Delta{t}/2)$ on both sides.
%$\vec{v}(t)$ that we do not know. The straight forward next step is to approximate %$\vec{v}(t)$ that we do not know. The straight forward next step is to approximate
%the velocity at this point in time by $\vec{v}(t) \approx %the velocity at this point in time by $\vec{v}(t) \approx
%1/2\left(\vec{v}(t-\Delta{t}/2)+\vec{v}(t+\Delta{t}/2)\right)$, but now %1/2\left(\vec{v}(t-\Delta{t}/2)+\vec{v}(t+\Delta{t}/2)\right)$, but now
%Eq.~\eqref{eq:num:velupdate} has new new velocity $\vec{v}(t+\Delta{t}/2)$ on %equation~\eqref{eq:num:velupdate} has new new velocity $\vec{v}(t+\Delta{t}/2)$ on
%both sides. The Boris push allows us to solve this implicit equation without %both sides. The Boris push allows us to solve this implicit equation without
%matrix inversion or iteration. %matrix inversion or iteration.
@@ -670,7 +669,7 @@ $\vec{v}(t+\Delta{t}/2)$ on both sides.
%This quantity does not suffer from the problem that it has a fixed upper value %This quantity does not suffer from the problem that it has a fixed upper value
%and thus we avoid the loss of precision due to the finite resolution of %and thus we avoid the loss of precision due to the finite resolution of
%floating point numbers close to the speed of light. %floating point numbers close to the speed of light.
%Eqs.~\eqref{eq:num:velupdate} and \eqref{eq:num:posupdate} then read %equations~\eqref{eq:num:velupdate} and \eqref{eq:num:posupdate} then read
The Boris push allows us to solve this directly and efficiently. The computation efficiency is important since typical simulations contain many more particles than grid cells. The Boris push allows us to solve this directly and efficiently. The computation efficiency is important since typical simulations contain many more particles than grid cells.
@@ -679,7 +678,7 @@ versions, the formulation shall be done using relativistic momentum per rest mas
This quantity does not suffer from the problem that it has a fixed upper value This quantity does not suffer from the problem that it has a fixed upper value
and thus we avoid the loss of precision due to the finite resolution of and thus we avoid the loss of precision due to the finite resolution of
floating point numbers close to the speed of light. floating point numbers close to the speed of light.
Eqs.~\eqref{eq:num:velupdate} and \eqref{eq:num:posupdate} then read Equations~\eqref{eq:num:velupdate} and \eqref{eq:num:posupdate} then read
\begin{align} \begin{align}
\vec{u}(t+\Delta{t}/2) &= \vec{u}(t-\Delta{t}/2) + \vec{F}(x(t),v(t))\cdot\Delta{t}/m \label{eqn:macro_vel} \quad , \\ \vec{u}(t+\Delta{t}/2) &= \vec{u}(t-\Delta{t}/2) + \vec{F}(x(t),v(t))\cdot\Delta{t}/m \label{eqn:macro_vel} \quad , \\
\gamma(t+\Delta{t}/2) &= \sqrt{1 + \frac{\vec{u}(t+\Delta{t}/2) \cdot \vec{u}(t+\Delta{t}/2)}{c^2}} \\ \gamma(t+\Delta{t}/2) &= \sqrt{1 + \frac{\vec{u}(t+\Delta{t}/2) \cdot \vec{u}(t+\Delta{t}/2)}{c^2}} \\
@@ -687,11 +686,11 @@ Eqs.~\eqref{eq:num:velupdate} and \eqref{eq:num:posupdate} then read
\vec{F}(x(t),v(t)) &= q \left(\vec{E}(x(t)) + \vec{v}(t) \times \vec{B}(x(t))\right) \label{eqn:macro_force} \quad . \vec{F}(x(t),v(t)) &= q \left(\vec{E}(x(t)) + \vec{v}(t) \times \vec{B}(x(t))\right) \label{eqn:macro_force} \quad .
\end{align} \end{align}
One important thing to note is that the macrofactor $w_p$ cancels One important thing to note is that the macrofactor $w_p$ cancels
Eq.~\eqref{eqn:macro_vel} and Eq.~\eqref{eqn:macro_force}, since both charge between equation~\eqref{eqn:macro_vel} and equation~\eqref{eqn:macro_force}, since both charge
$q$ and mass $m$ of a macro particle are increased compared to $q_\alpha$ and $q$ and mass $m$ of a macro particle are increased compared to $q_\alpha$ and
$m_\alpha$ of a single physical particle. Positions $\vec{x}$ and velocities $m_\alpha$ of a single physical particle. Positions $\vec{x}$ and velocities
$\vec{v}$ are both unscaled. This mean that $\vec{v}$ are both unscaled. This mean that
Equations~\eqref{eqn:macro_vel}-\eqref{eqn:macro_force} apply to physical equations~\eqref{eqn:macro_vel}-\eqref{eqn:macro_force} apply to physical
particles and phase space samples in the same way and the dynamics of macro particles and phase space samples in the same way and the dynamics of macro
particles in the code can be intuitively interpreted as particle trajectories. particles in the code can be intuitively interpreted as particle trajectories.
@@ -718,12 +717,12 @@ into two equal parts performed before and after handling the magnetic field. Usi
\end{align} \end{align}
It is worth noting that the original algorithm by Boris contains the $\tan$ in It is worth noting that the original algorithm by Boris contains the $\tan$ in
Eq.~\eqref{eq:num:tanrotation} and the suggestion to expand it at least up to equation~\eqref{eq:num:tanrotation} and the suggestion to expand it at least up to
fourth order if it is too expensive to compute $\tan$ to machine precision. However many codes since then have made the fourth order if it is too expensive to compute $\tan$ to machine precision. However many codes since then have made the
approximation $\vec{\Omega} \approx q/(\gamma\,m)\,\vec{B}(t)\,\Delta{t}/2$, approximation $\vec{\Omega} \approx q/(\gamma\,m)\,\vec{B}(t)\,\Delta{t}/2$,
This produces only the correct gyro radius, not the correct gyro angle. This produces only the correct gyro radius, not the correct gyro angle.
The Lorentz factor $\gamma$ in Eq.~\eqref{eq:num:tanrotation} is approximated by The Lorentz factor $\gamma$ in equation~\eqref{eq:num:tanrotation} is approximated by
$\gamma = \sqrt{1 + \vec{u}_1\cdot\vec{u}_1 / c^2}$, which according to $\gamma = \sqrt{1 + \vec{u}_1\cdot\vec{u}_1 / c^2}$, which according to
\cite{Vay_2008} can lead to spurious forces. \cite{Vay_2008} can lead to spurious forces.
%and he suggests a more complicated expression. %and he suggests a more complicated expression.
@@ -962,7 +961,7 @@ the cell size $\Delta{x}$.
For uniform densities there is also the possibility to use \textit{low For uniform densities there is also the possibility to use \textit{low
discrepancy series} such as the Halton sequence \cite{Halton_1964}. This discrepancy series} such as the Halton sequence \cite{Halton_1964}. This
sequence distributes particles more uniformly in the sequence distributes particles more uniformly in the
simulation domain. This reduces the noise level as simulation domain. This reduces the noise level as
$\mathcal{O}(1/N)$ with the particle number. Adding more particles would reduce the noise level only like $\mathcal{O}(1/\sqrt{N})$ . This \textit{quiet start} has been successfully used e.g. in the study of instabilities (see \cite{Byers_1970} for an example). But beware the possibility of multi-beam and ring instabilities as analysed by \cite{Birdsall_2005}. $\mathcal{O}(1/N)$ with the particle number. Adding more particles would reduce the noise level only like $\mathcal{O}(1/\sqrt{N})$ . This \textit{quiet start} has been successfully used e.g. in the study of instabilities (see \cite{Byers_1970} for an example). But beware the possibility of multi-beam and ring instabilities as analysed by \cite{Birdsall_2005}.
@@ -1035,7 +1034,7 @@ In simulations where many new particles are created the algorithm by
particles and replaces them with $M$ ($2 \ll M < N$) new particles can be particles and replaces them with $M$ ($2 \ll M < N$) new particles can be
useful. The method of \cite{Faghihi_2017} extends this to include also the useful. The method of \cite{Faghihi_2017} extends this to include also the
stress tensor. If we do not want to redraw the complete particle population, stress tensor. If we do not want to redraw the complete particle population,
e.g. because we want to preserve features in phase space that are not well e.g. because we want to preserve features in phase space that are not well
described by the first few fluid moments, it is necessary to find particles of described by the first few fluid moments, it is necessary to find particles of
similar speeds. The method by \cite{Martin_2012} to find such particle pairs or similar speeds. The method by \cite{Martin_2012} to find such particle pairs or
groups can be useful for this task. The method by \cite{Vranic_2015} aims to groups can be useful for this task. The method by \cite{Vranic_2015} aims to
@@ -1092,12 +1091,12 @@ tangential components of the electric field are set to zero. Geometrically this
affects the three field components that are located at that face of the unit affects the three field components that are located at that face of the unit
cell. The two magnetic field components on the perpendicular faces and the cell. The two magnetic field components on the perpendicular faces and the
electric field on the edge normal to the boundary are not needed at the electric field on the edge normal to the boundary are not needed at the
boundary and are evolved freely, same as in the interior of the boundary and are evolved freely, same as in the interior of the
domain. Vanishing electric field, even in the presence of an electric current domain. Vanishing electric field, even in the presence of an electric current
is typical for a \textit{perfect electric conductor} (PEC). This boundary is typical for a \textit{perfect electric conductor} (PEC). This boundary
therefore mimics a metal wall with vanishing resistivity. If a realistic metal therefore mimics a metal wall with vanishing resistivity. If a realistic metal
boundary is required, much more effort is needed. This boundary condition does boundary is required, much more effort is needed. This boundary condition does
reflect impinging electromagnetic waves. The PEC boundary is therefore often reflect impinging electromagnetic waves. The PEC boundary is therefore often
coupled with a reflecting boundary condition for particles. When a particle coupled with a reflecting boundary condition for particles. When a particle
ends outside the boundary at the end ends outside the boundary at the end
of the timestep, both the component of the position normal to the wall, as well of the timestep, both the component of the position normal to the wall, as well
@@ -1162,7 +1161,7 @@ thermal plasma bath outside the simulation domain that can act as the source of
unperturbed upstream. This has been used in the simulation of unperturbed upstream. This has been used in the simulation of
magnetic reconnection, where the removal of plasma in the outflow regions and magnetic reconnection, where the removal of plasma in the outflow regions and
the injection of fresh upstream with not-yet-reconnected magnetic flux allows the injection of fresh upstream with not-yet-reconnected magnetic flux allows
for the study of larger systems (see \cite{Daughton_2006, for the study of larger systems (see \cite{Daughton_2006,
Klimas_2008, Ohtani_2009}). Klimas_2008, Ohtani_2009}).
%Besides the injection of thermal plasma on the boundary %Besides the injection of thermal plasma on the boundary
@@ -1187,8 +1186,8 @@ methods explained in this book: A huge number of particles and a large number
of time steps is required to simulate physically relevant systems. And even of time steps is required to simulate physically relevant systems. And even
then we are not covering macroscopic scales. To increase the maximum size of then we are not covering macroscopic scales. To increase the maximum size of
the problem that can be studied and to reduce the time a scientist has to wait the problem that can be studied and to reduce the time a scientist has to wait
before obtaining results that can be studied parallelization is extremly common before obtaining results that can be studied parallelization is extremely
and has been used for a long time. common and has been used for a long time.
This parallelization can make use of vectorization in the form of This parallelization can make use of vectorization in the form of
single-instruction-multiple-data (SIMD) \cite{Bowers_2008}. Details of this single-instruction-multiple-data (SIMD) \cite{Bowers_2008}. Details of this
@@ -1213,34 +1212,34 @@ Since the compute power of a single machine is only sufficient for very
selected problems and the memory can only hold approximately one billion selected problems and the memory can only hold approximately one billion
particles in RAM, it is commonly required to parallelize the code over many particles in RAM, it is commonly required to parallelize the code over many
nodes. Each node runs one (or more) separate process that communicate with nodes. Each node runs one (or more) separate process that communicate with
eachother and share the simulation workload. For the communication MPI each other and share the simulation workload. For the communication MPI
\cite{Walker_1996} is the defacto standard but recently frameworks have started \cite{Walker_1996} is the de facto standard but recently frameworks have started
to appear that take care of threading and communication for the programmer. to appear that take care of threading and communication for the programmer.
The common way to distribute the workload is to split the simulation domain The common way to distribute the workload is to split the simulation domain
into smaller local domains (also known as patches or blocks). Each process is into smaller local domains (also known as patches or blocks). Each process is
then responsible for the particles and fields in that local domain then responsible for the particles and fields in that local domain
\cite{Pfund_1998, Plimpton_2000, Qiang_2000, Messmer_2001, Qiang_2010}. The \cite{Pfund_1998, Plimpton_2000, Qiang_2000, Messmer_2001, Qiang_2010}. The
state of the electromagnetic field in neighbouring domains is then copied into state of the electromagnetic field in neighboring domains is then copied into
ghost zones that surround the local domain and act as boundary ghost zones that surround the local domain and act as boundary
conditions\footnote{The reason why this works efficiantly is that the the conditions\footnote{The reason why this works efficiently is that the
particle shape function have only compact support and the field update only particle shape function have only compact support and the field update only
requiring neighboring cells. However with extra effort domain decomposition can requiring neighboring cells. However with extra effort domain decomposition can
also be applied to spectral solvers\cite{Vay_2013}.}. Particles that hit the also be applied to spectral solvers\cite{Vay_2013}.}. Particles that hit the
boundary of the local domain are communicated to the neighbouring process, boundary of the local domain are communicated to the neighboring process,
inject from the wall there and are removed from the local domain. inject from the wall there and are removed from the local domain.
Particle-in-Cell codes tend to parallelize very efficiently using this method Particle-in-Cell codes tend to parallelize very efficiently using this method
since only communication with a handfull of neighbors is required and global since only communication with a handful of neighbors is required and global
all-to-all messaging can be nearly completely avoided. The only caveat is that all-to-all messaging can be nearly completely avoided. The only caveat is that
efficiency only remains high as long as all processes have fairly balanced efficiency only remains high as long as all processes have fairly balanced
workloads. If the setup starts unbalanced (e.g. because of a bad decomposition workloads. If the setup starts unbalanced (e.g. because of a bad decomposition
or because of inhomogeneous plasma density) or develops load imbalances over or because of inhomogeneous plasma density) or develops load imbalances over
the course of the simulation (typically in reconnection simulations when the course of the simulation (typically in reconnection simulations when
plasmoids are generated, or shock simulations where the downstream has higher plasmoids are generated, or shock simulations where the downstream has higher
density than the upstream) the parallelization efficancy drops. One can attempt density than the upstream) the parallelization efficiency drops. One can attempt
to improve load balance the simulation by imoving the boundaries between local to improve load balance the simulation by moving the boundaries between local
domains and making additional grid cells and particles the responsibility of domains and making additional grid cells and particles the responsibility of
less loaded processes, but this requires much more complicated code and incures less loaded processes, but this requires much more complicated code and incurs
additional costs. additional costs.
An alternative to splitting the global domain into rectangular or brick-shaped An alternative to splitting the global domain into rectangular or brick-shaped
@@ -1251,11 +1250,11 @@ the space filling curve has the properties that grid cells that are close to
each other along the curve are also mostly close to each other in the full 2d each other along the curve are also mostly close to each other in the full 2d
or 3d space. When the curve is then cut into segments to be distributed across or 3d space. When the curve is then cut into segments to be distributed across
processes the cells of each process tend to be close to each other. For most of processes the cells of each process tend to be close to each other. For most of
it's grid cells the process also owns the neighbouring field values and can use it's grid cells the process also owns the neighboring field values and can use
those without additional communication. Moving particles that enter another those without additional communication. Moving particles that enter another
grid cell are likely to stay with the same process. If they do leave they are grid cell are likely to stay with the same process. If they do leave they are
communicated to the correct neighboruing process same as in the case with patch communicated to the correct neighboring process same as in the case with patch
based domain decomposition. The big upside is that the segments of the space based domain decomposition. The big upside is that the segments of the space
filling curve do not have to be equally long and can be rebalanced more easily. filling curve do not have to be equally long and can be rebalanced more easily.
\subsection{Diagnostics} \subsection{Diagnostics}
@@ -1277,7 +1276,7 @@ particles is several terabytes. Saving the simulation state for later analysis o
There are of course many high-level diagnostics and it is impossible to cover There are of course many high-level diagnostics and it is impossible to cover
all of them. This section will therefore mostly cover general-purpose output all of them. This section will therefore mostly cover general-purpose output
that can be postprocessed further. To gain high-level insight into the that can be post-processed further. To gain high-level insight into the
simulation at low I/O cost it is often useful to calculate a breakdown of simulation at low I/O cost it is often useful to calculate a breakdown of
the energy content in the simulation in several rough categories, such as the energy content in the simulation in several rough categories, such as
the energy in the electric field, the energy in the magnetic field and in the energy in the electric field, the energy in the magnetic field and in
@@ -1315,7 +1314,7 @@ low-pass filter -- such as a Kaiser window \cite{Kaiser_1980} -- before the
decimation to avoid aliasing. decimation to avoid aliasing.
In some cases it is necessary to restart the simulation, either due to reaching a In some cases it is necessary to restart the simulation, either due to reaching a
wallclock limit, or due to a compute node crashing. Also some analysis can wall-clock limit, or due to a compute node crashing. Also some analysis can
only be performed as post-processing, either due to poor scalability or because only be performed as post-processing, either due to poor scalability or because
it is actively being developed based on the simulation results. In this case, it is actively being developed based on the simulation results. In this case,
the full particle information needs to be stored. Again direct binary dumps or the full particle information needs to be stored. Again direct binary dumps or
@@ -1358,7 +1357,7 @@ negative densities or numerical instabilities, PiC codes are rather robust.
This numerical stability is sometimes mistaken as physical plausibility. This numerical stability is sometimes mistaken as physical plausibility.
It is therefore important that the researcher employs a healthy skepticism It is therefore important that the researcher employs a healthy skepticism
towards the code and that the code is tested. Other communities like the towards the code and that the code is tested. Other communities like the
fluid simulation community. have a large number of test cases for which fluid simulation community. have a large number of test cases for which
analytic solutions are known, or at least results from other codes are analytic solutions are known, or at least results from other codes are
available. In the Particle-in-Cell community validation efforts (making available. In the Particle-in-Cell community validation efforts (making
sure that the employed plasma model is adequate and that the underlying sure that the employed plasma model is adequate and that the underlying
@@ -1397,7 +1396,7 @@ analytic solutions is rather small.
But there are some test cases that can be recommended. The paper by But there are some test cases that can be recommended. The paper by
\cite{Jacobs_2006} introduced a discontinuous Galerkin code on unstructured \cite{Jacobs_2006} introduced a discontinuous Galerkin code on unstructured
mesh, but also includes several useful test cases. The study of mesh, but also includes several useful test cases. The study of
Kelvin-Helmholtz instability in Saturn's magnetopause \cite{Delamere_2011} Kelvin-Helmholtz instability in Saturn's magnetopause \cite{Delamere_2011}
has been used by several hybrid codes. Code description paper such as the one has been used by several hybrid codes. Code description paper such as the one
for the Apart-T code \cite{Melzani_2013} or the SHARP code \cite{Shalaby_2017} for the Apart-T code \cite{Melzani_2013} or the SHARP code \cite{Shalaby_2017}
lists several test problems that are solvable with that code and offers lists several test problems that are solvable with that code and offers
+8 -4
View File
@@ -85,6 +85,7 @@ archivePrefix = "arXiv",
keywords = {COSMIC RAY ASTROPHYSICS, PLASMA, cosmic rays, particle astrophysics, plasma waves}, keywords = {COSMIC RAY ASTROPHYSICS, PLASMA, cosmic rays, particle astrophysics, plasma waves},
booktitle = {Cosmic ray astrophysics / Reinhard Schlickeiser, Astronomy and Astrophysics Library; Physics and Astronomy Online Library.~Berlin: Springer.~ISBN 3-540-66465-3, 2002, XV + 519 pp.}, booktitle = {Cosmic ray astrophysics / Reinhard Schlickeiser, Astronomy and Astrophysics Library; Physics and Astronomy Online Library.~Berlin: Springer.~ISBN 3-540-66465-3, 2002, XV + 519 pp.},
year = 2002, year = 2002,
publisher = {Springer},
adsurl = {http://esoads.eso.org/abs/2002cra..book.....S}, adsurl = {http://esoads.eso.org/abs/2002cra..book.....S},
adsnote = {Provided by the SAO/NASA Astrophysics Data System} adsnote = {Provided by the SAO/NASA Astrophysics Data System}
} }
@@ -484,8 +485,9 @@ archivePrefix = "arXiv",
ISSN = {0093-3813}, ISSN = {0093-3813},
} }
@article{Rabina_2014, @phdthesis{Rabina_2014,
author = {R{\"a}bin{\"a}, Jukka}, author = {R{\"a}bin{\"a}, Jukka},
school = {University of Jyv{\"a}skyl{\"a}},
journal = {Jyv{\"a}skyl{\"a} studies in computing}, journal = {Jyv{\"a}skyl{\"a} studies in computing},
number = {200}, number = {200},
publisher = {University of Jyv{\"a}skyl{\"a}}, publisher = {University of Jyv{\"a}skyl{\"a}},
@@ -519,7 +521,7 @@ archivePrefix = "arXiv",
address = {Berkely}, address = {Berkely},
author = {Fang, Jiayuan}, author = {Fang, Jiayuan},
month = 12, month = 12,
school = {University pof California}, school = {University of California},
title = {Time Domain finite difference computation for Maxwell's equations}, title = {Time Domain finite difference computation for Maxwell's equations},
year = 1989, year = 1989,
} }
@@ -1270,6 +1272,7 @@ archivePrefix = {arXiv},
publisher = {IEEE}, publisher = {IEEE},
title = {Absorbing boundary conditions for the finite-difference approximation of the time-domain electromagnetic-field equations}, title = {Absorbing boundary conditions for the finite-difference approximation of the time-domain electromagnetic-field equations},
year = {1981}, year = {1981},
volume = {EMC-23},
} }
@article{Pasik_1999, @article{Pasik_1999,
@@ -1468,6 +1471,7 @@ archivePrefix = {arXiv},
month = jun, month = jun,
title = "{Waves in homogeneous, anisotropic multicomponent plasmas (WHAMP)}", title = "{Waves in homogeneous, anisotropic multicomponent plasmas (WHAMP)}",
year = 1982, year = 1982,
institution = {Kiruna Geophysical Institute},
} }
@article{Dawson_1961, @article{Dawson_1961,
@@ -1897,12 +1901,12 @@ pages="350--355",
isbn="978-3-540-70734-9" isbn="978-3-540-70734-9"
} }
@article{Plimpton_2000, @techreport{Plimpton_2000,
title = {Load-balancing techniques for a parallel electromagnetic particle-in-cell code}, title = {Load-balancing techniques for a parallel electromagnetic particle-in-cell code},
author = {Plimpton, Steven J and Seidel, David B and Pasik, Michael F and Coats, Rebecca S}, author = {Plimpton, Steven J and Seidel, David B and Pasik, Michael F and Coats, Rebecca S},
doi = {10.2172/751032}, doi = {10.2172/751032},
url = {https://www.osti.gov/biblio/751032}, url = {https://www.osti.gov/biblio/751032},
journal = {}, institution = {Sandia National Labs},
place = {United States}, place = {United States},
year = {2000}, year = {2000},
month = {1} month = {1}
-11
View File
@@ -1,11 +0,0 @@
\subsection{Pulsar Magnetospheres}
\label{subsec:pulsar}
% pulsar
% Lyutikov_2007.pdf Crab pulses through resonance with L-O mode
% Brambilla_2017.pdf ab initio pulsar magneto sphere using PiC
% Kalapotharakos_2017.pdf 3d pulsar magnetospheres
% Philppov_2017.pdf pulsar magnetospheres
% Venter_2017.pdf test particle simulation of pulsar light curves
% Kalapotharakos_2018.pdf 3d pulsar magnetosphere, load balancing, radiation reaction force
+6 -6
View File
@@ -22,10 +22,10 @@ The Vlasov equation can be derived easily from a set of particles through the Kl
\end{align} \end{align}
Here each particle $k$ of the $N_0$ particles of species $\alpha$ have discrete positions $\vec{x}_k(t)$ and velocities $\vec{v}_k(t)$ in phase space. The particles with charge $q_\alpha$ and $m_\alpha$ are affected by electromagnetic fields and their motion is governed (in the non-relativistic limit) by the set of differential equations (in CGS) Here each particle $k$ of the $N_0$ particles of species $\alpha$ have discrete positions $\vec{x}_k(t)$ and velocities $\vec{v}_k(t)$ in phase space. The particles with charge $q_\alpha$ and $m_\alpha$ are affected by electromagnetic fields and their motion is governed (in the non-relativistic limit) by the set of differential equations (in CGS)
\begin{align} \begin{align}
\dv{\vec{x}_k(t)}{t} &= \vec{v}_k(t), \ \dv{\vec{x}_k(t)}{t} &= \vec{v}_k(t), \
\dv{\vec{v}_k(t)}{t} &= \frac{q_\alpha}{m_\alpha} \left( \vec{E}^m(\vec{x}_k(t),t)+\vec{v}_k(t) \times \vec{B}^m(\vec{x}_k(t),t) \right) \label{eq:theory:dv} \dv{\vec{v}_k(t)}{t} &= \frac{q_\alpha}{m_\alpha} \left( \vec{E}^m(\vec{x}_k(t),t)+\vec{v}_k(t) \times \vec{B}^m(\vec{x}_k(t),t) \right) \label{eq:theory:dv}
\end{align} \end{align}
The Klimontovich equation can then be derived by taking the time derivative of Eq.~\ref{eq:theory:phasespace} and using Eqs.~\ref{eq:theory:dv}. The Klimontovich equation can then be derived by taking the time derivative of equation~\eqref{eq:theory:phasespace} and using equation~\eqref{eq:theory:dv}.
\begin{align} \begin{align}
\pdv{N_\alpha(\vec x, \vec v, t)}{t} &=& \pdv{}{t} \sum_{k=1}^{N_0} \delta\left(\vec x - \vec{x}_k(t) \right) \delta\left(\vec{v}- \vec{v}_k(t)\right)\\ \pdv{N_\alpha(\vec x, \vec v, t)}{t} &=& \pdv{}{t} \sum_{k=1}^{N_0} \delta\left(\vec x - \vec{x}_k(t) \right) \delta\left(\vec{v}- \vec{v}_k(t)\right)\\
&=& -\vec v \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec x}\nonumber\\ & & - \frac{q_\alpha}{m_\alpha}\left( \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}^m(\vec{x}(t),t) \right) \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec v} &=& -\vec v \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec x}\nonumber\\ & & - \frac{q_\alpha}{m_\alpha}\left( \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}^m(\vec{x}(t),t) \right) \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec v}
@@ -49,19 +49,19 @@ The microscopic quantities of $N_\alpha$, $\vec{B}^m$ and $\vec{E}^m$ can be wri
\vec{E}^m (\vec x, \vec v, t) &= \vec E(\vec x, \vec v, t) +\delta \vec{E}^m (\vec x, \vec v, t) \label{eq:theory:Emdef}\\ \vec{E}^m (\vec x, \vec v, t) &= \vec E(\vec x, \vec v, t) +\delta \vec{E}^m (\vec x, \vec v, t) \label{eq:theory:Emdef}\\
\vec{B}^m (\vec x, \vec v, t) &= \vec B(\vec x, \vec v, t) +\delta \vec{B}^m (\vec x, \vec v, t) \label{eq:teory:Bmdef} \vec{B}^m (\vec x, \vec v, t) &= \vec B(\vec x, \vec v, t) +\delta \vec{B}^m (\vec x, \vec v, t) \label{eq:teory:Bmdef}
\end{align} \end{align}
%Now the ensemble average of Eq. \ref{eq:theory:klimontovich} can be calculated %Now the ensemble average of equation~\eqref{eq:theory:klimontovich} can be calculated
%\begin{align} %\begin{align}
% \left\langle \pdv{N_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{N_\alpha(\vec x, \vec v, t)}{\vec x} \right. & & \nonumber \\ \left.+ \frac{q_\alpha}{m_\alpha}\left( \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}^m(\vec{x}(t),t) \right) \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec v} \right\rangle & = & 0 % \left\langle \pdv{N_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{N_\alpha(\vec x, \vec v, t)}{\vec x} \right. & & \nonumber \\ \left.+ \frac{q_\alpha}{m_\alpha}\left( \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}^m(\vec{x}(t),t) \right) \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec v} \right\rangle & = & 0
%\end{align} %\end{align}
%The ensemble average can now be taken for each term separately %The ensemble average can now be taken for each term separately
We can substitute the definitions in Eqs.~\eqref{eq:theory:Nadef}-\eqref{eq:teory:Bmdef} into Eq.~\eqref{eq:theory:klimontovich} and take the ensemble average. Making use of the linearity of the averaging to split the equation into terms that can be averaged individually and applying definition \eqref{eq:theory:fdef} we obtain: We can substitute the definitions in equations~\eqref{eq:theory:Nadef}-\eqref{eq:teory:Bmdef} into equation~\eqref{eq:theory:klimontovich} and take the ensemble average. Making use of the linearity of the averaging to split the equation into terms that can be averaged individually and applying definition~\eqref{eq:theory:fdef} we obtain:
\begin{align} \begin{align}
\pdv{f_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{f_\alpha(\vec x, \vec v, t)}{\vec x} + \nonumber \\ + \frac{q_\alpha}{m_\alpha}\left( \vec{E}(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}(\vec{x}(t),t) \right) \cdot\pdv{f_\alpha(\vec x, \vec v, t)}{\vec v} =\nonumber\\ = - \frac{q_\alpha}{m_\alpha}\left\langle \pdv{f_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{f_\alpha(\vec x, \vec v, t)}{\vec x} + \nonumber \\ + \frac{q_\alpha}{m_\alpha}\left( \vec{E}(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}(\vec{x}(t),t) \right) \cdot\pdv{f_\alpha(\vec x, \vec v, t)}{\vec v} =\nonumber\\ = - \frac{q_\alpha}{m_\alpha}\left\langle
\left( \delta \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \delta\vec{B}^m(\vec{x}(t),t) \right) \left( \delta \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \delta\vec{B}^m(\vec{x}(t),t) \right)
\cdot\pdv{\delta N_\alpha(\vec x, \vec v, t)}{t} \cdot\pdv{\delta N_\alpha(\vec x, \vec v, t)}{t}
\right\rangle \right\rangle
\end{align} \end{align}
The term on the RHS is the ensemble average of a second-order product of perturbations in different realizations of a plasma state. This quantity is negligibly small. The LHS of the equation then yields the Vlasov equation The term on the RHS is the ensemble average of a second-order product of perturbations in different realizations of a plasma state. This quantity is negligibly small. The LHS of the equation then yields the Vlasov equation
% \begin{align} % \begin{align}
% \pdv{f_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{f_\alpha(\vec x, \vec v, t)}{\vec x} +\nonumber\\ \frac{q_\alpha}{m_\alpha}\left( \vec{E}(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}(\vec{x}(t),t) \right) \cdot\pdv{f_\alpha(\vec x, \vec v, t)}{\vec v} = 0 \label{eq:theory:vlasov} % \pdv{f_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{f_\alpha(\vec x, \vec v, t)}{\vec x} +\nonumber\\ \frac{q_\alpha}{m_\alpha}\left( \vec{E}(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}(\vec{x}(t),t) \right) \cdot\pdv{f_\alpha(\vec x, \vec v, t)}{\vec v} = 0 \label{eq:theory:vlasov}
% \end{align} % \end{align}
@@ -89,7 +89,7 @@ The distinction made here is between the Euler and Lagrange picture: The Vlasov
There are still different possibilities for the implementation of a Lagrangian picture: As discussed above there is PiC and N-body codes. The N-body method is a particle-particle method, where the particles are treated in a Lagrangian way and the inter-particle forces are calculated directly. The PiC method on the other hand is a particle-mesh (PM) method, where particles are Lagrangian, but their inter-particle forces are calculated via a grid, which stores fields. There are still different possibilities for the implementation of a Lagrangian picture: As discussed above there is PiC and N-body codes. The N-body method is a particle-particle method, where the particles are treated in a Lagrangian way and the inter-particle forces are calculated directly. The PiC method on the other hand is a particle-mesh (PM) method, where particles are Lagrangian, but their inter-particle forces are calculated via a grid, which stores fields.
%Wir folgen den Phasenraumelementen -> Lagrangebild. Was macht Mehdi anders? %Wir folgen den Phasenraumelementen -> Lagrangebild. Was macht Mehdi anders?
%PiC ist eine Lösung der Vlasovgleichung, welchen Teil des Plasmas beschreibt das? %PiC ist eine Lösung der Vlasovgleichung, welchen Teil des Plasmas beschreibt das?
+6 -6
View File
@@ -32,7 +32,7 @@ Although the plasma background and the energy of particles differs drastically b
The theory of wave-particle interaction and the resulting transport parameters has been discussed extensively in the past three decades and the reader is directed to the text book by \cite{2002cra..book.....S} for a detailed introduction. The quintessence of theoretical efforts is that any analytical calculation is limited to simple cases. Numerical models have evolved over time to fill this gap: Starting with simple test particle models with single wave modes to models with artificial turbulent spectra leading to full MHD models \cite{2012ApJ...750..150W,2013A&A...553A.129L,2016ApJ...833..223I}. The theory of wave-particle interaction and the resulting transport parameters has been discussed extensively in the past three decades and the reader is directed to the text book by \cite{2002cra..book.....S} for a detailed introduction. The quintessence of theoretical efforts is that any analytical calculation is limited to simple cases. Numerical models have evolved over time to fill this gap: Starting with simple test particle models with single wave modes to models with artificial turbulent spectra leading to full MHD models \cite{2012ApJ...750..150W,2013A&A...553A.129L,2016ApJ...833..223I}.
Using PiC it is possible to assume non-test particles in kinetic turbulence. As it will be shown this approach is allowed within the PiC framework, but not (yet) feasible. To study the interaction of particles with a single wave these waves have to be initialized in first place. The process of wave creation has been discussed in detail in Sec. \ref{subsubsec:init}. Which waves or more specifically which wave spectrum is going to be initialized depends on the scientific question: Using PiC it is possible to assume non-test particles in kinetic turbulence. As it will be shown this approach is allowed within the PiC framework, but not (yet) feasible. To study the interaction of particles with a single wave these waves have to be initialized in first place. The process of wave creation has been discussed in detail in Sect.~\ref{subsubsec:init}. Which waves or more specifically which wave spectrum is going to be initialized depends on the scientific question:
\begin{itemize} \begin{itemize}
\item Single waves can be used to compare analytic results with numerical experiments. Some benchmark results will be shown below. \item Single waves can be used to compare analytic results with numerical experiments. Some benchmark results will be shown below.
\item A spectrum of waves with random phases can be used to study transport in artificial turbulence. \item A spectrum of waves with random phases can be used to study transport in artificial turbulence.
@@ -46,9 +46,9 @@ Using PiC it is possible to assume non-test particles in kinetic turbulence. As
In order to study the transport a species of particles whose transport properties are to be examined will be injected. Typically suprathermal particles are used. %In most of the transport studies with MHD plasmas a test particle approach is used. Using the PiC method allows for the implementation of interacting particles. In order to study the transport a species of particles whose transport properties are to be examined will be injected. Typically suprathermal particles are used. %In most of the transport studies with MHD plasmas a test particle approach is used. Using the PiC method allows for the implementation of interacting particles.
Here care has to be taken, which physical effect should be studied: Here care has to be taken, which physical effect should be studied:
\begin{itemize} \begin{itemize}
\item Test particles (or typically for the sake of simplicity: particles with very small macrofactor) can be used to study the passive transport in a kinetic plasma. This is also the approach used in MHD plasmas. \item Test particles (or typically for the sake of simplicity: particles with very small macrofactor) can be used to study the passive transport in a kinetic plasma. This is also the approach used in MHD plasmas.
\item Full particles (along with the correct physical distribution) can be used to study transport of particles in a plasma, where instabilities are excited by the particles. \item Full particles (along with the correct physical distribution) can be used to study transport of particles in a plasma, where instabilities are excited by the particles.
Here the considerations discussed in Sec. \ref{subsec:instability} have to be taken account regarding the time scales and the necessary simulation size. Here the considerations discussed in Sect.~\ref{subsec:instability} have to be taken account regarding the time scales and the necessary simulation size.
\end{itemize} \end{itemize}
Regardless of the approach the transported particles should be marked as a separate species for later analysis purposes. Regardless of the approach the transported particles should be marked as a separate species for later analysis purposes.
@@ -62,7 +62,7 @@ $ %\begin{equation}
$ %\end{equation} $ %\end{equation}
individually for every particle for long enough times $t$. The transport coefficient can then be binned in pitch-angle $\mu$ and/or momentum $p$ according to the scientific question. It should be noted however that this method called ``running diffusion coefficient'' is error prone - especially for the pitch-angle and for strong turbulence: Only for very small change in the pitch-angle $D_{\mu\mu}$ can be calculated as a function of $\mu$. The reader is referred to \cite{2016ApJ...833..223I} for an advanced analysis method based on the change of particle distribution functions. individually for every particle for long enough times $t$. The transport coefficient can then be binned in pitch-angle $\mu$ and/or momentum $p$ according to the scientific question. It should be noted however that this method called ``running diffusion coefficient'' is error prone - especially for the pitch-angle and for strong turbulence: Only for very small change in the pitch-angle $D_{\mu\mu}$ can be calculated as a function of $\mu$. The reader is referred to \cite{2016ApJ...833..223I} for an advanced analysis method based on the change of particle distribution functions.
Fig. \ref{fig:trans:mass_ratio} shows the transport of energetic protons interacting with a single wave. The amplitude of the wave is between $0.021 < \delta B/B_0 < 0.048$. The expected behaviour is the resonance of particles with Fig.~\ref{fig:trans:mass_ratio} shows the transport of energetic protons interacting with a single wave. The amplitude of the wave is between $0.021 < \delta B/B_0 < 0.048$. The expected behaviour is the resonance of particles with
\begin{equation} \begin{equation}
k_\parallel ~ v_\parallel - \omega_0 + n ~ \Omega_\text{T} = 0. k_\parallel ~ v_\parallel - \omega_0 + n ~ \Omega_\text{T} = 0.
\label{eq:trans:res_con} \label{eq:trans:res_con}
@@ -72,7 +72,7 @@ The change of pitch-angle can be calculated
\Delta \mu^\pm(t,\psi) =& \Omega_\text{T} ~ \sqrt{1 - \mu^2} ~ \dfrac{\delta B}{B_\text{ext}} \times \Delta \mu^\pm(t,\psi) =& \Omega_\text{T} ~ \sqrt{1 - \mu^2} ~ \dfrac{\delta B}{B_\text{ext}} \times
\nonumber \nonumber
\\ \\
&\dfrac{\cos{\psi} - \cos{((\pm k_\parallel \, v_\text{T} \, \mu - \Omega_\text{T}) ~ t + \psi)}}{\pm k_\parallel \, v_\text{T} \, \mu - \Omega_\text{T}}. &\dfrac{\cos{\psi} - \cos{((\pm k_\parallel \, v_\text{T} \, \mu - \Omega_\text{T}) ~ t + \psi)}}{\pm k_\parallel \, v_\text{T} \, \mu - \Omega_\text{T}}.
\label{eq:trans:qlt} \label{eq:trans:qlt}
\end{eqnarray}% \end{eqnarray}%
The observable tilt between theory and numerical experiment is an artifact of defining the $\mu$-axis: The tilt can be removed when choosing $1/2(\mu_\text{end}+\mu_0)$ on the $\mu$-axis. The observable tilt between theory and numerical experiment is an artifact of defining the $\mu$-axis: The tilt can be removed when choosing $1/2(\mu_\text{end}+\mu_0)$ on the $\mu$-axis.
@@ -99,7 +99,7 @@ The observable tilt between theory and numerical experiment is an artifact of de
% \caption{S\textrm{III}.} % \caption{S\textrm{III}.}
% \label{fig:trans:mpzume428} % \label{fig:trans:mpzume428}
%\end{subfigure} %\end{subfigure}
\caption{Pitch angle scatter plots present the change $\Delta\mu$ of a particle's pitch angle at time $t$ depending on its initial $\mu$ at $t_0=0$, where $t_1$ and $t_2$ are intervals of two and four gyroperiods, respectively. Color coding indicates the number of particles at a given point $(\mu, \Delta\mu)$ normalized to the total number of test protons. The dashed lines show the position of the resonant pitch angle $\mu_\text{res}$ given by Eq.~\eqref{eq:trans:res_con}. The curves represent QLT predictions for the maximum scattering amplitude according to Eq.~\eqref{eq:trans:qlt}. Figure reproduced from \cite{2014CoPhC.185.1981S}} \caption{Pitch angle scatter plots present the change $\Delta\mu$ of a particle's pitch angle at time $t$ depending on its initial $\mu$ at $t_0=0$, where $t_1$ and $t_2$ are intervals of two and four gyroperiods, respectively. Color coding indicates the number of particles at a given point $(\mu, \Delta\mu)$ normalized to the total number of test protons. The dashed lines show the position of the resonant pitch angle $\mu_\text{res}$ given by equation~\eqref{eq:trans:res_con}. The curves represent QLT predictions for the maximum scattering amplitude according to equation~\eqref{eq:trans:qlt}. Figure reproduced from \cite{2014CoPhC.185.1981S}}
\label{fig:trans:mass_ratio} \label{fig:trans:mass_ratio}
\end{figure} \end{figure}
+12 -12
View File
@@ -51,8 +51,8 @@ The necessary initial conditions for L-waves (R-waves are analogous) are derived
k_L = \pm \dfrac{\omega}{c} ~ \sqrt{1 - \frac{\omega_\text{p}^2}{(\omega + \Omega_\text{e}) ~ (\omega - \Omega_\text{p})}}, k_L = \pm \dfrac{\omega}{c} ~ \sqrt{1 - \frac{\omega_\text{p}^2}{(\omega + \Omega_\text{e}) ~ (\omega - \Omega_\text{p})}},
\label{eq:trans:disp_rel} \label{eq:trans:disp_rel}
\end{equation}% \end{equation}%
The wave number $k_0$ for the excited wave has to be chosen as an integer multiple of $2\pi/L$. Now Eq. \ref{eq:trans:disp_rel} has to be solved for the frequency $\omega_0$ associated with $k_0$. The wave number $k_0$ for the excited wave has to be chosen as an integer multiple of $2\pi/L$. Now equation~\eqref{eq:trans:disp_rel} has to be solved for the frequency $\omega_0$ associated with $k_0$.
%to be chosen such that an integer number of waves fits into the simulation volume. Here the case of a parallel wave along the magnetic field in $x$ direction is discussed. With the choice of $k_0$ Eq. \ref{eq:trans:disp_rel} has to be solved for the associated frequency $\omega_0$. %to be chosen such that an integer number of waves fits into the simulation volume. Here the case of a parallel wave along the magnetic field in $x$ direction is discussed. With the choice of $k_0$ equation~\eqref{eq:trans:disp_rel} has to be solved for the associated frequency $\omega_0$.
The amplitude of the wave is defined by the absolute of the electric field fluctuation $\delta E$: The amplitude of the wave is defined by the absolute of the electric field fluctuation $\delta E$:
\begin{subequations} \begin{subequations}
\begin{alignat}{2} \begin{alignat}{2}
@@ -66,20 +66,20 @@ The amplitude of the wave is defined by the absolute of the electric field fluct
\end{subequations} \end{subequations}
The magnetic field fluctuation is calculated directly from Maxwell's equations. The choice of the left-handed L-wave determines the polarization and in turn the relation of the $y$ and $z$ component of electric and magnetic field. The magnetic field fluctuation is calculated directly from Maxwell's equations. The choice of the left-handed L-wave determines the polarization and in turn the relation of the $y$ and $z$ component of electric and magnetic field.
%EM fields will be written to the cells at the beginning of the simulation following Eq. \ref{eq:trans:excitation}. %EM fields will be written to the cells at the beginning of the simulation following equation~\eqref{eq:trans:excitation}.
At the start of the simulation the electromagnetic fields are stored in the cells according to Eq. \ref{eq:trans:excitation}. The initially thermal distribution of ions and electrons has to be boosted to match the currents associated with the transverse wave. At the start of the simulation the electromagnetic fields are stored in the cells according to equation~\eqref{eq:trans:excitation}. The initially thermal distribution of ions and electrons has to be boosted to match the currents associated with the transverse wave.
% %
%For the background plasma ions and electrons are injected with a thermal distribution. In order to fulfill the dispersion relation of the wave, these particles have to be boosted. For transversal waves the current perpendicular to the magnetic field associated with the wave has to be matched, which results in a simple boost in velocity space. For the implementation of longitudinal waves a displacement in space has to be taken account. %For the background plasma ions and electrons are injected with a thermal distribution. In order to fulfill the dispersion relation of the wave, these particles have to be boosted. For transversal waves the current perpendicular to the magnetic field associated with the wave has to be matched, which results in a simple boost in velocity space. For the implementation of longitudinal waves a displacement in space has to be taken account.
% %
The boost velocity $\delta v$ for the L wave can be calculated as well: The boost velocity $\delta v$ for the L wave can be calculated as well:
\begin{equation} \begin{equation}
% \delta v_y = \phantom{-}\frac{q_\text{s} \, c \, \delta E_z}{q_\text{s} \, B_\text{ext} - c \, m_\text{s} \, \omega_0}, ~~~~~ \delta v_z = - \frac{q_\text{s} \, c \, \delta E_y}{q_\text{s} \, B_\text{ext} - c \, m_\text{s} \, \omega_0}. % \delta v_y = \phantom{-}\frac{q_\text{s} \, c \, \delta E_z}{q_\text{s} \, B_\text{ext} - c \, m_\text{s} \, \omega_0}, ~~~~~ \delta v_z = - \frac{q_\text{s} \, c \, \delta E_y}{q_\text{s} \, B_\text{ext} - c \, m_\text{s} \, \omega_0}.
\delta v_y = \frac{q_\alpha \, c \, \delta E_z}{q_\alpha \, B_\text{ext} - c \, m_\alpha \, \omega_0}, ~~~ \delta v_z = \frac{- q_\alpha \, c \, \delta E_y}{q_\alpha \, B_\text{ext} - c \, m_\alpha \, \omega_0}. \delta v_y = \frac{q_\alpha \, c \, \delta E_z}{q_\alpha \, B_\text{ext} - c \, m_\alpha \, \omega_0}, ~~~ \delta v_z = \frac{- q_\alpha \, c \, \delta E_y}{q_\alpha \, B_\text{ext} - c \, m_\alpha \, \omega_0}.
\label{excitation_boost} \label{excitation_boost}
\end{equation} \end{equation}
The boost velocities for species $\alpha$, electrons or protons, depends on their charge $q_\alpha$ and mass $m_\alpha$. The boost velocities for species $\alpha$, electrons or protons, depends on their charge $q_\alpha$ and mass $m_\alpha$.
%The index s in Eqs.~\eqref{excitation_boost} denotes a specific species of particles -- electron or proton. %The index s in equations~\eqref{excitation_boost} denotes a specific species of particles -- electron or proton.
%Charge $q_\text{s}$ and mass $m_\text{s}$ have to be adjusted accordingly. %Charge $q_\text{s}$ and mass $m_\text{s}$ have to be adjusted accordingly.
% %
%This yields well defined waves above the thermal background noise. %This yields well defined waves above the thermal background noise.
@@ -155,7 +155,7 @@ Simulations of kinetic turbulence differ in a large number of input parameters.
\includegraphics[width=0.9\linewidth]{figure/application/turbulence_gary_2d_late.pdf} \includegraphics[width=0.9\linewidth]{figure/application/turbulence_gary_2d_late.pdf}
\caption{ \caption{
Magnetic energy spectrum at two points in time. Magnetic energy spectrum at two points in time.
The energy is normalized to the background magnetic field. The energy is normalized to the background magnetic field.
} }
\label{fig:turbulence_gary_2d_late} \label{fig:turbulence_gary_2d_late}
\end{figure} \end{figure}
@@ -190,16 +190,16 @@ Here we will show only few sketches to highlight how a possible setup of turbule
%Liefert irgendwie ein -2.9 Teilchenspektrum %Liefert irgendwie ein -2.9 Teilchenspektrum
%Ist das jetzt Turb oder Transport? %Ist das jetzt Turb oder Transport?
The physical and numerical parameters of the simulation presented here are given in Tables \ref{tab:simulation_turbulence_gary_phys} and \ref{tab:simulation_turbulence_gary_num} respectively. A central problem in finding a suitable parameter set is the balance between the requirement to resolve the Debye length and the onset of cyclotron damping. Energy will not be transferred to large parts of $k$ space due to damping processes. The physical and numerical parameters of the simulation presented here are given in Tables~\ref{tab:simulation_turbulence_gary_phys} and \ref{tab:simulation_turbulence_gary_num} respectively. A central problem in finding a suitable parameter set is the balance between the requirement to resolve the Debye length and the onset of cyclotron damping. Energy will not be transferred to large parts of $k$ space due to damping processes.
The simulation is initialized with waves at small $k$ around $k=0$. The distribution of energy in the 2-dimensional $k$ space is then depicted in Fig. \ref{fig:turbulence_gary_2d_late}. Here a picture very similar to the Goldreich-Sridhar theory emerges: Energy is transferred primarily perpendicular to the magnetic field (further simulations not shown here, show that even for initial energy distributions elongated parallel to the magnetic field show a similar picture). The simulation is initialized with waves at small $k$ around $k=0$. The distribution of energy in the 2-dimensional $k$ space is then depicted in Fig.~\ref{fig:turbulence_gary_2d_late}. Here a picture very similar to the Goldreich-Sridhar theory emerges: Energy is transferred primarily perpendicular to the magnetic field (further simulations not shown here, show that even for initial energy distributions elongated parallel to the magnetic field show a similar picture).
The 1D Fourier spectra parallel and perpendicular to the magnetic field shown in Fig. \ref{fig:turbulence_gary_2d_spectrum} provided different pictures. The general spectrum is much steeper than expected from classic theories. The 1D Fourier spectra parallel and perpendicular to the magnetic field shown in Fig.~\ref{fig:turbulence_gary_2d_spectrum} provided different pictures. The general spectrum is much steeper than expected from classic theories.
As discussed before these simulations can only give insight into a small part of the very large parameter space of kinetic turbulence. While more simulations are required the computational cost for any interesting physical parameter set is mostly extreme. Only time and more computer power can give more insight. As discussed before these simulations can only give insight into a small part of the very large parameter space of kinetic turbulence. While more simulations are required the computational cost for any interesting physical parameter set is mostly extreme. Only time and more computer power can give more insight.