Files
katrin-plasma/docs/masters/creiling/LaTeX/sections/results.tex
T

222 lines
17 KiB
TeX

% !TEX root = ../thesis.tex
% !TEX useTabs
%% LaTeX2e class for student theses
%% sections/evaluation.tex
%%
%% Karlsruhe Institute of Technology
%% Institute for Program Structures and Data Organization
%% Chair for Software Design and Quality (SDQ)
%%
%% Dr.-Ing. Erik Burger
%% burger@kit.edu
%%
%% Version 1.3.3, 2018-04-17
%\chapter{Evaluation}
%\label{ch:Evaluation}
\chapter{Simulations with KARL} \label{ch:res}
First simulations with the KARL code will be presented in this chapter.
Since the \ac{pic} code (\autoref{sec:cod:intention}) is still\footnote{as of December 2019} under development, these first simulations are performed in absence of electric fields.
Thus these first results need to be treated with caution, as electric fields arising from charged particles are clearly a key component in the modeling of plasmas.
In \autoref{sec:res:norec} first results without the implementation of electron-ion recombination are presented.
These results can interpreted as a conservative estimator.
Additional recombinations decrease the particle densities and thus plasma effects.
In this first version of KARL, two preliminary implementations for recombination are featured.
These show good results and will be presented in \autoref{sec:res:rec}.
Earlier works from \cite{Nastoyashchii:2005aa} have also simulated the particle distribution in the \ac{wgts} of the KATRIN experiment.
Although the previous work does not feature spatial resolution, the resulting electron-spectrum can be compared to averaged results from KARL.
This comparison is shown in \autoref{sec:res:fer}
\section{First results using KARL} \label{sec:res:norec}
First results from the KARL code are obtained without electron-ion recombination.
These simulations can be interpreted as conservative estimator.
The lack of recombination lead to increased particle densities and thus increased plasma effects.
Accordingly a simulation was performed with \num{{}e4} $\upbeta$-decays.
For the proper initialization of the \acp{rdf} \num{5e3} additional $\upbeta$-decays were performed prior taking statistics (\autoref{sec:cod:rdf}).
The corresponding parameter file is attached in \autoref{lst:app:para_sim1}.
For better comprehensibility in the further context this simulation will be referenced as SIM1.
The simulation was performed on 200 cores and took \textasciitilde \SI{2.2}{\hour}, equaling a wall time of \textasciitilde \SI{4.45e2}{\hour}.
Hence the average simulation time for one $\upbeta$-decay and all to it corresponding emerging particles took \textasciitilde \SI{100}{\second}.
Throughout the simulation a total of ~\num{2.1e5} secondary and higher order electrons were created.
This equals \textasciitilde 14 secondary particles per initial $\upbeta$-electron.
Thus the majority of electrons and ions are created by ionization.
\begin{figure}[tbph]
\centering
%\printinunitsof{cm}\prntlen{\textwidth}
\includegraphics{pics/results/dndE_3D.png}
\caption{Resulting differential electron densities from SIM1. The differential density is indicated by the color. Small densities are indicated by blue and towards higher densities the hue shifts to yellow. The $x$-axis represent longitudinal position in the \ac{wgts}. $y$-axis represents the electron energy in logarithmic form.}
\label{fig:res:dndE_3D}
\end{figure}
The resulting differential electron density spectrum $\frac{\upd n}{\upd E}$ from SIM1 is displayed in \autoref{fig:res:dndE_3D}.
The displayed spectrum was obtained using the \ac{lbm} (\autoref{sec:cod:log}).
It is clearly visible that the spectrum shows a strong longitudinal dependency for thermal energies $E>\SI{{}e-2}{\eV}$.
At high energies $E>\SI{{}e2}{\eV}$ no longitudinal dependency is observable.
On the assumption that the high energetic electrons are dominated by $\upbeta$-electrons and that these $\upbeta$-electrons pass the \ac{wgts} unobstructed, the non-directional $\upbeta$-electrons flux at a given longitudinal position $z_\mathrm{ref}$ is composed of three factors:
\begin{enumerate}
\item $N_1$ $\upbeta$-electrons emerging from $z < z_\mathrm{ref}$ with $v_z > 0$, before reflection at the spectrometers.
\item $N_2$ $\upbeta$-electrons emerging from $z > z_\mathrm{ref}$ with $v_z < 0$.
\item $N_3$ $\upbeta$-electrons after reflection at the spectrometers with $v_z < 0$.
\end{enumerate}
Here $z$ and $v_z$ are the longitudinal position and velocity of the electrons in the respective categories.
In the KARL code the $\upbeta$-electrons are injected isotropic.
Thus half the $\upbeta$-electrons emerge with negative $v_z$ and the other half with positive $v_z$.
For $N_\upbeta$ $\upbeta$-decays this yields that $N_1 + N_2 = \frac{N_\upbeta}{2}$ and $N_3 = \frac{N_\upbeta}{2}$.
Hence the non directional flux is expected to equal $N_\upbeta$.
In first order the previous assumptions are fair and thus minimal longitudinal dependency is observable at high energies.
More precise analysis (\autoref{fig:app:sim1_high_beta}) shows a longitudinal dependency of high energetic electrons in the order of $\mathcal{O}(0.1 \cdot N_\upbeta)$, which is in agreement with the previous approximation.
At low energies $E >\SI{{}e-2}{\eV}$ the electron spectrum is dominated by secondary and higher order particles created by ionization.
The probability for ionization scales with the \ce{T2}-density.
Thus the low energy electron spectrum is expected to scale with the \ce{T2}-density.
This dependency is clearly observable at low energies.
A more precise visualization of this dependency is displayed in \autoref{fig:app:sim1_low_T2}.
\begin{figure}[tbph]
\centering
\input{pics/results/dndE_analysis.pgf}
\caption{Differential electron density spectrum in the center of the \ac{wgts} at $z=5$. The solid, red line represent the results from SIM1. The dotted, yellow line follows \autoref{eq:res:spech} and was fitted to the results from SIM1.
The dashed, blue line follows \autoref{eq:res:specl} and was fitted to the results from SIM2.}
\label{fig:res:dndE_ana}
\end{figure}
A detailed analysis of the electron-spectrum was performed in the center of the \ac{wgts} at $z=5$ and is displayed in \autoref{fig:res:dndE_ana}.
Analogous spectra are observed at all longitudinal positions $z$ of the \ac{wgts} and only differ in the scale (\autoref{fig:app:sim1_all_z}).
At high energies $E > \SI{{}e2}{\eV}$ the electron spectrum is expected to scale as
\begin{equation}
\label{eq:res:spech}
f_\mathrm{h}(E) \propto f_\upbeta(E) \cdot E^{-0.5} \, ,
\end{equation}
where $f_\upbeta(E)$ is the $\upbeta$-spectrum (\autoref{eq:neu:beta}).
The factor $E^{-0.5}$ arises from the connection between non-directional particle flux and density.
As shown in \autoref{sec:cod:log} the density of a passing particle scales with the inverse of its longitudinal speed $\frac{1}{v_z}$ and thus with $E^{-0.5}$.
For the spectrum of the non-directional flux again the assumtion was made, that the high energetic electrons dominantly consist of $\upbeta$-electrons and propagate unobstructed.
Thus the longitudinal flux scales with the $\upbeta$-spectrum.
This expected shape of the differential electron density for energies $E > \SI{{}e2}{\eV}$ is clearly reflected in the observed spectrum of SIM1.
At low energies $E > \SI{{}e-2}{\eV}$ the electrons are expected to enter thermal equilibrium with the molecular tritium.
Hence the non-directional particle flux is expected to follow the \SI{30}{\kelvin} Maxwell Boltzmann distribution $f_\mathrm{MB}(E, \SI{30}{\kelvin})$ of the molecular tritium.
Thus the differential electron density of low energies is expected to scale with
\begin{equation}
\label{eq:res:specl}
f_\mathrm{l} \propto f_\mathrm{MB}(E, \SI{30}{\kelvin}) \cdot E^{-0.5} \, .
\end{equation}
The observed spectrum fulfills the expectation to a good extend.
Divergences can arise from a previously discussed problem in the integration over possible momentum constellations (\autoref{sec:tes:ela}).
\begin{figure}[tbph]
\centering
\input{pics/results/dndE_comp_rdf.pgf}
\caption{Comparison of the differential electron density spectrum obtained from \ac{lbm} with the spectrum of \acs{rdf} at the end of the simulation. Both spectra are average over the length of the \ac{wgts}. The solid, red line marks the results from the \ac{lbm}. The dashed, blue line represents the final states of the \acs{rdf} at the end of the simulation. The shaded area equals the standard deviation}
\label{fig:res:dndE_comp_rdf}
\end{figure}
Additional analysis of the electron spectrum is performed by comparison of the \ac{rdf} (\autoref{sec:cod:dens}) at the end of the simulation with the spectrum obtained from the \ac{lbm}.
This comparison is displayed in \autoref{fig:res:dndE_comp_rdf}.
Both methods are in good agreement.
This validates the consistency of both methods.
Minor divergences arise from the difference in calculation method.
The \acp{rdf} focus on high spatial resolution, whereas the \ac{lbm} on high energy resolution.
\begin{figure}[tbph]
\centering
\input{pics/results/djzdE.pgf}
\caption{Resulting particle fluxes from SIM1. The solid, red line represents the particle flux of electrons. The dashed, blue line represents the ion flux. Positive fluxes indicates particles moving towards the spectrometers.}
\label{fig:res:djzdE}
\end{figure}
The ion fluxes are a further important output of the KARL code which are essential for the \ac{pic} simulation (\autoref{sec:cod:intention}).
The particle fluxes from SIM1 calculated from the \ac{lbm} are displayed in \autoref{fig:res:djzdE}.
In the absence of electric fields the ions are expected to follow the implemented \ce{T2} flux (\autoref{sec:model:wgts}).
The observed ion flux is in good agreement with this expectation.
Since the electrons can only leave the \ac{wgts} at the \ac{rw}, the electron-flux is expected to be monotonic rising and negative at all points,
This expectation is also clearly visible in the results of SIM1.
Further a brief quantitative analysis of the particle fluxes shows that the number of electrons leaving the \ac{wgts} equals the number of ions.
\FloatBarrier
\begin{figure}[tbph]
\centering
\input{pics/results/dndE_rec_comp_zoom.pgf}
\caption{Comparison of three simulations with KARL in the thermal region. The upper half of the plot shows the differential densities of the individual simulations. The displayed densities are averaged over the whole length of the \ac{wgts}. SIM1: Conservative estimator without recombination, displayed as solid, red line. SIM2: Implementation of asymmetric recombination, displayed as dashed, blue line. SIM3: Implementation of recombination by solely accounting electron energy in the \acs{mcs} calculation, displayed as dotted, yellow line. The bottom half of the plot shows the ratio of the densities from SIM2 and SIM3 in comparison to SIM1.}
\label{fig:res:dndE_comp_rec}
\end{figure}
\section{Implementation of recombination} \label{sec:res:rec}
The implementation of recombination as described in \autoref{ch:cod} raises problems.
At low energies the assumption of isotropic \acp{rdf} (\autoref{sec:cod:dens}) lead to problems in the \ac{mcs} calculation (\autoref{sec:cod:macro}).
The integration over possible constellations of momentum vectors lead to absurdly large \ac{mcs} for tritium ions and hence removing all tritium ions from the simulation.
Envisioned fixes for this problem will be discussed in \autoref{ch:out}.
At this moment two successful implementation of recombination exist in the KARL code.
Accordingly two simulation with \num{{}e4} $\upbeta$-decays were performed.
In SIM2 the recombination was implemented asymmetrically.
Only during the physical simulation of electrons recombination is implemented.
To properly account the recombination on the ion side, the densities of the ion \acp{rdf} are accordingly reduced.
Thus only the ion \acp{rdf} reflect the proper ion densities and the output from the \ac{lbm} for ions is expected to show errors.
In SIM3 the recombination was implemented symmetrically, but the integration over possible constellation of momentum vectors during the \ac{mcs} calculation was completely neglected.
The laboratory frame energy in the \ac{mcs} calculation was calculated solely from the electron energy thus completely ignoring ion energy.
This assumption was implemented symmetrically during kinetic simulation of electrons and ions.
A comparison of these two simulation with SIM1, where recombination was not activated, is displayed in \autoref{fig:app:rec_comp}.
This shows that recombination is only relevant at low energies $E <\SI{{}e-2}{\eV}$.
A detailed comparison on this energy range is displayed in \autoref{fig:res:dndE_comp_rec}.
The comparison shows that recombination clearly reduces the electron densities.
Compared to SIM1, the electron densities in SIM2 are reduced by a factor of $\mathcal{O}$ (\num{{}e-2}) and in SIM3 by a factor of \textasciitilde \num{0.4}.
The stronger reduction of SIM2 compared to SIM3 indicates the importance of proper integration in the \ac{mcs} calculation.
\begin{figure}[tbph]
\centering
\input{pics/results/dndE_comp_fer.pgf}
\caption{Comparison of differential electron densities from SIM1 with results of COMP1 \cite{Nastoyashchii:2005aa}. The results from KARL are averaged over the \ac{wgts} and displayed as solid, red line. The shaded area represents standard deviation of the longitudinal averaging. The dashed blue line shows results from COMP1. The spectrum of COMP1 was normalized using the $\upbeta$-spectrum at energies $E >\SI{{}e2}{\eV}$.}
\label{fig:res:dndE_comp_fer}
\end{figure}
\section{Comparison with external simulation} \label{sec:res:fer}
The previous work from \cite{Nastoyashchii:2005aa} has also simulated the electron spectrum in the \ac{wgts}.
In the further context this work will be referenced as COMP1.
In comparison to KARL the previous work does not resolve the particle densities spatially and does not cover ions kinetically.
Thus comparison with COMP1 was performed by averaging the results from KARL over the whole length of the \ac{wgts}.
A comparison of SIM1 and COMP1 is displayed in \autoref{fig:res:dndE_comp_fer}.
Therefore the spectrum from COMP1 was normalized to the spectrum from SIM1 using the $\upbeta$-spectrum at high energies of $ E>\SI{{}e3}{\keV}$.
The spectrum from SIM1 acts substitutional for SIM2 and SIM3 at energies $E > \SI{{}e-2}{\eV}$ (\autoref{fig:app:rec_comp}). At lower energies a more precise comparison will be featured.
At energies from $\mathcal{O}(\SI{10}{\keV})$ down to $\mathcal{O}(\SI{1}{\eV})$ both simulation are in good agreement.
Noticeably is the peak in the spectrum of COMP1 at \textasciitilde \SI{{}e1}{\eV}, which is not present in KARL.
However in both simulations a kink in the spectrum is visible at this point and the slopes from both simulations are in good agreement.
The kink can be related to a corresponding kink in the \ac{tcs} of electron \ce{T2} interactions (\autoref{fig:mod:eT2_overview}).
At an energy of $E \approx \SI{1}{\eV}$ the result from KARL show a local minimum.
This minimum is not reflected in the results from COMP1.
Further down to energies of $E \approx \SI{{}e-2}{\eV}$ both spectra show minor divergences but are in first order in good agreement.
\begin{figure}[tbph]
\centering
\input{pics/results/dndE_rec_comp_fer_zoom.pgf}
\caption{Comparison of SIM2 and SIM3 with results from COMP1 \cite{Nastoyashchii:2005aa} in the thermal region. The upper half of the plot shows the differential densities of the individual simulations. The displayed densities from SIM2 and SIM3 are averaged over the whole length of the \ac{wgts}. the shaded area represent the stand deviation from this averaging. SIM2: Implementation of asymmetric recombination, displayed as dashed, blue line. SIM3: Implementation of recombination by solely accounting electron energy in the \acs{mcs} calculation, displayed as dotted, yellow line. COMP1: Results from \cite{Nastoyashchii:2005aa}, displayed as dash-dotted, green line. The bottom half of the plot shows the ratio of the densities from SIM2 and SIM3 in comparison to COMP1.}
\label{fig:res:dndE_comp_fer_rec}
\end{figure}
Towards lower energies the spectra differ and recombination effects become dominant.
A precise comparison of COMP1 with SIM2 and SIM3 at energies $E < \SI{{}e-2}{\eV}$ is displayed in \autoref{fig:res:dndE_comp_fer_rec}.
It is clear, that SIM2 and COMP1 are in good agreement, whereas SIM3 shows larger divergences.
This clearly indicates the importance of proper integration during the \ac{mcs} calculation.
The comparison of SIM2 and COMP1, show very good consistency.
COMP1 is within one standard deviation error band of SIM2.
The standard deviation arises from averaging the results from SIM2 over the length of the \ac{wgts}.
The minor divergence can be caused by unresolved location in COMP1 or from slightly difference in model assumptions.