Final Version of Phd Thesis

This commit is contained in:
Jonas Kellerer
2022-02-17 11:05:42 +01:00
parent 30e95bebee
commit 3371b4c48b
147 changed files with 77115 additions and 17244 deletions
+443 -247
View File
@@ -1,272 +1,468 @@
% Chapter 3
\chapter{Classification of the KATRIN Plasma}
\label{ch:plasma_classification}
\chapter{Simulation of Particle Distributions with KARL}
\label{ch:karl}
\todo{change all align to equation}
The density and its energy distribution of all species defines the plasma in the \acs{katrin} source. The specific density distribution is dependent on the cross section of each interaction, the particle movement and the geometry of the source. Initially only beta electrons are created. Subsequent interactions with the surrounding gas create multiple other electrons and ions with varriing energy. This scenario ist best simulated using the Monte Carlo technique. This technique was implemented in the newly developed \ac{karl} code. The code was developed in collaboration with C. Reiling in his master thesis \cite{MasterReiling2019} and extended together with Rupp in his master thesis \todo{Cite: MA Joachim}. The code and its first results will be presented in this chapter.
Most of the know universe exists in plasma state \citep{Cap.1994}. However, the explicit description of the state depends on many parameters, like the charged particle density and the energy distribution. Therefore, this chapter focuses on the specific classification of the plasma in the \acs{katrin} source and evaluation of suitable theoretical plasma models. A short introduction into plasmas will be given first. Secondly, measurements will be described, which constrain the plasma in the source experimentally. Then characteristic length scales and characteristic frequencies will be discussed for the conditions of the experiment. These parameters constrain the multitude of theoretical plasma models. Two specific models will be highlighted: a diffusion approach of a previous work by \citet{PhDKuckert2016}, and a partly collisional model, the main focus of this thesis.
\section{Simulation Method}
\label{sec:karl_simulation_method}
The \acs{karl} code uses a special approach of the Monte Carlo technique. Each paritcle chain starts at the beta decay, where the position of the new electron (and ion) is sampeled from the neutral particle denisty distribution, see section \ref{sssec:density_distribution}. The energy is sampeled from the known Fermi spectrum of the beta decay, see section \ref{sec:tritium_beta_decay_and_neutrino_mass}. The beta decay particles are then added to the particle queue and the simulation starts its iterative cycle, see figure \ref{fig:Chapter4_KARL/simulation_setup.pdf}. In each iteration step a particle is selected randomly from the particle queue. Then the mean free path is determined from the interacting partner density at the position of the particle and the energy of the particle. The particle is then moved according to the mean free path and the electromagnetic fields to a new position, see section \ref{ssec:karl_particle_movement}. If the particle hits the simulation boundaries it will be deleted. Otherwise a interaction is selected randomly from the available interactions, see section \ref{ssec:karl_particle_interactions}. The interaction products are then added to the particle queue and the iteration starts from the beginning. The particle loop is repeated until there are no more particles in the particle queue. Then a new beta decay particles are created and processed until the specified targed decay number is reached.
\section{Introduction to Plasmas}
\label{sec:introduction_to_plasmas}
\xfigure{h}{1.}{Chapter4_KARL/simulation_setup.pdf}{KARL Simulation procedure.}{Beta electrons are injected to the particle queue. A particle is picked from the queue and processed. The iteration step either ends in an particle interaction or through termination at the simulation boundaries. The particle queue is processed until no particle is in the queue and a new beta particle is injected. The particle densities are determined during the simulation.}
There is no common definition, what plasma is. Hermann and Preppernau define plasma as \enquote{the entirety of relatively free moving charged particles, which interact with each other through electromagnetic forces. The total system, where the entirety of the charged particles belong to must be neutral to the outside}(translated from \cite{Herrmann.1979}). \citet{Cap.1994} defines plasma similarly, but adds that core properties of the medium must be influenced by the presence of the entirety of the charged particles. The presence of free moving charged particles is not sufficient to describe plasma. The charged particles must show a collective behavior. Thus, a common salt solution can be described as plasma, whereas the particle cloud at high-energy accelerators might not be described this way \cite{Cap.1994}.
There are many characteristics which describe a plasma, see sections \ref{sec:length_scales} and \ref{sec:frequencies} for an in depth description. Some of these can be used to determine if there exists a plasma at all. One easy accessible property is the quasi-neutrality.
From the definitions above, it is evident that the absolute number of charged particles is not relevant in the definitions of plasma, but the number of positive and negative charges must be approximately equal. Assume that there are negative and positive charged particles in a sphere with the number densities $n_e$ and $n_i$ respectively. The total charge $Q$ in this sphere with radius $R$ can be written as
\begin{equation}
Q = -\frac{4 \pi R^3}{3} (n_e - n_i) e \fullstop
\end{equation}
The electric field at the radius $r$ with $r \geq R$ is then calculated by
\begin{equation}
E = \frac{Q}{r^2} = -\frac{4 \pi}{3} (1-a) \frac{R^3}{r^2} n_e e\comma
\end{equation}
with the relative density factor $a = n_i / n_e$. The electric field at the rim of a sphere with radius $R = \SI{1}{cm}$, a typical charge density of $n_e = \SI{1E15}{cm^{-3}}$ for fusion plasma, and the small relative density of $a=0.99$ will be $E = \SI{6.03E6}{V\per\centi\meter}$ accordingly. This large electric field will attract ions and restore the quasi-neutrality. Thus, it can be assumed that there exists quasi-neutrality in all plasmas. This condition will be broken if there are boundary conditions involved, or if there exist oscillations with a sufficient high frequency \cite{Cap.1994}.
Simulations by \citet{PhDKuckert2016} show that the electron density in the center of the \acs{wgts} is approximately $n_e \approx \SI{E6}{cm^{-3}}$ (supported by the simulations of this thesis, see chapter~\ref{ch:karl}). The radius of the source is \SI{4.5}{cm}. Assuming that there are no ions ($a = 0$) would result in a field of $E=\SI{2.7E-2}{V\per\centi\meter}$. This field is not as strong as the typical field presented above. Thus, there might be effects, which disturb the quasi neutrality. Nevertheless, the field is large enough to heavily influence thermal electrons of the source ($\mathcal{O}(E_{\text{th}}) \approx \SI{1}{meV}$).
\section{Experimental Investigations}
\label{sec:measurements_on_the_source_plasma}
The \acs{katrin} experiment is equipped with many methods to investigate the source plasma experimentally. These methods revolve either around on the measurement of electrons, which will have gained or lost energy through the plasma, or on the measurement of particle fluxes leaving the source. In the first category fall krypton line measurements, the Pro-KATRIN measurements and \acs{egun} measurements. In the second category fall the measurements of the rear wall current and the measurement of the dipole ion flux. A selection of these measurement techniques will be described in the following, and a short summary of the current findings will be presented. The investigations are still ongoing. Thus, this will only provide a preliminary view of the data and will show a short insight in the current experimental exploration.
The \acs{katrin} experiment offers many ways to influence the source plasma. While this can be used to reduce the effects of the plasma on the neutrino mass measurement, these methods can also be used to investigate the plasma itself. These methods include among others the adaptable magnetic field strength in all parts of the source, the variation of the potential at the rear wall and the dipole electrodes, the variable tritium density in the source and the introduction of additional electrons to the source through an illumination of the rear wall. These methods are employed in some analyzes described below.
\subsection{Krypton Line Measurements}
\label{ssec:krypton_line_measurements}
$\ce{^{83m}Kr}$ is a metastable isotope which produces monoenergetic electrons in its decay. Some conversion electrons have energies close to the tritium beta endpoint energy. Others can reach energies up to \SI{32}{keV}. The matching decay energy, paired with a short half-life of \SI{1.83}{h}, makes $\ce{^{83m}Kr}$ an ideal candidate for commissioning and calibration measurements \citep{Altenmuller.2020}.
At the \acs{katrin} experiment, gaseous krypton can be injected into the source. The krypton decays and thus provides its monoenergetic conversion electrons. The spectrum of the conversion electrons is measured with the \acs{katrin} detector. The data of the spectrum can be used to determine the line position and the line width of the krypton conversion. In the end, both values can be used to classify the potential inside the source. In simple words, they provide insight on the mean potential in longitudinal direction, as well as the mean deviation of the potential. The description of the deconvolution (of the line position and line broadening) towards information on the plasma potential exceed the context of this thesis. For more information, refer to the dedicated studies by \citet{PhDMachatschek2021}. Nevertheless, two use cases will be presented here to provide an insight on the method.
The injection of krypton can be carried out with an empty source, but also with tritium inside the source. Thus, a comparison of the krypton line measurements can provide insights on the plasma properties. In 2019, a measurement of the krypton conversion lines K-32, L$_3$-32 and N$_{2,3}$-32 was performed in an empty source. Both, the line position and the line width of the conversion were determined with an unprecedented accuracy \cite{Altenmuller.2020}. A similar measurement was performed later on with tritium background gas. Thus, a difference of the line position and line width can be directly attributed to the potential of the plasma inside the source. However, the explicit plasma potential distribution cannot be determined directly through these types of measurements, because of the unknown starting position of the measured electrons. Nevertheless, these measurements can provide limits on the influence of the plasma on the neutrino mass measurements.
\xfigure{tb}{1.}{Chapter2_KATRIN/Measurements/krypton/krypton_radial_ostertag.pdf}{Measured Krypton line width.}{Measurement of the line width for different rear wall potentials from the measurement campaign KNM2. Figure taken from \cite{MasterOstertag2020}.}
The boundary conditions of the source can have a great influence on the plasma potential. It can be assumed that there exists a specific potential difference of the rear wall and the tube walls at which the plasma potential has the smallest effect on the neutrino mass measurement. The krypton line width can provide insights onto this specific set-value of the rear wall potential. However, this evaluation is time-consuming, and it would be beneficial to have a model of the plasma, where the potential inside the source can be determined directly from other measurement parameters. The krypton line measurements can be used for the test of such a model. For example, the line width can be determined experimentally in relation to the rear wall potential. An exemplary measurement is shown in figure \ref{fig:Chapter2_KATRIN/Measurements/krypton/krypton_radial_ostertag.pdf}. It can be seen that the line broadening is vastly influenced by the rear wall potential. This influence is different for different radii. If a model of the plasma can predict the change of the line width depending on the rear wall potential, then this would enforce the trust in such a model. In total, the krypton measurements can be used to constrain the plasma model.
\subsection{Particle Current Measurements}
\label{ssec:rearwall_current_measurement}
The measurement of the electric current of particles leaving the source can provide a valuable insight on the plasma inside the source. It can either be used for monitoring the source or it can be used to probe the predictions of the different descriptions of the plasma.
\xfigure{tb}{1.}{Chapter2_KATRIN/Measurements/IUscans/knm2_IU_scan.pdf}{Measured electric currents leaving the source.}{Data from the rear wall (RW) and from the dipole electrodes in the \acs{dps}. Total current is the sum of both measurement points. Data from \citep{PhDFriedel2020}.}
The number of charged particles $n$ inside the source can be described by the continuity equation
\begin{equation}
\frac{\partial n}{\partial t} + \nabla \vec{j} = k_c(n) - k_r(n) \comma
\end{equation}
where $j$ is the particle current leaving the source, $k_c$ the creation rate of new particles through ionization and beta decay, and $k_r$ the recombination rate. Additionally, it can be assumed that the number of charged particles reaches a steady state after a sufficiently long time. Thus, the sum of all electrical currents $I_i$ leaving the source is equal to zero
\begin{equation}
0 = \sum_i I_i \fullstop \label{eq:continuity_electrical_current}
\end{equation}
The total current of particles leaving the source cannot be measured due to the intricate design of the apparatus. In general, it can be assumed that charged particles can leave the source either by collision with the tube walls, by collision with the rear wall, or by collision with the dipole electrodes of the \acs{dps}. The dominant channel is dependent on the type of particle. Ions can move in both directions of the source and can neutralize at the rear wall, as well as on the dipole electrodes, generating the currents $I^i_{\text{rw}}$ and $I^i_{\text{dp}}$ respectively. Whereas, electrons are reflected either by the potential of the dipole electrodes or at the potential of the spectrometers. Thus, they mostly neutralize at the rear wall ($I^e_{\text{rw}}$). The number of electrons leaving the apparatus at the detector can be neglected at this point, provided the small count rate at the detector. In conclusion, equation \ref{eq:continuity_electrical_current} can be written as
\begin{equation}
0 = I^e_{\text{rw}} + I^e_{\text{t}} + I^i_{\text{rw}} + I^i_{\text{dp}} + I^i_{\text{t}} \comma
\end{equation}
where $I^e_{\text{t}}$ and $I^i_{\text{t}}$ describe the electric current of electrons and ions respectively neutralizing at the tube walls. In a previous model of the plasma \cite{PhDKuckert2016} it was assumed that the electrical current towards the tube walls can be neglected due to the large magnetic field inside the source. However, current measurements have shown that the sum of all measured currents is only zero for a specific rear wall voltage $U_0$, see figure \ref{fig:Chapter2_KATRIN/Measurements/IUscans/knm2_IU_scan.pdf}. Thus, the measurements have shown that the plasma models need to be adapted to also include an electric current towards the beam tube. Therefore, the measurement of currents provide a valuable insight to the plasma. For more information on these types of measurements refer to the work of \citet{PhDFriedel2020}. Also, the influence of other source conditions like the dipole electric field strength, source temperature and neutral particle density are described there.
\subsection{Pro-KATRIN Measurements}
\label{ssec:pro_katrin_measurements}
The measured electron flux at the detector depends, in first order, on the initial electron energy, the difference between the potential at the starting position in the source, and the potential at the analyzing plane in the main spectrometer. Thus, a measurement of the rate where the starting potential is increased would yield the same result as if the potential at the main spectrometer is lowered. This method allows for an investigation of the influence of external potentials on the potential inside the source, especially the rear wall potential. The method can also be used to find an optimal rear wall potential for the neutrino mass measurements. Thus, it is also called Plasma Rear wall Optimization at KATRIN, in short \acs{proKatrin}.
\xfigure{tb}{1.2}{Chapter2_KATRIN/Measurements/ProKatrin/19092019_RW_scan_Ring0to11_average.png}{Pro Katrin Measurement.}{Exemplary measurement data from the measurement campaign KNM2. The rate at the detector (FPD) is put into relation with the voltage applied to the rear wall (RW). The data from the change of the rear wall voltage (RW scan) is compared to the data from the change of the potential at the main spectrometer (MS scan). Figure from \citep{PhDFriedel2020}.}
In the description of \citet{PhDKuckert2016}, it is assumed that the potential inside the source is dominated by the potential at the rear wall. This assumption is based on a fluid description of the plasma. It is hypothesized that the strong magnetic field in the source causes a high conductivity in longitudinal direction and a low conductivity in radial direction. Thus, the potential of the rear wall would penetrate deep into the plasma. This hypothesis can be tested with the \acs{proKatrin} method. An exemplary measurement is shown in figure \ref{fig:Chapter2_KATRIN/Measurements/ProKatrin/19092019_RW_scan_Ring0to11_average.png}. Three different regions can be identified there. The first region is the potential range \SIrange{-0.2}{0.5}{V}. Here, a change in the rear wall potential results in the same shift as a change in the main spectrometer potential. The second range comprises all rear wall potential values below \SI{-0.2}{V}. Here, the rear wall potential has a negligible effect on the rate at the detector. The third region contains all rear wall potential values above \SI{0.5}{V}. Here, a change in the rear wall potential has less effect than the change in the main spectrometer potential, but is not negligible. At the \acs{katrin} experiment, these three ranges are also called maximally-coupled region, decoupled region and partly-coupled region. From the measurements it can be concluded that there indeed is a region, where the potential inside the source is dominated by the rear wall potential as hypothesized by Kuckert. Nevertheless, there exist also rear wall potential values, where this assumption does not hold true. Optimally, a full description of the plasma will also include these values as well. Thus, a measurement with the \acs{proKatrin} method allows for testing of plasma models.
The \acs{proKatrin} method can also be used to investigate the stability of the source. The potential values at which there is a transition between the regions depends on the specific conditions inside the source. A change in the plasma conditions will also result in a change in the transition value. For more information on the \acs{proKatrin} method, refer to the work of \citet{PhDFriedel2020}. There, the method is described in detail, including additional investigation of the regions depending on the radius inside the source. These results can provide valuable insights into the plasma and its radial potential distribution in conjunction with the krypton measurements.
\section{Characteristic Length Scales}
\label{sec:length_scales}
The experimental investigations show that a suitable plasma model cannot be found by measurements only, but they provide constrains on the model itself. Thus, additional theoretical considerations must be employed. One way to distinguish between different models are characteristic length scales, described in the following. Further information can be gained by characteristic frequencies, see section~\ref{sec:frequencies}.
Characteristic length scales of plasma mostly rely on the consideration of interactions between charged particles, neutral particles, and electromagnetic fields. In this section, first, the most dominant effect in plasmas, Debye shielding, will be described. The Debye length can be used to determine if there exists a collective behavior of the charged particles. Secondly, the Landau length will be discussed, which provides an insight into spontaneous recombination processes. The discussion is followed by a description of the mean free path. This parameter will provide an overview of the dominant processes apart from electromagnetic interactions. After that, the gyroradius will be brought into focus, followed by a description of the inertial length. The inertial length can be used to give a limit on boundary effects. The section will be concluded by a comparison of the parameters presented before. This comparison then allows for a first classification of the plasma at \acs{katrin}.
Most of the presented parameters depend on the velocity and density distribution of electrons and ions in the source. For simplicity, it is assumed that the velocity distribution of the electrons follows the Maxwell-Boltzmann distribution with temperature $T = \SI{80}{K}$, due to elastic collisions with the neutral gas. The electron density is not constant in the source. The precise evaluation of the electron density and its position dependence is only accessible through simulations. Initial simulations with \acs{karl} show that the electron density ranges approximately from \SIrange{E3}{E6}{cm^{-3}}, see chapter~\ref{ch:karl}. Thus, the parameters below are evaluated and presented for these boundary values. Additionally, they are also depicted over the whole density range in figures \ref{fig:Chapter3_Classification/LengthScales/comparison_l.pdf}. The density of the ions is assumed to be the same as the electron density, following the postulation of quasineutrality.
\subsection{Debye Length}
\label{ssec:debye_length}
The Debye length $\lambda_D$ describes the length of the screening effect of plasma, where the electric field of a single charged particle is attenuated by the presence of other charged particles. Consider a positive ion in free space. The electric field of the ion follows the Coulomb's $r^{-2}$ law. Thus, the potential shows a $r^{-1}$ dependency. The interaction strength has therefore an infinite range. Consider the same ion in a cloud of electrons and other ions. The ion will attract electrons and repel other ions, such that the electric field of the ion is reduced to a bare minimum at a certain distance. This distance is called Debye length. A graphical representation of this behavior plus the potential of a free charge can be seen in figure \ref{fig:Chapter3_Classification/LengthScales/debye_length_scetch.pdf}.
\xfigure{tb}{1.}{Chapter3_Classification/LengthScales/debye_length_scetch.pdf}{Debye Shielding}{A single charge $q_0$ will be surrounded by other charges forming the Debye sphere. The electric potential $\Phi$ of this charge will be reduced from the infinite range of the Coulomb potential to a finite length in the order of the Debye length $\lambda_D$. Figure adapted from \cite{Stroth.2011}.}
The electric potential for a Debye sphere can be calculated from Poisson's equation
\begin{equation}
\nabla \phi = \frac{1}{r^2} \frac{\text{d}}{\text{d}r} r^2 \frac{\text{d}\phi}{\text{d}r} = - 4 \pi e(n_e - Z n_i) \comma \label{eq:poisson_debye}
\end{equation}
where $n_e$ and $n_i$ describe the density of electrons and ions respectively. Electrons and ions are assumed to follow the Boltzmann statistics. Thus, their density can be described through
\begin{align}
n_i &= n_{i,0} \, \exp \left(- \frac{Z e \phi}{k_b T}\right) \\
n_e &= n_{e,0} \, \exp \left( \frac{e \phi}{k_b T}\right) \comma
\end{align}
with the temperature $T$ and Boltzmann's constant $k_b$. Assuming quasi-neutrality, and that the electric potential is much smaller than the thermal energy of the particles ($e \phi \ll k_b T$) Equation \ref{eq:poisson_debye} can then be rearranged to
\begin{equation}
\frac{1}{r^2} \frac{\text{d}}{\text{d}r} r^2 \frac{\text{d}\phi}{\text{d}r} = 4 \pi e^2 n_{e,0} \frac{1+ Z}{k_b T} \phi \fullstop
\end{equation}
This differential equation is solved by the ansatz
\begin{equation}
\phi(r) = \frac{1}{r} \exp \left(-\frac{r}{\lambda_D}\right) \fullstop \label{eq:debye_potential}
\end{equation}
Thus, the Debye length $\lambda_D$ can be calculated by
\begin{equation}
\lambda_D = \sqrt{\frac{k_b T }{4 \pi e^2 n_{e,0} (Z+1)}} \fullstop
\end{equation}
Equation \ref{eq:debye_potential} shows that the potential drops to a fraction of $\mathrm{e}^{-1}$ of its initial value at the radius $r = \lambda_D$. Thus, the presence of other charged particles reduces the influence of the electric field of a single particle. The Debye length can therefore provide a limit on the length at which single particle effects play a role in a cloud of charged particles. For lengths smaller than the Debye length, direct particle interactions have to be considered, while for lengths greater than the Debye length, the collective behavior of the plasma takes over.
In section \ref{sec:introduction_to_plasmas}, it was stated that charged particles can be considered as plasma if there exists a collective behavior of the charged particles. Thus, the Debye length can be used in conjunction with the mean distance between charged particles $a$ to determine if the particles have to be treated as a plasma. Collective behavior is to be assumed when
\begin{equation}
a < \lambda_D \fullstop \label{eq:debye_plasma_condition}
\end{equation}
The same result can be obtained by requesting that there must be enough charge carriers in the near vicinity to justify a continuous description of the particles. This relation can be written as
\begin{equation}
\Lambda := \frac{4 \pi}{3} \lambda_D^3 n_e \gg 1 \comma
\end{equation}
where $\Lambda$ is called the plasma parameter. It is equivalent to equation \ref{eq:debye_plasma_condition} when identifying the mean distance between charged particles with the inverse cubic root of the particle density $n_e^{-1/3} = a$.
\textbf{Debye length at the \acs{katrin} experiment: } The approximate electron density range of \SIrange{E3}{E6}{cm^{-3}} and thermal temperature of $T = \SI{80}{K}$ results in a Debye length of \SI{1.9}{cm} and \SI{0.06}{cm} respectively. The Debye length is depicted for the whole density range in figure~\ref{fig:Chapter3_Classification/LengthScales/comparison_l.pdf} in comparison with other characteristic length scales, such as the mean distance between charged particles. From the figure, it is apparent that the plasma condition of equation \ref{eq:debye_plasma_condition} is fulfilled for all possible electron densities within the \acs{katrin} source. Thus, the charged particles in the source will show a collective behavior. The relative factor between the Debye length and the mean distance of particles is small in comparison to other plasmas \citep{Cap.1994}. Thus, the plasma at the \acs{katrin} experiment can be described as a plasma with a low density.
\subsection{Landau Length}
\label{ssec:landau_length}
The Landau length $l_L$ describes the distance at which the electrostatic energy of two charged particles is equal to the kinetic thermal energy of these particles. The Landau length can therefore be calculated by \citep{Cap.1994}
\begin{equation}
l_L = \frac{e^2 Z}{k_b T} \fullstop
\end{equation}
The mean distance between particles $a$ must be greater than the Landau length $(a > l_L)$ to ensure that the majority of ions and electrons have enough thermal energy not to recombine spontaneously in consequence of the Coulomb force \citep{Cap.1994}. Naturally, this does not mean that no recombinations take place, but that recombinations are not the dominant process destroying the plasma state.
\textbf{Landau length at the \acs{katrin} experiment: } The Landau length is only dependent on the temperature of the electrons, which was assumed to be $T = \SI{80}{K}$. Thus, the Landau length at the experiment is \SI{1.8E-9}{cm}. The Landau length is also depicted in figure \ref{fig:Chapter3_Classification/LengthScales/comparison_l.pdf}. From the figure, it is apparent that the Landau length is much smaller than the mean distance between charged particles. Thus, it can be assumed that the entirety of the charged particles will not recombine spontaneously. However, recombination and dissociation processes can occur for single particles by direct interactions, see section~\ref{ssec:electron_intreactions}. Additionally, the Landau length is much smaller than the Debye length. This implies that direct charged particle collisions play a secondary role for thermal charged particles in the source \cite{Cap.1994}.
\subsection{Mean Free Path}
\label{ssec:mean_free_path}
The mean free path $\lambda_\mathrm{mfp}$ describes the distance a particle will statistically move between two collisions. It can be derived from the probability that a particle interacts within a certain distance while flying through a particle cloud, see equation \ref{eq:probability_of_interaction}. In the end, the probability that a particle can be detected after a distance $x$ reads as
\begin{equation}
\mathcal{P}(x) = e^{-x/\lambda_\mathrm{mfp}} \fullstop \label{eq:mean_free_path_probability}
\end{equation}
Thus, the mean free path describes the point at which this probability is decreased to a value of $\mathrm{e}^{-1}$ of its initial value. This distance can be directly calculated from the number density of the traversed particle cloud $n$ and the total cross section of the interaction $\sigma$ through
\begin{equation}
\lambda_\mathrm{mfp} = \frac{1}{\sigma n} \fullstop
\end{equation}
\textbf{Limitations of the mean free path: } The mean free path can only be calculated if the total cross section can be assigned a finite value. The cross section is in general dependent on the energy and the scattering angle. Thus, to obtain the total cross section of an interaction, an integral over all possible scattering angles has to be performed. This integral diverges for the Coulomb interaction between two free moving charged particles, because of the infinite range of the electromagnetic force. Therefore, it would not be possible to determine the mean free path for the collision of electrons with electrons. The electromagnetic force in a plasma is limited due to the Debye shielding. Thus, the integral can be performed for particles in a plasma. Assuming that the particle energy is equal to the Boltzmann energy $E = k_b T$ the cross section can be approximated to
\begin{equation}
\sigma \approx \frac{4 \pi e^4 Z^2}{k_b^2 T^2} \ln \left( \frac{\lambda_D}{l_L} \right) \fullstop
\end{equation}
Refer to the work of Cap \cite{Cap.1994} for a full description of the derivation. This cross section has to be adapted for each interaction between different particle types, electron-electron, electron-ion, ion-ion.
\xtable{tb}{Chapter3_Classification/mean_free_path.tex}{Mean free path.}{Approximate values of the mean free path for densities similar to the densities at the rear wall and the center of the source.}
\textbf{Mean free path at the \acs{katrin} experiment: }
The mean free path is dependent on the energy of the interacting particles through the energy dependence of the cross section. The cross section decreases in most cases with increasing energy. The mean free path of thermal energies can therefore be used as a lower limit, as the thermal energy is the lowest energy of the system.
The electron density is not constant in the source ($n_e \approx $ \SIrange{E3}{E6}{cm^{-3}}). The neutral particle density also varies over the length of the source from \SI{E12}{cm^{-3}} at the rear wall to \SI{1E15}{cm^{-3}} in the center of the source, see section \ref{sssec:density_distribution}. Thus, the mean free path will show significantly different values depending on the position in the source. The position at the rear wall and in the center of the source will be used in the following to provide upper and lower limits on the mean free path. The corresponding values can be found in table \ref{tab:Chapter3_Classification/mean_free_path.tex}. These values are also depicted in figure \ref{fig:Chapter3_Classification/LengthScales/comparison_l.pdf} alongside other characteristic length scales.
The calculated values of the mean free path allow for the following conclusions:
\begin{itemize}
\item The mean free path of ions in the center is much smaller than the diameter $D=\SI{9}{cm}$ and length $L=\SI{1300}{cm}$ of the source tube. It can therefore be assumed that ions will have many interactions before coming in contact with the tube walls. Thus, the ions in the center will show a similar velocity distribution as the neutral gas, see section \ref{ssec:neutral_gas_flow}.
\item The mean free path of ions at the rear wall is comparable to the diameter of the source. Hence, the velocity distribution of the ions can deviate from the velocity distribution of the neutral gas.
\item The mean free path of electrons in the center is smaller than the dimensions of the source tube. Hence, the electron velocity distribution will show some characteristics of the velocity distribution of the neutral particles. Nevertheless, the Debye length and mean distance between particles is smaller than the mean free path of the electrons. Hence, plasma effects will play a vital role in the description of the electron movement. The difference of the mean free path and the Debye length is comparably small. Consequently, a description of the plasma in the central region of the \acs{wgts} has to include scattering as well.
\item The mean free path of electrons at the rear wall is greater than the geometric details of the source. Hence, electron interactions with neutrals can be neglected here.
\item The mean free path of electron-electron Coulomb interactions is comparably high to the mean free paths of other particle interactions and to the Debye length. Hence, direct interactions between electrons and electrons play a secondary role. A fluid description of the electrons is therefore not justified, see section \ref{sec:plasma_models} for more information on the different plasma models.
\end{itemize}
\subsection{Gyroradius and Classical Diffusion}
\label{ssec:gyro_radius}
The magnetic field of the \acs{katrin} source is very strong ($B = \SI{2.5}{T}$). Thus, the movement of charged particles is heavily influenced by this field. Charged particles perform a radial movement around the magnetic field lines. The radius of this motion is given by the Larmor radius $r_L$, also named gyroradius. It is calculated by
\begin{equation}
r_L = \frac{m v_\perp c}{c B} \comma
\end{equation}
where $v_\perp$ is the velocity perpendicular to the direction of the magnetic field, $m$ the mass of the charged particle and $B$ the magnetic field strength. The perpendicular velocity can be expressed in terms of the temperature~$T$ in case of thermal movement of charged particles. Thus, the gyro radius can be calculated as
\begin{equation}
r_L \approx \frac{c}{e B} \sqrt{ \frac{8 k_b T m}{\pi}} \fullstop
\end{equation}
\textbf{Gyroradius at the \acs{katrin} experiment:}
The energy of the electrons in the source ranges from the thermal energy $\mathcal{O}(\SI{1}{meV})$ to the beta decay energy $\mathcal{O}(\SI{10}{keV})$. Thus, also the minimum and maximum value of the electron gyroradius can deviate by a factor of approximately \num{3000}. However, it could be shown that the majority of the electrons have thermal energies, see chapter~\ref{ch:karl}. Therefore, only the gyroradius of thermal electrons is evaluated in the following, providing a minimum on the electron gyroradius. For the ions, it is assumed that they show thermal velocities because of frequent collisions with neutral gas, see section~\ref{ssec:ion_interactions}. Hence, the ion gyroradius is only evaluated for thermal ions.
The gyroradius of thermal particles is only dependent on the temperature of the particles and the magnetic field strength, which were assumed as $T = \SI{80}{K}$ and $B = \SI{2.5}{T}$ respectively. Therefore, the gyroradius is approximately $\SI{7.9E-6}{cm}$ and $\SI{1.0E-3}{cm}$ for electrons and ions respectively. The gyroradius of both species is depicted likewise in figure \ref{fig:Chapter3_Classification/LengthScales/comparison_l.pdf}.
The electron gyroradius is much smaller than the ion gyroradius. This is expected due to the large mass difference. The gyroradius for both electrons and ions is smaller than any other characteristic length, except the Landau length. Hence, the magnetic field will play a vital role in the description of the plasma.
Electrons and ions which are created close to the beam tube wall can be diverted by the magnetic field, so that these particles hit the wall in one gyro motion. This effect plays only a very minor role, as both ion and electron gyroradius are much smaller than the diameter of the \acs{wgts}.
\xfigure{tb}{0.95}{Chapter3_Classification/LengthScales/classical_diffusion.pdf}{Classical diffusion.}{The particle is gyrating around the guiding center until collision. The guiding center after collision can be different from the guiding center before collision. Thus, particles can diffuse across magnetic field lines. Figure adapted from \cite{Dendy.1996}.}
Electrons and ions can collide with neutral gas during the gyro motion. If this collision has a large scattering angle, the center of gyration will be shifted to another position, also seen in figure \ref{fig:Chapter3_Classification/LengthScales/classical_diffusion.pdf}. Thus, the particle can traverse in radial direction. This motion can be described by the classical diffusion coefficient $D$. It can be approximated by \citep{Stroth.2011}
\begin{equation}
D \approx \nu \, r_L^2 \comma
\end{equation}
where $\nu$ is the collision frequency. This diffusion coefficient is much smaller for electrons than for ions due to the significant difference in the gyroradius. It can therefore be assumed that diffusion due to collisions can be relevant for ions, but not for electrons. This assumption has to be tested in a thorough simulation, see also section~\ref{sssec:karl:field_free_simulation:external_parameters:magnetic}.
\subsection{Inertial Length}
\label{ssec:inertial_length}
The inertial length of electrons describes the depth to which an external light wave can penetrate into plasma. For this reason, it is also called skin depth. The inertial length is calculated from the dispersion relation of a so-called Langmuir or plasma mode. This mode is generated by charge density differences in the plasma. For more information on the plasma mode refer to section \ref{ssec:plasma_frequency}. Light waves will traverse the plasma undisturbed if the frequency of the incoming wave is much greater than the plasma frequency. In that case, electrons cannot follow the change of electric field due to their inertia. If the frequency of the incoming wave is smaller than the plasma frequency, the electrons will cancel out the displacement current. The wave cannot penetrate the plasma in this case and becomes evanescent \cite{Stroth.2011}. The penetration depth of the wave is given by the electron inertial length and is calculated by
\begin{equation}
l_\text{skin} = \frac{c}{\omega_\text{pe}} \comma
\end{equation}
where $\omega_\text{pe}$ is the electron plasma frequency. The plasma frequency is proportional to the square root of the electron density, see equation~\ref{eq:electron_plasma_frequency}. Thus, the skin depth is proportional to the inverse square root of the electron density.
\textbf{Inertial length at the \acs{katrin} experiment: }
The approximate electron density range of \SIrange{E3}{E6}{cm^{-3}} results in an inertial length of \SI{1.7E4}{cm} and \SI{530}{cm} respectively. The inertial length is also depicted in figure \ref{fig:Chapter3_Classification/LengthScales/comparison_l.pdf}. It can be seen that the skin depth is one of the largest length scale of the plasma. It is much greater than the diameter of the \acs{wgts} and only slightly smaller than the length of the source tube. Hence, it can be assumed that boundary effects will play a vital role in the description of the plasma. Nevertheless, there is a strong magnetic field in the \acs{katrin} source, whereas the in derivation of the skin depth a non magnetized plasma was assumed. Therefore, the skin depth can only be used for a rough approximation of boundary effects, but a more precise evaluation must be obtained by simulation.
The \acs{katrin} source tube is approximated by a cylinder with an open end. Electrons are reflected at this end, which corresponds to the reflection of electrons at the \acs{dps} dipole electrodes or at the main spectrometer potential. All ions are removed at the \acs{dps} side. All other boundaries of the cylinder are considered perfectly electric conductors. Thus all particles hitting the cylinder walls will be removed from the simulation.
\subsection{Summary}
\label{ssec:characteristic_length_comparison}
In the previous sections the Debye length, the Landau length, the mean free path, the gyroradius and the inertial length were discussed. Each parameter was described individually and key differences between the parameters were provided. In this section, the focus lies on the overall conclusion of all the parameters, especially for the description of the plasma at \acs{katrin}. The parameters are depicted in figure \ref{fig:Chapter3_Classification/LengthScales/comparison_l.pdf} in dependence to the electron density due to the a priori unknown density distribution of the electrons inside the source.
The simulation is evaluated using two methods: virtual current borders and density fields, which provide energy dependend particle currents and particle densities in relation on the position in the source. They will be discussed in the following.
\textbf{Single particle vs Collective behavior: }
First, the focus lies on the distinction if the charged particles in the source have to be treated as single particles or if they show a collective behavior and thus have to be treated as plasma. The following conclusions can be made from the characteristic length scales:
\begin{itemize}
\item $\lambda_D > a$; $\Lambda > 1$ : The particles in the source show a collective behavior.
\item $L > \lambda_D$; $D > \lambda_D$ : The collective behavior of the particles is dominant within the source. A treatment of the particles as plasma is necessary. Single particle treatment has to be employed at scales below $\lambda_D$
\item $a > l_L$ : Electrons and ions will not recombine through thermal motion.
\end{itemize}
Hence, it can be concluded that the particles in the source have to be treated as plasma.
\newpage
\subsection{Virtual Current Borders}
\label{ssec:karl_virtual_current_borders}
In the simulation the source is segmented longitudinally, radially and azimutally. Each particle is registered, when it crosses from one segment to another. The total current through the segment faces is then given by
\begin{align}
j = \frac{N^+ - N^-}{A T} \comma
\end{align}
where $N^+$ and $N^-$ is the number of particles crossing the faces in positive and negative direction, $A$ is the area of the face and $T$ the simulated time. The simulated time is determined by the number of decays $N_\beta$, which were simulated and the total activity $a$ of the source
\begin{align}
T = \frac{N_\beta}{a} \fullstop
\end{align}
The current through the faces can be determined depending on the energy and type of species crossing the faces. Thus the simulation can provide an energy and position dependend particle current in the \acs{katrin} source.
\xfigure{h!}{1.}{Chapter3_Classification/LengthScales/comparison_l.pdf}{Characteristic length scales.}{$\lambda_D$: Debye length, $a$: mean distance between electrons, $L$: length of the source, $D$: diameter of the source, $l_\text{skin}$: inetrial length, $\lambda_{e,rw}$/$\lambda_{i,rw}$: mean free path of electrons/ions in front of the rear wall, $\lambda_{e,c}$/$\lambda_{i,c}$: mean free path of electrons/ions in the center of the source, $\lambda_{ee}$: mean free path of electrons due to Coulomb interactions. $R_e$/$R_i$: gyroradius of thermal electrons and ions. Neutral density: in front of rear wall \SI{1E12}{cm^{-3}}, in center \SI{6.3E14}{cm^{-3}}. Magnetic field: $B = \SI{2.5}{T}$. Temperature: $T = \SI{80}{K}$.}
\subsection{Density Fields}
\label{ssec:karl_density_fields}
The segmentation of the source is also used in the determination of the individual particle densities. During the simulatio it is recorded how long a particle stays in one segment. The density of a species $\alpha$ is then proportional to the total time of all particles of the specie spend in the segment and the volume $V$ of the segment
\begin{align}
n_\alpha = \frac{\sum_i t_i}{T V} \fullstop
\end{align}
This equation is only valid for a simulation with particles, which do not recombine with each other. In case of recombination an additional term has to be added corresponding to the number of recombinations of the recombination partner $\gamma$ in the segment
\begin{align}
n_\alpha = \frac{\sum_i t_i}{T V} - \frac{N_\gamma}{V} \fullstop
\end{align}
Again the density can be determined depending on the energy and type of specie. Thus the simulation can provide an energy and position dependend particle density of the \acs{katrin} source.
\xfigure{h!}{1.}{Chapter3_Classification/TimeScales/comparison_t.pdf}{Characteristic frequencies.}{$f_{\text{pe}}$: electron plasma frequency, $f_{\text{pe}}$: ion plasma frequency assuming the same ion density as electron density, $\nu_{\text{rec}}$: collision rate of recombination, $\nu_{ee}$: Coulomb collision rate, $\Omega_e$: electron gyro frequency, $\Omega_i$: ion gyro frequency, $\nu_{e,rw}$/$\nu_{i,rw}$: elastic collision freuqency of electrons/ions in front of the rear wall, $\nu_{e,c}$/$\nu_{i,c}$: elastic collision freuqency of electrons/ions in the center of the source, $f_R$: synchrotron loss frequency, $\nu_{\text{tern}}$: ternary association rate, $v_{T_2}/L$: mean inverse time of neutrals in the source, $v_{\beta}/L$: mean inverse time of betas in the source. Neutral density: in front of rear wall \SI{1E12}{cm^{-3}}, in center \SI{6.3E14}{cm^{-3}}. Magnetic field: $B = \SI{2.5}{T}$. Temperature: $T = \SI{80}{K}$.}
%\subsection{Particle Injection}
%Particles have to be injected into the simulation depending on specific energy distributions. The most important
%Particles are injected after Simulation
%\paragraph{Sampling of Spectrum}
\FloatBarrier
\subsection{Particle Movement}
\label{ssec:karl_particle_movement}
The particle movement is a central part of the simulation. Particles are moved from an original position to a new position depending on the mean free path and the electromagentic fields in the source. The movement of the particle can be performed in the code using the Boris push algorithm or through the drift approximation algorithm. The former can be used in arbitrary electromagnetic fields and resolves also the gyro motion of the particle. In the latter the motion of the particle is compound by a motion of the guiding center and the circular gyro motion around this guiding center. The Boris push algorithm provides highly accurate results at the cost of computing time. Both algorithms can be used by the \acs{karl} code but in most simulations only the drift approximation algorithm is used to conserve computing time. Therefore the drift approximation algorithm will be presented here. The Boris push algorithm is also used by the \acs{acronym} code and will be therefore discussed in section \ref{ssec:boris_push}.
\textbf{Plasma models: }
There exist many models describing plasma, see section \ref{sec:plasma_models}. The choice of the model is dependent on the characteristic length scales. A suitable model can be found with the following conditions:
\begin{itemize}
\item $R_e \ll L,D$; $R_i \ll L,D$; $R_e \ll \lambda_D$ : Electron and ion motion is dominated by the magnetic field. Thus, the plasma is strongly magnetized.
\item $\lambda_{e,c} > \lambda_D$ : Collisions of electrons with neutral gas play a secondary role in the center of the \acs{wgts}. Nevertheless, they have to be considered because of the small the difference of the two parameters, meaning the plasma in the center is partly collisional.
\item $\lambda_{e,rw} \gg \lambda_D$ : Collisions of electrons with neutral particles are negligible close to the rear wall. Thus, the plasma is collisionless in this area.
\item $\lambda_{ee} \gg \lambda_D$ : Electron-electron collisions are very infrequent. The electrons cannot be treated as a fluid.
\item $\lambda_{i,c} < \lambda_D$ : Ions interact very often with the neutral gas in the center of the \acs{wgts}. Their movement is dominated by collision.
\item $\lambda_{i,rw} \gg \lambda_D$ : Ions will seldom interact with neutral gas close to the rear wall. Their movement is dominated by plasma effects.
\end{itemize}
From this compilation, it can be concluded that the plasma model for \acs{katrin} needs to treat the plasma as strongly magnetized, low density, partly collisional, bound, multi species, partially ionized with thermal and non-thermal components of low but finite temperature.
\paragraph{Drift Approximation Algorithm}
In the drift approximation algorithm the movement of the particle is described by the superposition of the movement of the guiding center and the gyro motion of the particle around the guiding center. It is only applicable to time and spatial constant magnetic fields. In the context of the \acs{karl} simulation it is assumed that the magnetic field is constant over the whole source. Thus the drfit approximation algorithm can be used.
The particle is moved in total by the distance $L$, which is determined by the mean free path, see below. Nevertheless the movement of the particle is subdivided into small spatial steps $\Delta x$. The step size is chosen by the step size of the electromagnetic field data, to avoid movement across multiple eletric field cells. The discretization of the spatial dimension can be translated into a discretization of the time domain to
\begin{align}
\Delta t = \frac{\Delta x}{|\vec{v}^{i}|} \comma
\end{align}
where $|\vec{v}|$ is the absoltue velocity of the particle before movement. The position $z$ in longitudinal direction then is calculated by
\begin{align}
z^{i+1} = z^{i} + v_\parallel^i \Delta t \comma
\end{align}
where the index $i$ denotes the timestep at which the quantity is given and $v_\parallel^i$ is the velocity of the particle perpendicular to the magnetic field. The electric during the motion is approximated by the mean of the field value at the original position and at the new position
\begin{align}
\vec{E} = \frac{\vec{E}(z^{i+1}) + \vec{E}(z^{i})}{2} \fullstop
\end{align}
This field is then used to calculate the movement perpendicular to the magnetic field and used to determine the new velocity $v_\parallel^{i+1}$. The perpendicular particle position changes to
\begin{align}
x^{i+1} = x^{i} + v_{\perp,x} \Delta t \\
y^{i+1} = y^{i} + v_{\perp,y} \Delta t \comma
\end{align}
where $v_\perp$ is given by
\begin{align}
v_\perp = \frac{\vec{E} \times \vec{B}}{B^2} \fullstop
\end{align}
The parallel velocity changes corresponding to the Lorentz force to
\begin{align}
v_\parallel^{i+1} = v_\parallel^i + \frac{q E_\parallel}{m} \Delta t \comma
\end{align}
where $E_\parallel$ is the electric field strength parallel to the magnetic field, $m$ is the mass of the particle and $q$ its charge.
\section{Characteristic Frequencies}
\label{sec:frequencies}
The characteristic frequencies of a plasma mostly rely on the consideration of the interactions between the charged particles, neutral particles, and electromagnetic fields. The frequencies can provide an insight whether an effect has to be included in the description of the plasma, or if it can be neglected.
In this section, first the plasma frequency will be described. It provides a natural time scale at which plasma effects play a role. Secondly, the gyro frequency will be discussed, which provides an insight into synchrotron radiation processes. The discussion is followed by a description of the collision rate. This parameter will provide an overview of the dominant processes. The section will be concluded by a comparison of the parameters presented before.
\paragraph{Travelled Distance}
The actual travelled distance $L$ is determined through a random number $\eta \in (0,1)$ and the mean free path $\lambda$
\begin{align}
L = - \lambda \cdot \log \eta \comma
\end{align}
which is the inverse of equation \ref{eq:mean_free_path_probability}. The mean free path is determined through equation \ref{eq:mean_free_path} depending on the cross section of the interaction and density of the target particles. The mean free path of multiple competing interaciton channels $i$ is given by
\begin{align}
\lambda = \frac{1}{\sum_i \sigma_i n_i} \comma
\end{align}
where $\sigma_i$ is the cross section and $n_i$ the density of the target particles. The cross section is dependend on the energy of the incidend $E_i$ and target particle $E_t$. The transformation into the target frame is dependent on the incident angle $\theta$ of the interaction and its distribution $f(\theta)$. Thus each contribution to the mean free path is written as
\begin{align}
\sigma_i n_i = \frac{1}{\pi} \iint \mathop{dE_t} \mathop{d\theta} f(\theta) \sigma_i(E_t, E_i, \theta) \frac{dn_t}{dE_t}(E_t) \fullstop
\end{align}
In the simulation it assumed that the incident angle is isotropically distributed to reduce calculation effort. Further more small and large incident angles are neglected. The transformation to the target frame can result otherwise in a vanishing energy, which in turn would result in an overestimation of the cross section toward lower energies.
The energy distribution of the target density is collected in discrete bins. Thus the integral is not performed directly but replaced through a sum over all possible energy bins.
\subsection{Plasma Frequency}
\label{ssec:plasma_frequency}
The plasma frequency $\omega_p$ describes the density oscillation of electrons and ions, where the quasineutrality has been perturbed. It can be derived for cold plasmas with no magnetic field, see also \cite{Cap.1994}, and calculates to
\begin{align}
\omega_p^2 &= \omega_{pe}^2 + \omega_{pi}^2 \\
\omega_{pe} &= \sqrt{\frac{4 \pi n_e e^2}{m_e}} \label{eq:electron_plasma_frequency} \\
\omega_{pi} &= \sqrt{\frac{4 \pi n_i Z^2 e^2}{m_i}} \comma
\end{align}
where $n_e$, $n_i$, $m_e$ and $m_i$ are the electron and ion density and mass respectively. $\omega_{pe}$ describes the oscillation of electrons and $\omega_{pi}$ describe the oscillation of ions. In general, it can be assumed that the ion and electron density is equal. Thus, the plasma frequency of the electrons $\omega_{pe}$ is much higher than the plasma frequency of the ions $\omega_{pi}$ due to the large mass difference. Hence, the total plasma frequency is dominated by $\omega_{pe}$.
\subsection{Particle Interactions}
\label{ssec:karl_particle_interactions}
Four different particles species can be distinguished in the simulation: electrons $\ce{e-}$, tritium ions \ce{T+}, tritium molecule ions \ce{T2+} and tritium cluster ions \ce{T3+}. Higher order cluster ions can in principle be used as well but are not used in the current version of the code because of missing cross section data. Furthermore it can be assumed from rate constant measurement, see section \ref{sec:particle_interactions_in_the_katrin_source}, that the density of higher order clusters is significantly lower than the density of \ce{T3+}. Thus the impact of these ions on the simulation results should be small.
The plasma frequency provides a limit on the frequency of light waves which can traverse the plasma. Waves with frequencies below the plasma frequency become evanescent, while waves with frequencies much greater than the plasma frequency can traverse the plasma undisturbed. Additionally, the plasma frequency can be used as a natural time scale of plasma effects which relate to electron motion.
Each of the particle species have multiple different interaction channels, see section \ref{sec:particle_interactions_in_the_katrin_source}. The specific interaction channel at each interaction point in the simulation is determined randomly, corresponding to the probability of the interaction channel. A measure for the the probability that a specific channel is chosen is given by the inverse mean free path of the channel. The higher the inverse the higher the probability of that interaction. In the code a random number $\eta$ is drawn from the interval $[0, \sum_i \sigma_i, n_i]$, where $i$ denotes the different interaction channel. A specific interaction channel $j$ is used, where
\begin{align}
\eta \geq \sum_i^j \sigma_i n_i
\end{align}
is fullfilled.
\textbf{Plasma Frequency at the \acs{katrin} experiment: }
The approximate electron density range of \SIrange{E3}{E6}{cm^{-3}} results in an electron plasma frequency of \SI{1.9E6}{\radian\per\second} and \SI{6.0E7}{\radian\per\second} respectively. Assuming the same density for the ions, the plasma frequency of ions has values of \SI{1.5E4}{\radian\per\second} and \SI{4.7E5}{\radian\per\second} respectively. The angular plasma frequency of each species is depicted in figure \ref{fig:Chapter3_Classification/TimeScales/comparison_t.pdf} in comparison with other characteristic frequencies.
It can be seen that the plasma frequency is not larger than the gyro frequency of the system. This is noteworthy because the plasma frequency, in almost all standard types of plasmas, is the highest frequency \cite{Cap.1994}. Only gas discharges show a similar behavior. However, a comparison of the \acs{katrin} plasma and gas discharges is not gainful because the charged particle density and the temperature is much smaller at the \acs{katrin} experiment. Thus, both plasmas will behave differently.
\subsubsection{Elastic Scattering}
\label{sssec:karl_elastic_scattering}
Elastic scattering is the dominant interaction channel for all particle species. In the interaction the velocity changes its direction but not its absolute value. The interaction can therefore be described by a rotation in direction of the velocity. The rotation is characterized in spherical coordinates by the azimutal angle $\theta$ and polar ange $\phi$. The angle $\theta$ is given by the differentical cross section $\frac{d\sigma}{d\theta}$. The differential cross section is dependend on the particle type and energy. Isotropic scattering is assumed for all ion interactions and for electrons below \SI{10}{eV}. The azimutal angle at higher energies is sampeled from the differential cross section using the \acs{elsepa} code \cite{Salvat.2005}. Large and small scattering angles are surpressed in this case. The polar angle is sampled from a uniform distribution in the interval $[0,2\pi)$. This represents the polar symmetry of the interaction.
\subsection{Gyro Frequency and Synchrotron radiation}
\label{ssec:gyro_frequency}
While the gyroradius describes the radius at which charged particles move around the guiding center, the non-relativistic gyro frequency describes the radial frequency of this movement. It is calculated by
\begin{equation}
\Omega = \frac{e B}{m c} \comma
\end{equation}
where $m$ is the mass of the particle and $B$ the magnetic field strength. Thus, the gyro frequency is different for electrons and ions because of their different masses.
In the code the new velocity vector is derived through the following procedure:
\begin{itemize}
\item Roll the energy of the target particle from the density field at the position of the interacting particle.
\item Convert the target particle to a velocity vector (isotropic distribution with an additive drift velocity).
\item Transform the velocity of the primary particle of to the center of mass frame.
\item Roll azimutal angle $\theta$ and roll polar angle $\phi$.
\item Rotate the primary velocity in the center of mass frame.
\item Transfrom the velocity back to the laboratory frame.
\end{itemize}
The rotation of the velocity is performed using the procedure provided by Haghighat \cite{Haghighat.2014}. The procedure is shortly summarized in the following: The inital velocity can be expressed by
\begin{align}
\vec{v} = v_x \vec{e_x} + v_y \vec{e_y} + v_z \vec{e_z} = |\vec{v}| (n_x \vec{e_x} + n_y \vec{e_y} + n_z \vec{e_z}) \fullstop
\end{align}
The unit vector $\vec{n}$ is then transformed to a new basis, where the new $z$ axis is aligned with the unit vector. The new eigenvectors are
\begin{align}
\vec{e^\prime_x} &= \vec{e^\prime_y} \times \vec{e^\prime_z} \\
\vec{e^\prime_y} &= \frac{\vec{n} \times \vec{e_z}}{|\vec{n} \times \vec{e_z}|} \\
\vec{e^\prime_z} &= \vec{n} \fullstop
\end{align}
In this new base the rotation can be performed trivially through
\begin{align}
\vec{n^\prime} = \sin \theta \cos \phi \, \vec{e^\prime_x} \sin \theta \sin \phi \, \vec{e^\prime_y} + \cos \theta \, \vec{e^\prime_z} \comma
\end{align}
where $\vec{n^\prime}$ is the rotated unit vector. The reverse basis change then results in
\begin{align}
\vec{n^\prime} = n_x^\prime \vec{e_x} + n_y^\prime \vec{e_y} + n_z^\prime \vec{e_z}
\end{align}
with
\begin{align}
n_x^\prime &= -\left(\frac{n_x n_z}{\sqrt{n_x^2 + n_y^2}} \cos \phi + \frac{n_y}{\sqrt{n_x^2 + n_y^2} \sin \phi }\right) \sin \theta + n_x \cos \theta \\
n_y^\prime &= -\left(\frac{n_y n_z}{\sqrt{n_x^2 + n_y^2}} \cos \phi - \frac{n_x}{\sqrt{n_x^2 + n_y^2} \sin \phi }\right) \sin \theta + n_y \cos \theta \\
n_z^\prime &= \sqrt{n_x^2 + n_y^2} \cos \phi \sin \theta + n_z \cos \theta \fullstop
\end{align}
The new velocity vector in the original base is finally given by
\begin{align}
\vec{v^\prime} = \vec{n^\prime} |\vec{v}| \fullstop
\end{align}
The strong magnetic field at the \acs{katrin} source forces the particles to gyrate with a very high frequency. It is therefore necessary to investigate the energy loss due to synchrotron radiation. The non-relativistic characteristic frequency $f_R$ at which the kinetic energy of a particle is reduced to a factor $\mathrm{e}^{-1}$ of its original value is given by \citep{Tamor.1988}
\begin{equation}
f_R = \frac{4 e^2 \Omega^2}{3 m c^3} = \frac{4 e^4 B^2}{3 m^3 c^4} \fullstop
\end{equation}
It is apparent that $f_R$ decreases with the mass, and is accordingly much higher for electrons than for ions.
\textbf{Gyro Frequency and Synchrotron Loss at the \acs{katrin} experiment:} Both the gyro frequency and the synchrotron loss frequency are independent of the charged particle density in the source, but solely depend on the magnetic field strength in the source. The magnetic field in the source is \SI{2.5}{T}. Thus, the gyro frequency of electrons and ions is \SI{4.4E11}{\radian\per\second} and \SI{2.7E7}{\radian\per\second} respectively. Both frequencies are high in comparison to all other frequencies in the system, see figure \ref{fig:Chapter3_Classification/TimeScales/comparison_t.pdf}. This means that the particles will perform many gyrations before all other interactions.
The position of the primary target does not change through elastic scattering. Nevertheless the guiding center of the movement changes its position in the interaction. Thus this change of the guiding center has to be reflected in the simulation. If the particles are moved by the Boris push algorithm, see section \ref{ssec:karl_particle_movement} this effect is allready included because the algorithm resolves each gyro motion of the particle. If the particle movement is desribed by the drift approximation algorithm an additional change of the guiding center has to be added. Assume that the guiding center is located at the position $\vec{x}$. The new position of the guiding center $\vec{x^\prime}$ is shifted by the length $\Delta x$ with
\begin{align}
\Delta x = 2 r_L \cos \theta \comma
\end{align}
where $r_L$ is the gyro radius and $\theta$ the scattering angle, see figure \ref{fig:Chapter4_KARL/elastic_scattering_guiding_center.pdf}. The direction of the shift is in general dependent on the polar angle $\phi$ of the gyration. It is assumed that there are many gyro motions between interactions, see section\ref{ssec:characteristic_length_comparison}. Thus the polar angle is determined randomly before the interaction from a random number $\eta \in [0,2\pi)$. The new position is then given by
\begin{align}
\vec{x^\prime} = (x + \Delta x \sin 2 \pi \eta ) \, \vec{e_x} +(y + \Delta x \cos 2 \pi \eta ) \, \vec{e_y} + z \, \vec{e_z}
\end{align}
The synchrotron loss frequency for electrons is \SI{2.4}{Hz}. It is small in comparison to the collision frequencies in the system. Thus, many interactions will have taken place in between the radiation. Hence, these losses do not play a vital role in the description of the plasma. Nevertheless, they will be modeled in the kinetic simulations presented in chapter \ref{ch:acronym}. Radiation losses have to be taken into account for the neutrino mass measurement, where small energy losses have also to be taken into account. The synchrotron loss frequency of ions is well below any other frequency and is therefore not further mentioned here.
\xfigure{h}{1.}{Chapter4_KARL/elastic_scattering_guiding_center.pdf}{Guiding center change}{}
\subsubsection{Electron Impact Ionization}
In the ionization process an electron hits a neutral gas particle and creates another electron and an ion molecule (\ce{T2+}). This ion molecule can be stable or it can disocitate spontaneously to \ce{T+}. The cross section and thershold energy depends on the type of ionization process. Janev \emph{et al.} identified three different ionization channels \cite{Janev.2003}. These channels are incorporated in the code. Kim and Rudd developed another effective model for the ionization process \cite{Kim.1994}. The created ion in this case is considered stable. This model can also be used in the code.
There is a thershold for the reaction at the ionization energy. The remaining collision energy $T$ has to be devided between both electrons. In the code the ion is assumed to have the same energy and velocity direction as the neutral gas particle, due to the large mass difference. The energy of the primary electron $E_p$ is sampled from the theoretical works of Rudd and Kim \cite{Kim.1994}. The energy of the secondary electron follows directly from the energy of the pramary and the collision energy ($E_s = T-E_p$). The scattering angles of the primary and the secondary electron are sampeled from the semi emperical studies by Grosswendt and Waibel \cite{Grosswendt.1978}. The polar angle $\phi_p$ of the primary electron is assumed to be uniformly distributed, while the polar angle of the secondary electron is given by $\phi_p - \pi$. The azimutal angle range of the primary electron is dependent on the energy. For small energies ($<\SI{100}{eV}$) it can be assumed that the angle is uniformly distributed between $0$ and $\pi / 4$. Similarly the azimutal angle range of the secondary is dependent on the energy. For small energies ($<\SI{50}{eV}$) it can be assumed that the angle is uniformly distributed between $0$ and $\pi$.
\subsubsection{Electron Impact Excitation}
Electrons can among others excite electrons of neutral gas particles, vibrational and rotational states of the gas, see section \ref{sec:particle_interactions_in_the_katrin_source}. The excitation depends on the inital state of the neutral gas molecule. In the code different excitation states differ in their cross section and the energy loss. It can be destinguished between
\begin{itemize}
\item the \num{15} excitation channels of electronic excitation measured by Janev \emph{et al.} \cite{Janev.2003}.
\item the experimental cross section of electronic excitation measured by Yoon \emph{et al.} \cite{Yoon.2008}
\item the first two vibrational excitations measured by Janev \emph{et al.} \cite{Janev.2003}.
\item the experimental cross section of vibrational excitation measured by Yoon \emph{et al.} \cite{Yoon.2008}
\item the first rotational excitation excitation measurey by Janev \emph{et al.} \cite{Janev.2003}
\end{itemize}
The interaction process itself is reduced to an energy loss of the electron. The motion of direction is assumed to stay constant.
\subsubsection{Recombination}
Recombination processes between ions and electrons need special treatment in the code. The particles interacted, in all processes before, with the neutral gas particles. The reservoir of neutral particles is considerd to be infinite, such that the interactions of electrons and ions with the gas do not change the gas flow and its properties. This is no longer valid for recombination. Each time an electron recombines not only the electron density needs to be reduced but also the ion density. Thus each event in the Monte Carlo algorithm is no longer independend from the others. Direct interactions of the particles is not possible in a Monte Carlo algorithm. In \acs{karl} this discrepancy is resolved through the density fields presented in section \ref{ssec:karl_density_fields}. Each time an electron recombines with an ion, the electron is deleted from the particle queue and a special counter in the corresponding ion bin is increased. The corresponding bin is sampeled from the density distribution of the ion. Thus the electron can no longer travel the source and can no longer contribute to the density. The ion density is reduced by the counter. In total both species have reduced densities without direct interaction. The same procedure is applied, when the primary particle is the ion. In this case the ion will be deleted and the corresponding counter of the electron is increased. In the limit of many interactions both electron recombinations and ion recombination will show the same total number of recombinations.
In the code only \ce{T2+} and \ce{T3+} ions recombine, while \ce{T+} ions do not due to the small cross section. The cross section of \ce{T2+} and \ce{T3+} ions is evaluated from the formula provided by Janev \emph{et al.} \cite{Janev.2003}.
\subsubsection{Ion Cluster Formation}
Ions can form clusters through attachement of molecules to the existing ion, see section \ref{sec:particle_interactions_in_the_katrin_source}. The cross section of the interaction depends on the inital cluster size. In the code three different cluster sizes are distinguished: \ce{T+}, \ce{T2+} and \ce{T3+}. Higher order clusters are neglected here, due to their predicted low density and missing cross section data for fragmentation processes.
In the code the cross section for \ce{T+} ions is cacluated from rate coefficient measurement of radiative and ternary association \cite{Plasil.2012}. The new \ce{T3+} ion of this reaction is initalized with the same velocity and position as the inital \ce{T+} ion, due to missing information on the differential cross section.
\ce{T2+} ions show a large cross section for cluster formation, see section \ref{sec:particle_interactions_in_the_katrin_source}. The cross section of the reaction is taken from the works of Janev \emph{et al.}. Again the volocity and position of the new ion is initialized from the velocity and position of the initial \ce{T2+} ions, due to missing information on the differential cross section.
\subsubsection{Ion Charge Transfer}
Ion molecules (\ce{T2+}) do not scatter elastically from neutral gas but take part in charge transfer reaction, see section \ref{sec:particle_interactions_in_the_katrin_source}. One electron of the target neutral gas molecule is transfered to the ion. Thus a new ion is created. The cross section of this reaction is given by Janev \emph{et al.} \cite{Janev.2003}. The velocity direction of the new ion is calculated from the velocity of the inital ion, the scattering angles $\phi$ and $\theta$ and the velocity of the target molecule, see section \ref{sssec:karl_elastic_scattering}. The angles are sampeled from the intervals $\phi \in [0,2\pi)$ and $\theta \in [0, \pi)$. The velocity of the target molecule is sampeled from the velocity distribution of the neutral gas particles. Thus the ion charge transfer reaction is similar to elastic scattering of the other ion species.
\newpage
\section{Electromagnetic Field-Free Simulation}
\label{sec:karl:field_free_simulation}
\xfigure{h}{1.}{Chapter4_KARL/ZeroElectricFieldCase/density.pdf}{Density distribution}{}
\xfigure{h}{1.}{Chapter4_KARL/ZeroElectricFieldCase/current.pdf}{current distribution}{}
\xfigure{h}{1.}{Chapter4_KARL/ZeroElectricFieldCase/energy_density.pdf}{Energy density distribution}{}
\xfigure{h}{1.}{Chapter4_KARL/ZeroElectricFieldCase/density_vs_z.pdf}{Density in z}{}
\subsection{Poisson Solver}
\label{ssec:karl:poisson_solver}
The density data of the \acs{karl} simulation can be used to solve for the electrostatic potential $U$ in the source through the Poisson equation (cgs)
\begin{equation}
\nabla^2 U = - 4 \pi \rho \fullstop
\label{eq:karl:poisson_equation}
\end{equation}
The charge density $\rho$ is directly calculated from the number densities
\begin{equation}
\rho = e\cdot (n_i - n_e) \fullstop
\end{equation}
It is assumed that the potential has an azimutal symmetry. The Poisson equation in cylinder coordinates then reads as
\begin{equation}
\frac{1}{r} \frac{\partial U}{\partial r} + \frac{\partial^2 U}{\partial r^2} + \frac{\partial^2 U}{\partial r^2} = -4 \pi \rho \fullstop
\end{equation}
This equation can be used for all cases, where the radius is non zero. In the limit of zero radius the first summand reads
\begin{equation}
\lim_{r\to 0} \frac{1}{r} \frac{\partial U}{\partial r} = \frac{\partial^2 U}{\partial r^2} \comma
\end{equation}
through the use of L'Hôpital's rule \todo{cite paper}.
The \acs{karl} simulation provides the density at discrete bins. In the following it is assumed that the density of these bins is located in the center of the bins, see figure \todo{figure}. So the Poisson equation has to be transformed into discrete corrdinates
\begin{eqnarray}
r &= i \Delta r \comma \\
z &= j \Delta z \comma
\end{eqnarray}
with the step size $\Delta r$ and $\Delta z$ in radial and longitudinal direction.
\xfigure{h}{1.}{Chapter4_KARL/PoissonSolver/coordinates_poisson_solver.pdf}{Indexing of Discrete Values}{}
The method of central differences is used for both cases from above. The potential can then be expressed through the iterative approach
\begin{eqnarray}
U_{i,j} =& \frac{
4 \pi \rho_{i,j}
+ \frac{U_{i+1,j}}{\Delta r^2} \left( 1 + \frac{1}{2i} \right)
+ \frac{U_{i-1,j}}{\Delta r^2} \left( 1 - \frac{1}{2i} \right)
+ \frac{1}{\Delta z^2} \left( U_{i,j-1} - U_{i,j+1}\right)
}{\frac{2}{\Delta r^2} + \frac{2}{\Delta z^2}} \comma
\label{eq:karl:poisson_solver_r}
\\
U_{0,j} =& \frac{
4 \pi \rho_{0,j}
+ \frac{4}{\Delta r^2} U_{1,j}
+ \frac{1}{\Delta z^2} \left( U_{0,j-1} + U_{0,j+1}\right)
}{\frac{4}{\Delta r^2} + \frac{2}{\Delta z^2}} \fullstop
\label{eq:karl:poisson_solver_r0}
\end{eqnarray}
The solution of this iterative approach needs boundary conditions. Two major conditions are used here: the Dirichlet boundary and the Neumann boundary \todo{citation}. The Dirichlet boundary is used, when the potential at specific points are known. In the following it is assumed that the potential of the source tube is set to zero and the potential of the rear wall has an distinct value position independend value $U_{\text{rw}}$. The Neumann boundary is used, when the first derivative of the potential is known, namely the electric field. The electric field is in general not known for the source tube. Nevertheless it can be assumed that the electric field at large distances from the source is zero. Thus this boundary is used at the \acs{dps} boundary.
Equations \ref{eq:karl:poisson_solver_r} and \ref{eq:karl:poisson_solver_r0} describe the potential at positions $i,j$ in dependence of the neighboring field values and the density. Thus for the final solution an iterative approach is used to determine the potential values from a given density input. The approach is summarized by the following steps
\begin{enumerate}
\item Initiate the potential to zero.
\item Set the corresponding values of the Dirichlet boundary condition to the specified values.
\item Loop over all possible inner potential values and determine their values through equations \ref{eq:karl:poisson_solver_r} and \ref{eq:karl:poisson_solver_r0}.
\item Redo step 3 a specified number of times.
\item Determine the difference between of the calculated potential with the density through equation~\ref{eq:karl:poisson_equation} for all positions.
\item If the sum of the absolute differences is below a certain threshold return the calculated potential array. Otherwise go to step 3.
\end{enumerate}
The value density of the \acs{karl} simulation is assumed to be known at the center of the bins. The potential values of the rear wall and the tube wall is given at the corners of the bins. For simplicity of the algorithm it was decided to extrapolate the denisty to the bin corners.
For the density at the bins corners $(i,j)$, which are surrounded by four cells, was calculated through the mean of the surrounding cells $(i^\prime,j^\prime)$. The density at the corners with $i = 0$ was calculated from the mean of the two adjacent bins. The density at the boundaries of the simulation domain was set to the mean of the two surrounding bins.
The potential of this poisson solver provides a first insight in the potential in the source from the \acs{karl} simulation without the need of the \acs{acronym} simulations. Nevertheless the particle densities of electrons and ions differ greatly. This produces a large electric field, which will influence the particle motion of the \acs{karl} simulation. To avoid the computation intensive \acs{acronym} simulation it was decided to use the potential of a previous \acs{karl} simulation as an input of another \acs{karl} simulation. Nevertheless the \acs{karl} simulation only takes the electric field as an input. Thus the electric field was calculated from the potential in a post processing step. The radial and longitudinal electric field are calculated at different positions $(i,j)$, see \ref{fig:Chapter4_KARL/PoissonSolver/coordinates_poisson_solver.pdf}, to simplify the calculation. These field values are then extrapolated onto the position $(i^\prime,j^\prime)$ in the center of the bins. The extrapolation provides directly the eletric field, which can be used an an input for the \acs{karl} simulation. Nevertheless it introduces an error because the field is not calculated using Maxwell's equations. In the following this error is ignored. Later on the \acs{acronym} simulation will provide a more precise calculation of the field.
\subsection{Collision Rate}
\label{ssec:collision_rate}
The collision rate $\nu$, also named collision frequency, describes the mean time between two collisions of a particle in a cloud of other particles. It can be directly derived from the mean velocity of a particle $\bar{v}$ and the mean free path $\lambda$
\begin{equation}
\nu = \frac{\bar{v}}{\lambda} = \bar{v} \sigma n \fullstop
\end{equation}
The mean velocity of a thermal particle is calculated from the standard Boltzmann statistics.
%\subsection{Energy Density Distribution of Electrons}
\textbf{Collision Frequency at the \acs{katrin} experiment: }
The collision frequency is dependent on the density and the energy of the particles. Due to the extreme amount of parameters, only the collision rate of the elastic scattering with neutral gas, recombination and Coulomb interactions of electrons will be presented here. In contrast to the mean free path, the collision rate increases directly with the velocity of the incoming particle. Here, only thermal velocities of ions and electrons are used to reduce the number of parameters.
%\subsection{Current Density Distribution of Ions}
\newpage
\section{Conclusion}
The electron density is not constant in the source ($n_e \approx $ \SIrange{E3}{E6}{cm^{-3}}). The neutral particle density also varies over the length of the source from \SI{E12}{cm^{-3}} at the rear wall to \SI{1E15}{cm^{-3}} in the center of the source, see section \ref{sssec:density_distribution}. Thus, the collision frequency will show significantly different values depending on the position in the source. The position at the rear wall and in the center of the source will be used in the following to provide upper and lower limits on the collision frequency. The corresponding values are depicted in figure \ref{fig:Chapter3_Classification/LengthScales/comparison_l.pdf} alongside other characteristic time scales.
The collision frequency of elastic scattering with neutral gas in the center of the source is approximately \SI{E6}{Hz}, see figure \ref{fig:Chapter3_Classification/TimeScales/comparison_t.pdf}. This value is similar for electrons and ions, despite the large difference of the cross section. This is caused by the large velocity difference between the two species. It can be observed that the elastic collision frequency is below the plasma frequency. Nevertheless, it cannot be concluded from this fact that collisions do not have an influence on the development of plasma modes. The interplay of collisions, electromagnetic fields and particle motion is too extensive for this conclusion.
The collision frequency of elastic scattering with neutral gas in front of the rear wall is approximately \SI{E3}{Hz}, see figure \ref{fig:Chapter3_Classification/TimeScales/comparison_t.pdf}. Again, this value is similar for electrons and ions. The elastic collision frequency does not provide any more insight, despite that it is higher than the synchrotron loss frequency. Hence, synchrotron losses do not play a role in the description of the plasma in this low neutral density section of the source.
The elastic collision rate is lower than the gyro frequency of the corresponding species. Therefore, the particles will perform multiple gyro motions until they interact through collision. The collision rate is at least three orders of magnitude greater than the collision rate of Coulomb interaction and recombination. Thus, elastic scattering is the dominant effect over the others.
\subsection{Summary}
\label{ssec:comparison_time_scales}
In the previous sections the plasma frequency, the gyro frequency, the synchrotron losses, and the collision rate were discussed. Each parameter was described individually and key differences to the other parameters were provided. In this section, the focus lies on the overall conclusion of all parameters. The parameters are depicted in figure \ref{fig:Chapter3_Classification/TimeScales/comparison_t.pdf} in dependence to the electron density due to the a priori unknown density distribution of the electrons inside the source.
In contrast to the length scales, the time scales cannot be used directly to determine if the particles have to be treated as a plasma. Nevertheless, the time scales can provide an insight into the characteristics of the plasma.
\begin{itemize}
\item $\nu_{eT_2} \gg \nu_{ee}$ : Direct electron interactions play only a secondary role. A diffusion ansatz is not viable here.
\item $\nu_{eT_2} \gg \nu_{\text{rec}}$ : Recombination is only a secondary effect in the source.
\item $f_R \ll \nu_{eT_2}$ : Cyclotron radiation can be neglected for the description of electrons in the source. This is also true for ions.
\end{itemize}
The survey of the time scales can provide a limit on relevant effects which influence the plasma through their temporal evolution. These effects have to have frequencies which are similar to the frequency of the influenced particle. For example, if the temperature of the beam tube would change at a frequency of \SI{1}{Hz}, it would not influence the plasma by its temporal evolution but through its value. In this case, the temperature can be assumed to be constant for all plasma related effects.
\FloatBarrier
% \section{Plasma Waves}
% \begin{itemize}
% \item vlt auch 'Oscillations in Plasmas'
% \item Einführung in verschiedenen Wellenphänomene im Plasma
% \item Dispersion Relation, Longitudinal, Transversal
% \end{itemize}
% \subsection{Electrostatic}
% \begin{itemize}
% \item List of phenomena, broad discription, conditions
% \end{itemize}
% \subsection{Electromagnetic}
% \begin{itemize}
% \item List of phenomena, broard discription, conditions
% \end{itemize}
\section{Plasma Models}
\label{sec:plasma_models}
In general, it is not possible to solve all equations of movement directly for all particles in a plasma, because of the large number of particles and the unknown starting conditions. Additionally, if the density of particles is large enough, direct particle interactions will need to be taken into account. Thus, statistical methods need to be employed \citep{Cap.1994}.
In general, the evolution of a plasma system (and all its particles) can be described by the Liouville distribution function together with the Liouville equation, which follows from Liouville's theorem. In this ansatz, each single distinguishable particle is described in relation to all other particles. The interested reader is referred to \citep{Cap.1994} for an in depth description. However, solving the Liouville equation is impractical due to the vast amount of necessary parameters \citep{kegel.2013}. Thus, it is beneficial to relinquish the distinctness of the particles and to define the reduced Boltzmann distribution function $f_i(\vec{x},\vec{v},t)$ for the particle species $i$, with the position $\vec{x}$ and velocity $\vec{v}$. In practical terms, it describes the probability $\mathrm{d}N$ to find a particle in the volume element $\mathrm{d}^3 x$ around the position $\vec{x}$, and in the velocity interval $\mathrm{d}^3 v$ around the velocity $\vec{v}$ through \citep{Stroth.2011}
\begin{equation}
\mathrm{d}N_i = f_i(\vec{x}, \vec{v})\mathrm{d}^3x \mathrm{d}^3v \fullstop
\end{equation}
The temporal evolution of $f_i$ can be described by the Boltzmann equation, written as
\begin{equation}
\frac{\partial f_i}{\partial t} + \frac{\vec{p_i}}{m_i} \cdot \nabla f_i + \vec{F} \cdot \frac{\partial f_i}{\partial \vec{p_i}} = \left(\frac{\partial f_i}{\partial t}\right)_\text{coll.} \comma \label{eq:boltzmann_equation}
\end{equation}
with the momentum $\vec{p}_i$, mass $m_i$ and the force $\vec{F}$ acting on the particles. Direct collisions between the particle species are moderated by the collision term at the right-hand side. Its form depends on the specific assumptions about collisions in the system. Assuming only two-body collisions, with short interaction range of two plasma particles with no prior correlation and forces between particles, which only depend on the distance between the particles, and external forces, which can be neglected during the collision process \citep{Cap.1994}, the collision term can be written as the Boltzmann collision integral
\begin{equation}
\left(\frac{\partial f}{\partial t}\right)_\text{coll.} = \sum_{j=1}^n \iint g_{ij} I_{ij}(g_{ij},\Omega) [f^\prime_i f^\prime_j - f_i f_j]\mathrm{d}\Omega \mathrm{d}^3 \vec{p}^\prime
\end{equation}
with distribution functions $f$ before the collision and $f^\prime$ after the collision, $g_{ij}$ the magnitude of the relative momenta for the two interacting particles, $I_{ij}(g_{ij},\Omega)$ the differential cross section and $\Omega$ the solid angle \cite{Lerner.1991}.
\textbf{Boltzmann equation at the \acs{katrin} experiment:}
The force $\vec{F}$, in equation~\ref{eq:boltzmann_equation}, comprises all forces acting on the particles. In the case of the \acs{katrin} plasma, gravitational forces can be neglected, and the force is given by the Coulomb force $\vec{F}_c(E,B)$. The magnetic and electric fields are determined by the particle motion through Maxwell's equations. Thus, the field in the source can be determined by solving the Boltzmann equation in conjunction with Maxwell's equations.
As mentioned before, the solution of the Boltzmann equation depends on the specific assumption for the plasma particles, especially their behavior in collisions. The \acs{katrin} plasma has the peculiar property that electron interactions are frequent enough that they cannot be neglected, but collisions are too infrequent that the plasma cannot be described through a diffusion ansatz, see section \ref{sec:length_scales}. Additionally, the collision properties vary over the length of the beam tube, as does the density of the neutral particles.
In a previous attempt to calculate the potential in the source by \citet{PhDKuckert2016}, it was assumed that collisions with the neutral gas are so frequent that electrons and ions can be treated as a diffusive fluid for the central part of the source. The underlying model is shown with a short insight into the results in section \ref{ssec:drift_diffusion_model}.
The approach of Kuckert overestimated the collisions of the electrons in the center of the source, but it is not valid in the region close to the rear wall. There is no conclusive theory available, if the description of the plasma in the central region can be decoupled from the description of the plasma close to the rear wall. Thus, in the context of this thesis, a new approach is developed where the electrons are treated partly collisional and partly non-collisional over the whole length of the beam tube. The resulting model and simulation strategy is shown in section~\ref{ssec:scope_of_this_thesis}
\subsection{Drift-Diffusion Model}
\label{ssec:drift_diffusion_model}
\xfigure{tb}{1.0}{Chapter3_Classification/PlasmaModels/laura_potential.pdf}{Potential map of Drift-Diffusion Model.}{Simulated using the software framework COMSOL in the center of the source (only the central \SI{10}{m}). Figure taken from \cite{PhDKuckert2016}.}
In a previous work, \citet{PhDKuckert2016} assumed that electrons and ions in the source can be described as a diffusive fluid, and that the velocity distributions of electrons and ions follow the Maxwell-Boltzmann distribution. Thus, the distribution function of each species $i$ can be described by its temperature $T$ and its density $n_i(\vec{x})$. The zeroth moment of the Boltzmann equation, the species continuity equation, then reads
\begin{equation}
\frac{\partial n_i}{\partial t} + \nabla \Gamma_i - R_i = 0 \comma
\end{equation}
where $\Gamma_i$ is the particle flux density and $R_i$ the chemical production of the species $i$. The chemical production is evaluated via the Boltzmann collision integral. In the case of thermal particles, the integral can be calculated, resulting in a convolution of the cross section with the Maxwell-Boltzmann distribution. In contrast, \citeauthor{PhDKuckert2016} derived the production coefficient $R$ not through integration but through an evaluation of rate equations of electron, ion and neutral particle interactions from literature.
The particle flux density is linked to the electric potential $U$ through Poisson's equation and the current continuity equation. The electron flux density is modeled by \citeauthor{PhDKuckert2016} using the drift-diffusion approximation with the electron mobility $\mu_e$ and the diffusion constant $D_e$:
\begin{equation}
\Gamma_e = - D_e \nabla n_e - \mu_e n_e \left(\nabla U - \frac{k_B}{e} \nabla T_e \right)
\end{equation}
This means that the flux can be solely described by the diffusion of the electron density, the thermal flux and a collective movement of electrons in an electric potential. \citeauthor{PhDKuckert2016} assumed that the diffusion coefficient follows the classical diffusion, described in \cite{Dendy.1996}, and that the mobility can be evaluated though the Einstein relation \cite{Lerner.1991}.
\citeauthor{PhDKuckert2016} used the software framework COMSOL to obtain solutions for the coupled differential equations. The software uses the finite element method to solve the underlying equations. \citeauthor{PhDKuckert2016} assumed that there exists a time independent solution, such that after a long time the densities and currents of the particles reach a steady state.
The simulated geometry of \citeauthor{PhDKuckert2016} was assumed to be a cylinder with a length of \SI{10}{m} and a radius of \SI{4.5}{cm}. This corresponds to the central tube of the \acs{wgts}. The boundaries were chosen such that the cylinder walls and the left end cap absorb all incoming charged particles. The right end cap was assumed to reflect electrons, whereas ions are absorbed. The electric potential of the tube wall and the right cap was set to zero, while the potential of the left cap could be adjusted to represent the potential of the rear wall.
An exemplary potential map of \citeauthor{PhDKuckert2016} can be found in figure \ref{fig:Chapter3_Classification/PlasmaModels/laura_potential.pdf}. Here the temperature of the particles was set to \SI{30}{K}, the density of neutral particles was set to \SI{8E20}{cm^{-3}} and the rear wall potential was set to zero. It was found that the electron density reaches a maximum value of approximately \SI{3E6}{cm^{-3}} and the potential reaches values of up to \SI{12}{mV}. The density as well as the potential show a strong dependence along the length of the tube. In radial direction, the potential increases from half its maximum value to its maximum and then drops to zero at the last few millimeters.
\citeauthor{PhDKuckert2016} investigated the properties of the potential in dependence on the column density, the temperature of the electrons, the magnetic field and the rate coefficient of ion and electron recombination. It was found that the potential distribution does not change significantly through a variation of these parameters. For an elaborate description, refer to \citep{PhDKuckert2016}.
A comparison between measurements and predictions of the simulations reveals that there are significant discrepancies between both. A full comparison exceeds the context of this thesis. Therefore, two easy comprehensive differences will be highlighted in the following. First, particle current measurements show, that there is a non-negligible current towards the beam tube walls, see section~\ref{ssec:rearwall_current_measurement}. This current was not described in the work of \citeauthor{PhDKuckert2016}, but is a key characteristic of the source. Second, the Pro Katrin measurements reveal, that there are rear wall potential values, where the plasma potential follows the change of the rear wall potential. However, also a region with no significant influence of the rear wall potential, and a region with reduced influence was found, see section~\ref{ssec:pro_katrin_measurements}. While \citeauthor{PhDKuckert2016} estimated that the plasma potential follows the rear wall potential, the reduced and non-existing dependency of both potentials were not predicted \citep{PhDFriedel2020}. In summary, the model of \citeauthor{PhDKuckert2016} fails to predict key measurement observables, and is inconsistent in its predictions. Thus, the applicability of the model is unclear, and a new complete model is desired. The groundwork for the model of this thesis is described in the following.
\subsection{Partly Collisional Vlasov Model}
\label{ssec:scope_of_this_thesis}
\paragraph{Non-Collisional Vlasov Model}
Assume that there are no collisions in the plasma. This means that the collision term of the Boltzmann equation (equation~\ref{eq:boltzmann_equation}) is set to zero. The resulting equation is called Vlasov equation and reads as
\begin{equation}
\frac{\partial f_i}{\partial t} + \frac{\vec{p_i}}{m_i} \cdot \nabla f_i + \vec{F} \cdot \frac{\partial f_i}{\partial \vec{p_i}} = 0 \fullstop \label{eq:vlasov_equation}
\end{equation}
It follows that the distribution of two particle species is only linked via the Coulomb force $\vec{F}$ acting on the particles. The Coulomb force is calculated from the electromagnetic fields. These fields are calculated using Maxwell's equations, which in turn are affected by the charged particle current $j$. The current can be split into a contribution of electrons $j_e$ and a contribution of ions $j_i$. Thus, the distribution of the electrons is dependent on the ion current and vise versa.
Electron and ion currents show different temporal characteristic because of the large mass difference. The electron current changes much faster than the ion current. When considering the electron movement on small time scales, the ion current can be assumed to be constant. The resulting electric field from the electron movement then influences the ion movement and thus changing the ion current on a large time scale. In the end, this influences the electron movement and the cycle starts again.
The large difference of time scales makes a simulation of both particle species at the same time unfeasible. A possible ansatz for the simulation can be an iterative approach, where the electron movement is simulated with a fixed ion current alternating with a simulation of the ion movement in a mean electric field. After a number of cycles, it is assumed that the resulting distribution functions reach a steady state. The result of such a simulation is of course dependent on the initial distributions.
\paragraph{Partly Collisional Model}
Now consider that there are collisions. In the \acs{katrin} source, the collisionality is different for electrons and ions, see section~\ref{ssec:mean_free_path}. For electrons, collisions occur on larger length scales than the Debye length, with an increasing mean free path from the center towards the ends of the source. For ions, collisions occur on a smaller length scale than the Debye length in the center of the \acs{wgts}, whereas they take place at larger length scales at the sides of the source.
Thus, both electrons and ions can be treated as collisionless close to the rear wall. It is viable to use a Vlasov model here. In contrast, electrons and ions can be considered at least partly collisional in the center of the source. The movement of electrons and ions is influenced by collisions, but it is not fully dominated by them.
In the scope of this thesis, it is assumed that the electric fields are manly moderated by electrons while ions only contribute by their constant current because of the large mass difference. Hence, the plasma physics of electrons can be simulated separately from the atom physics of ions and electrons. An iterative ansatz is proposed, also depicted in figure~\ref{fig:Chapter3_Classification/Scope/simulation_strategy_2.png}. First, the electron and ion distributions are evaluated in a constant electric field, while taking collisions with neutral gas into account. Second, the resulting particle currents and distributions are used to calculate the temporal evolution of the electromagnetic fields moderated by the electrons. These fields are then used as an input for the evaluation of the electron and ion distributions, and the iterative cycle starts.
\xfigure{tb}{0.50}{Chapter3_Classification/Scope/simulation_strategy_2.png}{Iterative simulation strategy of this thesis.}{Particle densities and particle currents are simulated in \acs{karl}, and used as an input for kinetic simulations of the electrons in \acs{acronym}. The resulting electromagnetic fields are used as an input for the Monte Carlo simulations.}
The simulation of the ions and electrons in a stationary electric field with particle collisions is performed with a newly developed simulation tool, called \acs{karl}. This tool utilizes a Monte Carlo approach of particle generation, movement and collisions within self generated particle densities. For more information on \acs{karl} refer to chapter~\ref{ch:karl}.
The determination of the electron distribution functions and the electromagnetic fields is simulated using the well tested \acs{acronym} code \cite{Kilian.2012}, see also chapter~\ref{ch:acronym} for more information. In \acs{acronym}, the Vlasov equation is solved numerically, using the particle-in-cell method.
% \newpage
% \paragraph{Scope of this Thesis}
% In the scope of this thesis, two major tasks needed to be accomplished. First, the simulation tool \acs{karl} needed to be designed and tested. The necessary tasks can be summarized by the following list:
% \begin{itemize}
% \item develop a simulation strategy for the Monte Carlo approach, including interactions of electrons and ions
% \item determine the relevant interactions of electrons and ions in the \acs{katrin} source
% \item incorporate electromagnetic fields from the \acs{acronym} simulation in the particle movement
% \item provide a suitable output of the particle currents and particle distributions
% \item find suitable tests to ensure the correctness of the simulation
% \end{itemize}
% Secondly, the algorithms of \acs{acronym} needed to be adapted to incorporate also the specific conditions of the \acs{katrin} source. The necessary tasks can summarized by the following list:
% \begin{itemize}
% \item include circular boundary conditions for particle movement and electromagnetic field calculations to represent the \acs{katrin} geometry
% \item include position dependent background electric fields representing surface potentials and charging of the rear wall
% \item include position dependent background ion currents
% \item include a space dependent initial arbitrary energy density distribution of electrons
% \item include electron generation through beta decay and ionization representing generation of electrons during the simulated time
% \item include particle injection at the simulation boundaries
% \item find suitable tests to ensure the correctness of the simulation
% \end{itemize}
%\section{Plasma Instabilities}
% \xfigure{h}{0.5}{Chapter3_Classification/Instabilities/stable_instable.png}{Stable and instable distributions}{}
%\begin{itemize}
% \item distinction to oscillations
% \item growth rate
%\end{itemize}
%\subsection{Penrose Criterium}
% \begin{itemize}
% \item df/dE > 0
% \end{itemize}