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
\input{instabilities} %%TODO schreiben und so.
% \input{lwfa}
% laser-wakefield acceleration?
%IVc shocks
\input{shocks}
@@ -18,4 +18,4 @@
%IVd reconnection
\input{reconnection}
% \input{pulsar}
% pulsar magnetospheres
-3
View File
@@ -1,3 +0,0 @@
\section*{Technical Implementation}
+8 -8
View File
@@ -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?
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.
@@ -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
% \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
\begin{enumerate}
\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$
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}
% \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$}
\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}
% \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$}
\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}
% \includegraphics[width=0.9\columnwidth]{figure/application/histo}
@@ -171,7 +171,7 @@ containing $4 e^-$, $2 e^+$ and $2 p^+$ per cell (pair-proton stream), from whic
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]
\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}
\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{center}
\includegraphics[width=0.9\columnwidth]{figure/application/filament.pdf}
\end{center}
\caption{Development and merging of the flux tubes for a simulation with $m_p/m_e = 100.0$ and a resolution of $256 \times 256 \times 512$ cells. The colors pertain to the particle density (in particles per cell). In the three pictures it is to be seen that first the flux tubes develop, later they nearly vanish (which corresponds to the dip in the magnetic field energy in Fig. \ref{fig:B_vergleich} in the black curve at $80 \omega_p^{-1}$) and then the flux tube in the lower right corner grows stronger (lower set of pictures). This can be attributed to the independent instabilities at high mass-ratios. (Figure 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}
\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
View File
@@ -85,8 +85,6 @@ codes have successfully been used.}
\include{numerics}
% \include{implementation}
\include{application}
+45 -46
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
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
cells. How the source terms are calculated is discussed in section
\ref{subsec:num:depostion}. Non-rectangular grids are discussed in the
review \cite{Meierbachtol_2015}.
cells. How the source terms are calculated is discussed in Sect.~\ref{subsec:num:depostion}.
Non-rectangular grids are discussed in the review \cite{Meierbachtol_2015}.
%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
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
$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
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
@@ -58,17 +57,17 @@ and $\vec{B}$.
\nabla \cdot \vec{E} &= 4 \pi\,\rho \label{eq:num:gauss}\\
\nabla \cdot \vec{B} &= 0 \label{eq:num:monopol}
\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
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
law can be rewritten as evolution equations:
\begin{align}
\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}
\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.
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
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.
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,
magnetic field.
@@ -96,7 +95,7 @@ magnetic field.
%%\label{fig:num:rot_yee}
%%\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
%%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
@@ -107,7 +106,7 @@ magnetic field.
%%\end{align}
%%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
%%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}
%%\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}} +
@@ -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 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
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
@@ -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 .
\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
ago and it appears in several other chapters let's take a quick look at this
@@ -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
%%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
%%Eqs.~\eqref{eq:num:B1update} and \eqref{eq:num:B2update} by
%%equations~\eqref{eq:num:B1update} and \eqref{eq:num:B2update} by
%%\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{\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}
%%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$
%%between 0 and 1 at the extra expense of storing and updating $\vec{\bar{E}}$.
%%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
curl operator. Fig.~\ref{fig:num:rot_o4} shows how the straight forward
extension to $4^{th}$ order in space would look like.
% The equivalent to Eq.~\eqref{eq:num:rot_yee} reads
The right hand side of Eq.~\eqref{eq:num:Bevolution} now reads
% The equivalent to equation~\eqref{eq:num:rot_yee} reads
The right hand side of equation~\eqref{eq:num:Bevolution} now reads
\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 \\
& - \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
for a narrow range of frequencies propagating on the grid. Subsequently
\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
grid locations allows to tune for different optimization goals. An overview is
given in \cite{Vay_2011}.
@@ -359,17 +358,17 @@ solvers (\cite{Vay_2013}).
%%to remove light waves completely from the plasma model and to reduce
%%computational expense. The straight forward way to do this is the electrostatic
%%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
%%calculated from Gauss Law (Eq.~\eqref{eq:num:gauss}). This of course limits the
%%equation based on Amperes Law (equation~\eqref{eq:num:Eevolution}), but is directly
%%calculated from Gauss Law (equation~\eqref{eq:num:gauss}). This of course limits the
%%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
%%constant in time. Intuitively that makes sense as very slow (comparted to the
%%speed of light) 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}) and very also the first to be expressed in
%%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
%%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
@@ -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
computational expense. The straight forward way to do this is the electrostatic
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
calculated from Gauss Law (Eq.~\eqref{eq:num:gauss}).
equation based on Amperes Law (equation~\eqref{eq:num:Eevolution}), but is directly
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
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.
@@ -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.
$\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
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}$.
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.
So far only dimension-by-dimension interpolation has been discussed.
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
\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
@@ -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 -
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
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.
%
@@ -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
%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
%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
%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
%and thus we avoid the loss of precision due to the finite resolution of
%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.
@@ -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
and thus we avoid the loss of precision due to the finite resolution of
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}
\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}} \\
@@ -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 .
\end{align}
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
$m_\alpha$ of a single physical particle. Positions $\vec{x}$ and velocities
$\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 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}
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
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.
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
\cite{Vay_2008} can lead to spurious forces.
%and he suggests a more complicated expression.
@@ -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
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
before obtaining results that can be studied parallelization is extremly common
and has been used for a long time.
before obtaining results that can be studied parallelization is extremely
common and has been used for a long time.
This parallelization can make use of vectorization in the form of
single-instruction-multiple-data (SIMD) \cite{Bowers_2008}. Details of this
@@ -1221,26 +1220,26 @@ 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
then responsible for the particles and fields in that local domain
\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
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
requiring neighboring cells. However with extra effort domain decomposition can
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.
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
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
or because of inhomogeneous plasma density) or develops load imbalances over
the course of the simulation (typically in reconnection simulations when
plasmoids are generated, or shock simulations where the downstream has higher
density than the upstream) the parallelization efficancy drops. One can attempt
to improve load balance the simulation by imoving the boundaries between local
density than the upstream) the parallelization efficiency drops. One can attempt
to improve load balance the simulation by moving the boundaries between local
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.
An alternative to splitting the global domain into rectangular or brick-shaped
@@ -1251,10 +1250,10 @@ 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
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
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
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
filling curve do not have to be equally long and can be rebalanced more easily.
@@ -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
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
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
@@ -1315,7 +1314,7 @@ low-pass filter -- such as a Kaiser window \cite{Kaiser_1980} -- before the
decimation to avoid aliasing.
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
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
+8 -4
View File
@@ -85,6 +85,7 @@ archivePrefix = "arXiv",
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.},
year = 2002,
publisher = {Springer},
adsurl = {http://esoads.eso.org/abs/2002cra..book.....S},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
@@ -484,8 +485,9 @@ archivePrefix = "arXiv",
ISSN = {0093-3813},
}
@article{Rabina_2014,
@phdthesis{Rabina_2014,
author = {R{\"a}bin{\"a}, Jukka},
school = {University of Jyv{\"a}skyl{\"a}},
journal = {Jyv{\"a}skyl{\"a} studies in computing},
number = {200},
publisher = {University of Jyv{\"a}skyl{\"a}},
@@ -519,7 +521,7 @@ archivePrefix = "arXiv",
address = {Berkely},
author = {Fang, Jiayuan},
month = 12,
school = {University pof California},
school = {University of California},
title = {Time Domain finite difference computation for Maxwell's equations},
year = 1989,
}
@@ -1270,6 +1272,7 @@ archivePrefix = {arXiv},
publisher = {IEEE},
title = {Absorbing boundary conditions for the finite-difference approximation of the time-domain electromagnetic-field equations},
year = {1981},
volume = {EMC-23},
}
@article{Pasik_1999,
@@ -1468,6 +1471,7 @@ archivePrefix = {arXiv},
month = jun,
title = "{Waves in homogeneous, anisotropic multicomponent plasmas (WHAMP)}",
year = 1982,
institution = {Kiruna Geophysical Institute},
}
@article{Dawson_1961,
@@ -1897,12 +1901,12 @@ pages="350--355",
isbn="978-3-540-70734-9"
}
@article{Plimpton_2000,
@techreport{Plimpton_2000,
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},
doi = {10.2172/751032},
url = {https://www.osti.gov/biblio/751032},
journal = {},
institution = {Sandia National Labs},
place = {United States},
year = {2000},
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
+3 -3
View File
@@ -25,7 +25,7 @@ Here each particle $k$ of the $N_0$ particles of species $\alpha$ have discrete
\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}
\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}
\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}
@@ -49,12 +49,12 @@ 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{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}
%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}
% \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}
%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}
\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)
+4 -4
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}.
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}
\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.
@@ -48,7 +48,7 @@ Here care has to be taken, which physical effect should be studied:
\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 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}
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}
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}
k_\parallel ~ v_\parallel - \omega_0 + n ~ \Omega_\text{T} = 0.
\label{eq:trans:res_con}
@@ -99,7 +99,7 @@ The observable tilt between theory and numerical experiment is an artifact of de
% \caption{S\textrm{III}.}
% \label{fig:trans:mpzume428}
%\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}
\end{figure}
+8 -8
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})}},
\label{eq:trans:disp_rel}
\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$.
%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$.
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$ 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$:
\begin{subequations}
\begin{alignat}{2}
@@ -66,9 +66,9 @@ The amplitude of the wave is defined by the absolute of the electric field fluct
\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.
%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.
%
@@ -79,7 +79,7 @@ The boost velocity $\delta v$ for the L wave can be calculated as well:
\label{excitation_boost}
\end{equation}
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.
%
%This yields well defined waves above the thermal background noise.
@@ -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
%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.