Minor changes, finalizing for submission.

This commit is contained in:
Jonas Kellerer
2020-02-10 14:44:41 +01:00
parent 04f6d970eb
commit 986844dd99
2 changed files with 69 additions and 54 deletions
@@ -113,7 +113,7 @@ The electric potential generated by the plasma leads to a change in the electron
%\textit{(about 1 to 2 pages)}
The physical situation of the WGTS inside the KATRIN experiment is rather intricate: Tritium gas is injected, various pumping mechanisms lead to a strongly inhomogeneous gas density \cite{Priester2015}. The tritium gas then emits primary electrons that will initiate a cascade of electrons through ionization and other atomic and molecular processes. A strong magnetic field \cite{Arenz_2018} will guide the electrons through the WGTS and different materials used in the WGTS will produce a contact potential and subsequently an electric field \cite{Schoenung2016_1000056077}. In various projects these effects have been researched before as will be described below. Additionally a fluid description of the plasma has been tried \cite{Kuckert2016_1000065077}.
The physical situation of the WGTS inside the KATRIN experiment is rather intricate: Tritium gas is injected and various pumping mechanisms lead to a strongly inhomogeneous gas density \cite{Priester2015}. The tritium gas then emits primary electrons that will initiate a cascade of electrons through ionization and other atomic and molecular processes. A strong magnetic field \cite{Arenz_2018} will guide the electrons through the WGTS and different materials used in the WGTS will produce a contact potential and subsequently an electric field \cite{Schoenung2016_1000056077}. In various projects these effects have been researched before as will be described below. Additionally a fluid description of the plasma has been tried \cite{Kuckert2016_1000065077}.
@@ -121,17 +121,20 @@ The physical situation of the WGTS inside the KATRIN experiment is rather intric
\subsection{Neutral gas flow}
Tritium gas is injected in the center of the WGTS and flows to both sides (rear wall and detector), where the gas is pumped off \cite{Grohmann2008}. The general geometry is given in Fig. \ref{fig:wgts_aufbau}. The gas density is dropping off to the ends of the WGTS. Especially behind the pump ports the density is decreasing by orders of magnitude. The collisionality of the gas flow decreases along with the gas density, as a consequence the physical description changes over the length of the WGTS.
Tritium gas is injected in the center of the WGTS and flows to both sides (rear wall and detector), where the gas is pumped off \cite{Grohmann2008}. The general geometry is given in Fig. \ref{fig:wgts_aufbau}. The gas density is dropping off to the ends of the WGTS. Especially behind the pump ports the density is decreasing by orders of magnitude. The collisionality of the gas flow decreases along with the gas density. As a consequence the physical description changes over the length of the WGTS.
\begin{figure}[!htb]
\centering
\begin{minipage}{.5\textwidth}
\begin{minipage}{.48\textwidth}
\centering
\includegraphics[width=\textwidth]{Figures/WGTS_aufbau.png}
\caption{Sketch of the WGTS as given by \cite{Sharipov200973}}
\includegraphics[width=\textwidth]{Figures/WGTS_aufbau3.png}
\caption{Sketch of the WGTS, adapted from \cite{KATRINCollaboration2005}}
\label{fig:wgts_aufbau}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
\begin{minipage}{0.02\textwidth}
\hspace{0.02\textwidth}
\end{minipage}
\begin{minipage}{0.48\textwidth}
\centering
\includegraphics[width=\textwidth]{Figures/dichte}
\caption{Tritium density along the axis of the WGTS according to \cite{KUCKERT2018195}}
@@ -142,19 +145,22 @@ Tritium gas is injected in the center of the WGTS and flows to both sides (rear
\begin{figure}[!htb]
\centering
\begin{minipage}{.5\textwidth}
\begin{minipage}{.48\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{Figures/source_velocity_T2.png}
\caption{Speed of molecular tritium T$_2$ according to \cite{KUCKERT2018195}}
\label{fig:gas_velocity}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
\begin{minipage}{0.02\textwidth}
\hspace{0.02\textwidth}
\end{minipage}
\begin{minipage}{0.48\textwidth}
Gas flow simulations have been undertaken by \cite{KUCKERT2018195} and \cite{Sharipov200973}. The main result is presented in Fig. \ref{fig:gas_velocity}. The tritium flow has an average thermal speed of \SI{250}{\metre\per\second}
\begin{align}
To calculate the primary electron spectrum detailed flow speeds are required. Gas flow simulations have been undertaken by \cite{KUCKERT2018195} and \cite{Sharipov200973}. The main result is presented in Fig. \ref{fig:gas_velocity}, providing the drift velocity of the gas. The average thermal speed of the gas is calculated to \SI{250}{\metre\per\second} by
\begin{align*}
v = \left(\frac{2\cdot E_{\text{temp}}}{m_{T2}}\right)
\end{align}
The detailed flow speeds are required to calculate the primary electron spectrum. Further research has to be done for the flow between the pump ports and the rear wall.
\end{align*}
Further research has to be done for the flow between the pump ports and the rear wall.
\end{minipage}
\end{figure}
@@ -173,9 +179,9 @@ The detailed flow speeds are required to calculate the primary electron spectrum
%%TODO JK: Referenz auf Ferenc' Monte Carlo Paper einfügen.
%% ich kenne nur dieses eine, die du auch drinnen hast "ferenc2005", ich habe mal der Rest dazu ergänzt.
The primary electrons alone are not sufficient to maintain the plasma condition within the WGTS, the emission of secondary electrons is the source of the majority of electrons. Within the source electrons and tritium interact via various processes - including but not limited to ionization, recombination and elastic scattering.
The primary electrons from $\beta$-decay alone are not sufficient to maintain the plasma condition within the WGTS. The emission of secondary electrons is the source of the majority of electrons. Within the source electrons and tritium gas interact via various processes - including but not limited to ionization, recombination and elastic scattering.
Using a Monte Carlo simulation \cite{ferenc2005} the spectrum of electrons could be deduced, but only an average over the whole source. In the course of this project a new Monte Carlo code \emph{KARL} has been developed \cite{reiling}. This new code allows for the calculation of the spectra of all particles within the source at every position and all currents related to those particles (shown for electrons in Fig. \ref{fig:karl_result}).
Using a Monte Carlo simulation \cite{ferenc2005} the spectrum of electrons could be deduced, but only as an average over the whole source. In the course of this project a new Monte Carlo code \emph{KARL} has been developed \cite{reiling}. This new code allows for the calculation of the spectra of all particles within the source at every position and all currents related to those particles (shown for electrons in Fig. \ref{fig:karl_result}).
\begin{figure}
\begin{center}
@@ -198,13 +204,13 @@ The KARL code also offers the possibility to connect simulations with observatio
\begin{floatingfigure}[l]{0.5\textwidth}
\begin{center}
\pgfimage[width=0.4\textwidth]{Figures/kuckert}
\caption{Plasma potential in the WGTS. From \cite{KUCKERT2018195}}
\caption{Plasma potential in the center of the WGTS. From \cite{KUCKERT2018195}}
\label{fig:kuckert}
\end{center}
\end{floatingfigure}
A recent approach to the plasma problem inside the WGTS was a fluid model assuming that a drift-diffusion-equation for the electrons. In \cite{KUCKERT2018195} a numerical steady-state solution has been implemented. This model is able to calculate the plasma potential for a given voltage at the rear wall. The input parameters for this model are the fluid velocities and densities (and subsequently the density of electrons). Also the mobility of tritium ions has to be inferred.
A recent approach to the plasma problem inside the WGTS was a fluid model assuming drift-diffusion for the electrons. In \cite{KUCKERT2018195} a numerical steady-state solution has been implemented. This model is able to calculate the plasma potential for a given voltage at the rear wall. The input parameters for this model are the fluid velocities and densities (and subsequently the density of electrons). Also the mobility of tritium ions has to be inferred.
The resulting plasma potential is shown in Fig. \ref{fig:kuckert}. The model itself gives a rough idea of the plasma potential and the plasma sheath, but with the assumption of a drift-diffusion equation the physical situation is limited to a thermal electron plasma. This is only in zeroth order correct, especially the plasma sheath is presumably incorrect. Additionally the non-thermal current at the rear wall cannot be explained self-consistently within the fluid model.
@@ -236,32 +242,32 @@ The resulting plasma potential is shown in Fig. \ref{fig:kuckert}. The model its
The key question of this project is the plasma potential within the WGTS of the KATRIN experiment. Within the source tritium decays releasing energetic primary electrons that may ionize the tritium gas und thus producing a plasma. The plasma itself has an electric potential with respect to the detector of the experiment. Due to this electric potential the detector measures an electron spectrum that is shifted. As the electric potential is non-homogenous the volume integrated electron spectrum is smeared out.
The key question of this project is the plasma potential within the WGTS of the KATRIN experiment. Within the source tritium decays releasing energetic primary electrons that may ionize the surrounding tritium gas and thus producing a plasma. The plasma itself has an electric potential with respect to the detector of the experiment. Due to this electric potential the detector measures an electron spectrum that is shifted. As the electric potential is non-homogenous the volume integrated electron spectrum is smeared out.
This effect may appear small in first place as the expected values of the electric potential are assumedly small, namely several times the thermal energy (3 meV), but the high uncertainty of the plasma potential and the extreme precision of the experiment (KATRIN was built to reach an accuracy better than 1 eV) make better models for the plasma unavoidable.
This effect may appear small in first place as the expected values of the electric potential are assumedly small, namely several times the thermal energy (3 meV), but the high uncertainty of the plasma potential and the extreme precision of the experiment ($\SI{0.2}{eV/c^2}$, 90\% C.L.) make better models for the plasma unavoidable. Direct measurements of the plasma potential are not possible due to the intricate design of the WGTS. Only secondary effects can be measured, but the deconvolution of the data needs the shape of the plasma potential as an input.
As pointed out above the detector is observing only a volume integrated spectrum i.e. one cannot use a map of the of the plasma potential to deconvolve the effect of the plasma potential. But a more precise knowledge of the plasma potential reduces the error budget allocated to plasma effects. In case the approximated error due to plasma effects is too small unphysical negative mass squares for the neutrino will result.
As pointed out above the detector is observing only a volume integrated spectrum i.e. one cannot use a map of the of the plasma potential to adjust the measured spectrum. But a more precise knowledge of the plasma potential reduces the error budget allocated to plasma effects. In case the approximated error due to plasma effects is too small unphysical negative mass squares for the neutrino will result and thus limiting the overall sensitivity of the KATRIN experiment.
The first calculations for the plasma potential using a fluid model (Sec. \ref{sec:laura}) have been carried out before the first measurement campaign \cite{Aker2019}. With the experience from that campaign the following key questions have been identified:
\begin{itemize}
\item What is the form of the plasma potential? \\This is the overarching question which has to be refined.
\item What is the effect of the voltage applied to the rear wall? Is there an optimal value for the voltage?\\ The external field applied to the plasma is assumed to have consequences on the global plasma potential. This voltage is also the best handle to alter the plasma condition known so far.
\item How can the current at the rear wall be explained?\\ When applying a voltage to the rear wall, a current can be measured. This is not unexpected since the rear wall acts as some sort of Langmuir probe. This measurement is one of the best plasma observables available, but the results are not in line with the expectations from previous models. Since the the electron distribution is nonthermal the fluid model is anyway not suited to explain this observation.
\item How can the current at the rear wall be explained?\\ When applying a voltage to the rear wall, a current can be measured. This is not unexpected since the rear wall acts as some sort of Langmuir probe. This measurement is one of the best plasma observables available, but the results are not in line with the expectations from previous models. Since the the electron distribution is nonthermal the fluid model is inherently not suited to explain this observation.
\item Do the dielectric properties of the rear wall change over time?\\ The aforementioned measurements of the current at the rear wall change over the course of days. The plasma times scales are many orders of magnitude faster. It is assumed that tritium condensates on the rear wall changing its dielectric properties. Whether this is an explanation for the change in the current and what effect this has on the plasma is one of the open questions.
\item What is the level of fluctuations and on what is their time scale?
\end{itemize}
With the ongoing measurement campaigns of the KATRIN experiment plasma modeling is an extremely timely business and so far the effect of plasma on the result is the largest unknown error. The previous fluid model is presumably not applicable to the non-thermal electron distribution and will be replaced by a kinetic model.
\newpage
The numerical model for a kinetic plasma description makes the following assumptions:
\begin{itemize}
\item The initial electron distribution can be derived from Monte Carlo simulations of atomic and molecular processes.
\item Ions are considered static, all plasma physics is carried by the fast electrons.
\item The ions are not homogenous, their distribution and the current they carry can be calculated from the above mentioned Monte Carlo code.
\item The ions are not homogeneous, their distribution and the current they carry can be calculated from the above mentioned Monte Carlo code.
\item Results from the plasma simulation will be used to provide better estimates for the Monte Carlo model. This process will be reiterated until convergence is reached.
\end{itemize}
The plasma simulations are technically more or less simple: A Particle-in-Cell code will be initialized with an electron distribution from Monte Carlo simulations, boundary conditions and external fields are applied and the simulation is run.
The plasma simulations are technically more or less simple: A Particle-in-Cell code will be initialized with an electron distribution from the Monte Carlo simulations, boundary conditions and external fields are applied and the simulation is run.
@@ -271,24 +277,24 @@ The plasma simulations are technically more or less simple: A Particle-in-Cell c
\begin{center}
\pgfimage[width=0.75\textwidth]{Figures/rwsetup}
\end{center}
\caption{General setup of the geometry of the WGTS near the rear wall. Rear wall and the sheath of the WGTS are made of different metals resulting in a contact potential and an induced electric field (shown in pink). Plasma i.e. the electron distribution is continously injected (green arrows). The sketches is simplified especially with regard to the injection of the electrons.}
\caption{General setup of the geometry of the WGTS near the rear wall. The rear wall and the sheath of the WGTS are made of different metals resulting in a contact potential and an induced electric field (shown in pink). Plasma i.e. the electron distribution is continuously injected (green arrows). The sketches is simplified especially with regard to the injection of the electrons.}
\label{fig:rwsetup}
\end{figure}
This subproject is the core of the simulations: The general equilibrium solution for the plasma assuming metal walls is researched. Simulations will be performed for various rear wall voltages.
The simulation setup is shown in Fig. \ref{fig:rwsetup}. In a first step the electron distribution and the ion currents will be calculated using the Monte Carlo code KARL. The input parameters are the neutral gas flow profiles. The electric field will be assumed to be zero in this step. With ion currents and electron distributions the Particle-in-Cell simulation can be started.
The simulation setup is shown in Fig. \ref{fig:rwsetup}. In a first step the electron distribution and the ion currents will be calculated using the Monte Carlo code KARL. For this the input parameters are the neutral gas flow profiles. The electric field will be assumed to be zero in this step. With ion currents and electron distributions the Particle-in-Cell simulation can be started.
The sheath walls are assumed to be grounded. The rear wall is also grounded, but a voltage is applied. Together with the contact potential between the different metals of sheath and rear wall (steel and gold) an electric field arises. This is added to the field of the PiC simulation as an additional component.
Here the sheath walls are assumed to be grounded. The rear wall is also grounded, but a voltage is applied. Together with the contact potential between the different metals of sheath and rear wall (steel and gold) an electric field arises. This is added to the field of the PiC simulation as an additional component.
The PiC simulations are assuming the inflow of tritium according to the Monte Carlo simulations. Only the motion of electrons is followed, the influence of the ions is limited to the current generated by the ions (also from the Monte Carlo simulations). Electrons are either hitting the wall and are then leaving the simulation or are exiting the simulation box where they entered.
Simulations are running until they reach equilibrium -- i.e. until a stable plasma sheath has established. The resulting electric fields are then fed back into the KARL code. This starts a new round of simulations.
The main change in the Monte Carlo simulations are the loss processes to the walls. For most electron energies the small electric fields do not alter the macroscopic behaviour. Convergence is to be expected.
The main change in the Monte Carlo simulations are the loss processes to the walls. For most electron energies the small electric fields do not alter the macroscopic behavior. Convergence is to be expected.
From the Monte Carlo simulations the current at the rear wall can be constructed for various voltages. This yields U-I-curve as it is also measured in the real experiment. Should the observations and the simulations match then the resulting plasma potential map can be handed down to the KATRIN analysis group to construct neutrino masses from that potential.
The current at the rear wall can be constructed for various voltages from the Monte Carlo simulations. This yields U-I-curve as it is also measured in the real experiment. Should the observations and the simulations match then the resulting plasma potential map can be handed down to the KATRIN analysis group to construct neutrino masses from that potential.
\subsubsection{Dielectric properties of the rear wall}
@@ -300,6 +306,7 @@ The way to test this is to change the boundary conditions of the walls from perf
The rear wall still produces a contact potential that should be unaffected by the coverage with monolayers of tritium as the contact potential arises from the connection of the rear wall with the steel vessel. For the simulation this means that still an external electric field has to be considered.
Simulations will be carried out for three different scenarios with one rear wall voltage ($U_\text{RW}=0$)
\begin{itemize}
\item Perfect insulator. The tritium layer covers the rear wall, charges may stick to the layer, but grounding does no longer work.
@@ -314,9 +321,9 @@ High precision results are not expected from this approach, but a qualitative vi
\subsubsection{Time dependent rear wall voltage}
The other subprojects aim at finding an equilibrium solution. It is assumed that any change of the outer parameters -- in first place the rear wall voltage -- will lead to a new equilibrium on time scales of the plasma frequency. For any manual change of the rear wall voltage this assumption may be safely used. The question is, how high-frequency noise influences the effective potential.
The other subprojects aim at finding an equilibrium solution. It is assumed that any change of the outer parameters -- in first place the rear wall voltage -- will lead to a new equilibrium on time scales of the plasma frequency. For any manual change of the rear wall voltage this assumption can safely be used. The question is, how high-frequency noise influences the effective potential.
Again the time scales of the outer change are too slow to be fully simulated in a kinetic plasma framework. The approach to this problem is therefore differently: For a simulation set in equilibrium taken from the first subproject the rear wall voltage is changed step like with a difference that is in the range of typical voltage fluctuations (0.1 V).
Again the time scales of the outer change are too slow to be fully simulated in a kinetic plasma framework. The approach to this problem is therefore differently: For a simulation set in equilibrium taken from the first subproject the rear wall voltage is changed step like with a step size that is in the range of typical voltage fluctuations (0.1 V).
With longer running simulations (5 -- 10 $\omega_\text{pe}^{-1}$) the response of the plasma shall be tested. The question behind this is whether fluctuations like ion-sound waves or other electrostatic phenomena can be seen.
@@ -340,9 +347,6 @@ the Helmholtz Association, Ministry for Education and Research BMBF (5A17PDA, 05
\section{Numerical Methods and Algorithms}
\label{chap:numerical}
@@ -420,8 +424,9 @@ Particle output is done via MPI-I/O with one file per output time step.
%%TODO JK: Hier etwas zu den Vorarbeiten schreiben
The ACRONYM code uses a three dimensional Cartesian grid to store and calculate electromagnetic fields. Thus in the past the boundary conditions were applied to planes parallel to the coordinate planes. In contrast the source of KATRIN has a cylindrical shape. So new boundary algorithms had to be implemented. They were adapted from \cite{Nieter2009} scheme, which was developed for metallic perfectly conductive curved boundaries. The algorithm provides solutions which retain the second order accuracy while keeping the additional computational cost at a minimum. Additionally to the modification of the fields the particle behavior had to be adapted. So the particles, which hit the cylinder surface are now absorbed.
A major input for the calculation with ACRONYM is the electron energy density distribution of the electrons inside the WGTS. The distribution is determined numerically by the KARL code (see above) and can have in general arbitrary shape. Hence a new injection method was developed to include particles of arbitrary energy distribution.
The ACRONYM code uses a three dimensional Cartesian grid to store and calculate electromagnetic fields as mentioned above. Thus in the past the boundary conditions were applied to planes parallel to the coordinate planes. In contrast the source of KATRIN has a cylindrical shape. So new boundary algorithms had to be implemented. They were adapted from the Dey-Mittra scheme \cite{Nieter2009}, which was developed for metallic perfectly conductive curved boundaries. The algorithm provides solutions which retain the second order accuracy while keeping the additional computational cost at a minimum. Additionally the particle behavior had to be adapted. So the particles, which hit the cylinder surface are now absorbed.
A major input for the calculation with ACRONYM is the electron energy density distribution of the electrons inside the WGTS. The distribution is determined numerically by the KARL code (see below) and can in general have arbitrary shape. Hence a new injection method was developed to include particles of arbitrary energy distribution.
%-----------------------------------------------------------------------------
@@ -433,18 +438,17 @@ A major input for the calculation with ACRONYM is the electron energy density di
The \textbf{KARL} - \textbf{KA}trin WGTS elect\textbf{R}on and ion spectrum Monte Car\textbf{L}o simulation code was developed specifically for this project \cite{reiling}.
The basic concept of the simulation is the repetitive physical simulation of single particles.
The KARL code only simulates one particle at a time. Hence interactions between particles can not be directly simulated. The implementation of density fields allows self consistent treatment of particle interactions. These density fields indicate the density for each particle species and are calculated within the physical simulation of each single particle of the respective species.
The KARL code simulates only one particle at a time. Hence interactions between particles can not be directly simulated but the additional implementation of density fields allows self consistent treatment of particle interactions. The density fields indicate the density for each particle species. They are updated within the physical simulation of each single particle of the respective species.
In general the code follows a standard Monte Carlo scheme: Primary particles are drawn from the electron distribution of tritium beta decay. Those particles are moving along the trajectory given by electric and magnetic fields. Their total scattering cross section is calculated and the particle is moved a distance until the interaction probability is 1. After each interaction potential secondary particles will be added to a particle queue. This particle queue will be processed before new primary particles are injected. While the Monte Carlo algorithm typically does not allow for the interaction of particles with each other, the KARL code implements density fields that represent particle densities.
In general the code follows a standard Monte Carlo scheme: Primary particles are drawn from the electron distribution of tritium beta decay. Those particles are moving along the trajectory given by electric and magnetic fields. Their total scattering cross section and thus the mean free path is calculated and the particle is moved for that distance. After each interaction potential secondary particles will be added to a particle queue. This particle queue will be processed before new primary particles are injected.
The primary particles are drawn from the Fermi distribution of tritium decay electrons. As secondary
particles electrons e$^-$ and tritium ions T$^{+}$, T$^{2+}$, T$^{3+}$, and T$^{5+}$ are considered.
The primary particles are drawn from the Fermi distribution of tritium decay electrons. As secondary particles electrons e$^-$, tritium ions T$^{+}$ and clusters of tritium ions T$^{2+}$, T$^{3+}$, and T$^{5+}$ are considered.
Higher order of tritium ion clusters are not implemented as their properties resemble T$^{5+}$. Further particle species can be easily added in further version of KARL if found necessary.
The following processes are integrated in KARL: Elastic scattering of electrons and T$_{2}$ molecules, electron impact ionization of $T_{2}$, electronic excitation of $T_2$ by electrons, rotational and vibrational excitation of T$_2$ by electrons, recombination of electrons with tritium ions, interactions of tritium ions, elastic Scattering of T$_2$, ion cluster formation.
The following processes are integrated in KARL: Elastic scattering of electrons and T$_{2}$ molecules, electron impact ionization of T$_{2}$, electronic excitation of T$_2$ by electrons, rotational and vibrational excitation of T$_2$ by electrons, recombination of electrons with tritium ions, interactions of tritium ions, elastic scattering of T$_2$, ion cluster formation.
For all processes the total cross section (for the probability) and the differential cross section (to calculate the distribution of final particles) are used inside the code.
When particles are followed through the simulation volume (or are created/annihilated) a density field is updated accordingly. This density field is a representation of the 6d phase space density of the particles. The density field is used to model the interaction of particles with each other via proxy. This especially important to model recombination correctly: The tritium ions are created only through the ionization of tritium. Secondary electrons from that process will eventually recombine with the ions.
When particles are followed through the simulation volume (or are created/annihilated) a density field is updated accordingly. This density field is a representation of the 6d phase space density of the particles. The density field is used to model the interaction of particles with each other via proxy. For KATRIN it is especially important to model recombination correctly: The tritium ions are created only through the ionization of tritium. Secondary electrons from that process will eventually recombine with the ions.
Input parameters for the code are the tritium density and electric and magnetic fields. The output consists of particle distributions at various positions in the simulation volume (using a logging barrier method) and the current carried by ions. These can be used in turn as input for the PiC simulation.
@@ -452,10 +456,6 @@ The entire KARL code is implemented in C\texttt{++11}. Vector operations and ra
\section{Computer Resources}
%\rule{\textwidth}{0.4pt}
%\subsection{Code performance and workflow}
@@ -482,7 +482,7 @@ The entire KARL code is implemented in C\texttt{++11}. Vector operations and ra
\label{sec:necessity}
This project uses the Monte Carlo code KARL and the Particle-in-Cell code (as described -- including the parallelization strategy -- in the previous section). Both codes are solely using CPUs. Their memory usage per core is less than 2 GB.
This project uses the Monte Carlo code KARL and the Particle-in-Cell code ACRONYM (as described in the previous section, including the parallelization strategy). Both codes are solely using CPUs. Their memory usage per core is less than 2 GB.
\subsubsection{Packages, Libraries and Compiler}
\label{sec:packs_libs}
@@ -521,7 +521,7 @@ Scaling simulations run for 100 time steps and can be performed either without o
Recent tests show that \textit{ACRONYM} scales almost linearly up to 131072 cores when output is deselected.
A performance increase by a factor of two can be achieved if GCC is used instead of the Intel Compiler (see fig. \ref{fig:scaling}).
The only true bottleneck is the performance with parallel output, which starts to slow down the code when more than 32768 CPUs are employed.
However, actual production runs are usually not as heavy on output as the scaling runs, as is depicted by a sample of typical simulations with different problem sizes.
However, actual production runs are usually not as heavy on output as the scaling runs, as is depicted by a sample of typical simulations with different problem sizes.
Further bottlenecks are not present \cite{kempf_2014}.
@@ -554,9 +554,9 @@ Kinetic simulations require the resolution of the Debye length in space and the
\label{tab:param}
\end{table}
These parameters combined with scaling graphs hint at run time for one simulation until the system is more or less in equilibrium of approx $10^6$ CPU-h using 32000 cores. It should be noted that the performance of the code is not yet tested on SuperMUC-NG -- a test account was not yet granted at time of writing -- but comparison with other current systems show a code performance of more than $10^6$ particle updates per core and second, which would cut the required resources.
These parameters combined with the scaling graphs hint at a run time for one simulation until the system is more or less in equilibrium of approx $10^6$ CPU-h using 32000 cores. It should be noted that the performance of the code is not yet tested on SuperMUC-NG -- a test account was not yet granted at time of writing -- but a comparison with other current systems show a code performance of more than $10^6$ particle updates per core and second, which would cut the required resources.
All PiC runs will have identical system sizes and identical physical times - except for the time evolution runs. Problem size refers in this case to multiples of the physical time of the basic simulation. Output is required only for checkpointing and for the final result.
All PiC runs will have identical system sizes and identical physical times - except for the time evolution runs. In this case "Problem size" refers to multiples of the physical time of the basic simulation. Output is required only for checkpointing and for the final result.
PiC simulations are reiterated with Monte Carlo simulations. Monte Carlo simulations are relatively cheap with typically less than $10^4$ CPU-h per run.
@@ -651,7 +651,7 @@ TOTAL & & & & & & & $6.68\times 10^7$\\
%\rule{\textwidth}{0.4pt}
\subsection{Resource management}
Managing the resources is rather straight forward in this project: The different subprojects are very much alike and follow all the same pattern. Since each simulation run consists of a series of Monte Carlo and PiC iterations - each with a fixed simulation size and runtime - the cost of the simulation is rather well pre-defined. After comparing the actual runtime with the allocated runtime further simulations within the parameter space can be added or remove from the queue.
Managing the resources is rather straight forward in this project: The different subprojects are very much alike and follow all the same pattern. Since each simulation run consists of a series of Monte Carlo and PiC iterations - each with a fixed simulation size and runtime - the cost of the simulation is rather well pre-defined. After comparing the actual runtime with the allocated runtime further simulations within the parameter space can be added or removed from the queue.
As simulations are only performed by one user allocating resources within the project is also not a problem.
@@ -663,7 +663,7 @@ As simulations are only performed by one user allocating resources within the pr
The components necessary for the simulation (boundary conditions, initial electron spectrum, ion currents) are ready and ACRONYM has been tested on the old SuperMUC system before. The first set of simulations can therefore be started right away. For $U_\text{rw}=0$ a PiC simulation will be run. The resulting electric potential will be fed into a MC simulation to produce an updated guess on the electron distribution. First tests suggest that after two iterations there will be no further change in the electron distribution.
After finishing the $U_\text{rw}=0$ simulations the voltages is changed by 0.1 V in either direction. MC simulations for the previous voltage are used as first guess. From a series of simulations with different voltages plasma potential maps are constructed from the PiC simulations and I-U-curves for the rear wall from the MC simulations.
After finishing the $U_\text{rw}=0$ simulations the voltage is changed by 0.1 V in either direction. MC simulations for the previous voltage are used as a first guess. From a series of simulations with different voltages plasma potential maps are constructed from the PiC simulations and I-U-curves for the rear wall from the MC simulations.
\subsubsection{Dielectric properties}
@@ -673,7 +673,7 @@ The boundary conditions implemented right now are purely metallic. Changing this
\subsubsection{Temporal evolution}
The simulations for the temporal evolution also start from rear wall voltage runs. Their main difference is that the runtime is much longer. This will of course lead to simulations exceeding the wallclock limit, but the frequency of output to disk is still miniscule.
The simulations for the temporal evolution also start from rear wall voltage runs. Their main difference is that the runtime is much longer. This will of course lead to simulations exceeding the wallclock limit, but the frequency of output to disk is still minuscule.
\begin{figure}[H]
@@ -711,7 +711,8 @@ Patrick Kilian is head developer of the ACRONYM code and has more than a decade
\newpage
%-------------------------------- Literatur ----------------------------------
\addcontentsline{toc}{chapter}{Bibliography}
\addcontentsline{toc}{section}{\protect\textbf{Bibliography}}
%\bibliographystyle{natdin}
\bibliography{bib}
+15 -1
View File
@@ -456,7 +456,7 @@ abstract = "The Karlsruhe Tritium Neutrino (KATRIN) experiment will investigate
}
@phdthesis{Schoenung2016_1000056077,
author = {Schönung, Kerstin},
author = {Sch\"onung, Kerstin},
year = {2016},
title = {Development of a Rear Wall for the KATRIN Rear Section and investigation of tritium compatibility of Rear Section components},
doi = {10.5445/IR/1000056077},
@@ -527,3 +527,17 @@ eprint = {
doi = {10.1103/PhysRevLett.123.221802},
url = {https://link.aps.org/doi/10.1103/PhysRevLett.123.221802}
}
@techreport{KATRINCollaboration2005,
author = {{KATRIN Collaboration} and {KATRIN Collaboration}},
year = {2005},
title = {KATRIN design report 2004},
doi = {10.5445/IR/270060419},
institution = {{Forschungszentrum, Karlsruhe}},
issn = {0947-8620},
series = {Wissenschaftliche Berichte. FZKA},
note = {51.54.01; LK 01},
pagetotal = {245},
language = {english},
volume = {7090}
}