diff --git a/hlrs_acronym_wgts2d_2023/bib.bib b/hlrs_acronym_wgts2d_2023/bib.bib index 0163236..7ebb48e 100644 --- a/hlrs_acronym_wgts2d_2023/bib.bib +++ b/hlrs_acronym_wgts2d_2023/bib.bib @@ -3435,18 +3435,17 @@ url = {https://www.sciencedirect.com/science/article/pii/S0920563200006526}, author = {Masayuki Nakahata}, } -@article{PhysRevLett.123.221802, - title = {Improved Upper Limit on the Neutrino Mass from a Direct Kinematic Method by KATRIN}, - author = {Aker, M. and others}, - collaboration = {KATRIN Collaboration}, - journal = {Phys. Rev. Lett.}, - volume = {123}, - issue = {22}, - pages = {221802}, - numpages = {10}, - year = {2019}, - month = {Nov}, - publisher = {American Physical Society}, - doi = {10.1103/PhysRevLett.123.221802}, - url = {https://link.aps.org/doi/10.1103/PhysRevLett.123.221802} +@ARTICLE{2022NatPh..18..160K, + author = {{Katrin Collaboration}, Aker, M. and others}, + title = "{Direct neutrino-mass measurement with sub-electronvolt sensitivity}", + journal = {Nature Physics}, + year = 2022, + month = feb, + volume = {18}, + number = {2}, + pages = {160-166}, + doi = {10.1038/s41567-021-01463-1}, + adsurl = {https://ui.adsabs.harvard.edu/abs/2022NatPh..18..160K}, + adsnote = {Provided by the SAO/NASA Astrophysics Data System} } + diff --git a/hlrs_acronym_wgts2d_2023/bilder/GanttChart.pdf b/hlrs_acronym_wgts2d_2023/bilder/GanttChart.pdf new file mode 100644 index 0000000..aba531a Binary files /dev/null and b/hlrs_acronym_wgts2d_2023/bilder/GanttChart.pdf differ diff --git a/hlrs_acronym_wgts2d_2023/temp_rechenzeitdingens.tex b/hlrs_acronym_wgts2d_2023/temp_rechenzeitdingens.tex index 2e6a845..715ece0 100644 --- a/hlrs_acronym_wgts2d_2023/temp_rechenzeitdingens.tex +++ b/hlrs_acronym_wgts2d_2023/temp_rechenzeitdingens.tex @@ -41,11 +41,11 @@ \bigskip \end{center} \textbf{Period}\\ -\phantom{MM}\textit{4/2023 -- 8/2023} +\phantom{MM}\textit{6/2023 -- 8/2024} \bigskip \textbf{Project title}\\ -\phantom{MM}\textit{Simulations of the KATRIN WGTS using Pseudo-2d} +\phantom{MM}\textit{Simulations of the KATRIN WGTS using Pseudo-2D} \bigskip \textbf{Type of project}\\ @@ -57,11 +57,11 @@ \bigskip \textbf{Project ID or project acronym}\\ -\phantom{MM} \textit{Please provide in case of a project extension} +%\phantom{MM} \textit{Please provide in case of a project extension} \bigskip \textbf{Principal investigator}\\ -\phantom{MM} \textit{Felix Spanier\\Institut f\"ur Theoretische Astrophysik, Universität Heidelberg, Albert-Ueberle-Str. 2, 69120 Heidelberg, Germany\\felix.spanier[at]uni-heidelberg.de} +\phantom{MM} \textit{Dr. Felix Spanier\\Institut f\"ur Theoretische Astrophysik, Universität Heidelberg, Albert-Ueberle-Str. 2, 69120 Heidelberg, Germany\\felix.spanier[at]uni-heidelberg.de} \bigskip \textbf{Project contributor(s)}\\ @@ -87,22 +87,22 @@ Since their discovery neutrinos have been of major interest in particle and astr One way to infer the mass of the neutrinos is by the measurement of the decay spectrum of electron beta decays. The decay spectrum depends can be described by the well-tested Fermi model of the beta decay, which depends on the neutrino mass in its high-energy cutoff. This also leads to a small distortion of the spectrum close to that cutoff. Thus measuring the shape of the spectrum gives information about the mass of the neutrinos. However, to be able to detect the shape in that domain needs a high enough event rate in the endpoint region as well as a high enough energy resolution of the experiment. Tritium is an ideal candidate for these kind of measurements, since it has a short half-life of 12.3 years and a low energy endpoint, as well as the beta decay being super-allowed. -The KArlsruhe TRItium Neutrino (KATRIN) experiment uses this principle to measure the mass of electron antineutrino, so far the KATRIN collaboration has shown that the electron mass is below 1.1 eV \cite{PhysRevLett.123.221802}. -Yet the aim of the experiment is a to measure the mass with a sensitivity down to 0.2 eV. However, to achieve this goal it necessary to precisely examine the systematic effects of the experiment. One of these effects is caused by the plasma in the high luminous tritium source, which is generated by the beta decay of the tritium and subsequent ionization and collisions with the surrounding gas. The plasma itself then creates a potential throughout the source, which can change the shape of the measured electron spectrum. +The KArlsruhe TRItium Neutrino (KATRIN) experiment uses this principle to measure the mass of electron antineutrino, so far the KATRIN collaboration has shown that the electron mass is below 0.8 eV \cite{2022NatPh..18..160K}. +Yet the aim of the experiment is a to measure the mass with a sensitivity down to 0.2 eV. However, to achieve this goal it is necessary to precisely examine the systematic effects of the experiment. One of these effects is caused by the plasma in the high luminous tritium source, which is generated by the beta decay of the tritium and subsequent ionization and collisions with the surrounding gas. The plasma itself then creates a potential throughout the source, which can change the shape of the measured electron spectrum. The effects can be constrained by calibration measurements, e.g. from $^\text{83m}$Kr line measurements. However, these experiments cannot be performed during the neutrino mass measurements. Thus the potential can only be extrapolated between two line measurements. It would therefore be beneficial to gain knowledge from other measurable parameters, which can be monitored permanently. Additionally a plasma model, informed by the measurements, would allow for a simple optimization of experimental condition with respect to the plasma potential without the need of excessive experimental testing. Using a Monte-Carlo simulation tool, named KARL, the electron spectrum was evaluated and gives insight into the general conditions within the tritium source. This tool covers the interactions of electrons and ions with the neutral gas by a given neutral gas flow and static electromagnetic fields. From the general conditions it is clear that the plasma behaves in the most part as collision-less except for the region of the highest neutral gas density, where it is partly-collisional \cite{Kellerer2022}. -Therefore the plasma can be simulated using the particle-in-cell method. However since the source geometry is cylindrical the usage of a Cartesian discretization of the space needs a special way to approximate the boundary \cite{Kellerer2022}, which has shown that the potential is in general cylindrical symmetric. Therefore a pseudo-2d version of the ACRONYM code has been developed, which operates within the r-z plane and uses an azimuthal decomposition of the electromagnetic fields. +Therefore the plasma can be simulated using the particle-in-cell method. However since the source geometry is cylindrical the usage of a Cartesian discretization of the space needs a special way to approximate the boundary \cite{Kellerer2022}, which has shown that the potential is in general cylindrical symmetric. Therefore a pseudo-2D version of the ACRONYM code has been developed, which operates within the r-z plane and uses an azimuthal decomposition of the electromagnetic fields. -The goal of this project is to model the conditions of the plasma in the source in its whole using this pseudo-2d method. +The goal of this project is to model the conditions of the plasma in the source in its whole using this pseudo-2D method. \newpage \section{Preliminary Work} \rule{\textwidth}{0.4pt} -The potential created by source plasma has been investigated in the phd-thesis of \cite{Kellerer2022}. Therefore results like energy spectrum of the electrons and their density, gained from the Monte Carlo code KARL have been used as a starting point for 3d kinetic particle in cell simulations, which used a modified version of the ACRONYM code that incorporates an approximation for the cylindrical boundary. +The potential created by source plasma has been investigated in the PhD-thesis of \cite{Kellerer2022}. Therefore results like energy spectrum of the electrons and their density, gained from the Monte Carlo code KARL have been used as a starting point for 3D kinetic particle in cell simulations, which used a modified version of the ACRONYM code that incorporates an approximation for the cylindrical boundary. \begin{figure}[h] \centering @@ -111,7 +111,7 @@ The potential created by source plasma has been investigated in the phd-thesis o \label{KellererPlot} \end{figure} -The analysis of the structure of the electric field has shown no special azimuthal structure, see figure \ref{KellererPlot}, which inspired the development of the pseudo-2d approach for the simulations. Furthermore the usage of the full 3d simulations required an approximation of the cylindrical boundary, which also introduces small errors. These errors are not present in the pseudo-2d version. +The analysis of the structure of the electric field has shown no special azimuthal structure, see figure \ref{KellererPlot}, which inspired the development of the pseudo-2D approach for the simulations. Furthermore the usage of the full 3D simulations required an approximation of the cylindrical boundary, which also introduces small errors. These errors are not present in the pseudo-2D version. Some of the particle species, namely secondary and beta electrons, present in the simulation only had a small particle number which results in a large noise level. Additionally the kinematics of the ions were only included as a background current, since the size of the problem only allowed small times to be simulated. @@ -133,8 +133,8 @@ The ultimate goal of this project is to simulate the whole source of the KATRIN Due to the length of the source, this is only feasible with full 3 dimensional simulations if the domain is partitioned into smaller sections. This might however introduce new errors into the solution of the whole object due to the artificial boundary conditions of the separate simulation domains. -Therefore the ACRONYM code has been extended by a pseudo-2d (azimuthal decomposition) version that reduces the overall dimensionality of the problem since the problem effectively devolves into $(2m+1)$-2d problems, where $m$ is the maximal azimuthal mode that is taken into account. -Thus the overall computational complexity is reduced. This now allows the whole source to be simulated using a single simulation. Additionally, this also allows for the simultaneous simulation of both electrons and ions and thus catch the effect of the kinematics of the latter. +Therefore the ACRONYM code has been extended by a pseudo-2D (azimuthal decomposition) version that reduces the overall dimensionality of the problem since the problem effectively devolves into \mbox{$(2m+1)$-2D problems}, where $m$ is the maximal azimuthal mode that is taken into account. This allows for to analyze the separate Fourier modes to be investigated by them self. Of special interest in for this type of analysis is the electric potential, which can be obtained from the electric fields produced during the simulation. This analysis is not possible for full 3D simulations. +Furthermore, the overall computational complexity is reduced. This now allows the whole source to be simulated using a single simulation. Additionally, this also allows for the simultaneous simulation of both electrons and ions and thus catch the effect of the kinematics of the latter. It is thus of interest to investigate the dependence of the conditions in the source with respect to: \begin{itemize} @@ -144,7 +144,7 @@ It is thus of interest to investigate the dependence of the conditions in the so \end{itemize} \paragraph{Maximum Mode} -The basic idea of the pseudo-2d code decomposes all field quantities into their Fourier series w.r.t. the azimuthal component in cylindrical coordinates. This reads for an arbitrary field $\vec{F}(r, \varphi, z) = \Re \left( \sum_{m = 0}^\infty \vec{F}^m (r, z) \exp(im\varphi) \right)$, which quite obviously includes an infinite sum. Simulating an infinite number of fields is not possible thus it is necessary to introduce a cutoff $m_\text{max}$ to get a finite amount of grids that have to simulated. \\ +The basic idea of the pseudo-2D code is to decompose all field quantities into their Fourier series w.r.t. the azimuthal component in cylindrical coordinates. This reads for an arbitrary field $\vec{F}(r, \varphi, z) = \Re \left( \sum_{m = 0}^\infty \vec{F}^m (r, z) \exp(im\varphi) \right)$, which quite obviously includes an infinite sum. Simulating an infinite number of fields is not possible thus it is necessary to introduce a cutoff $m_\text{max}$ to get a finite amount of grids that have to simulated. \\ As already mentioned in the previous section, it is expected that the particular problem of the KATRIN source tube has only small deviations from a purely cylindrical symmetry meaning that only very few higher order modes have to be simulated. However, the optimal number of modes is not known a priori, thus it is necessary to perform multiple simulations to determine the optimal cutoff $m_\text{max}$ according to computational effort as well as how well the actual physics are captured. \paragraph{Initial Number Density} @@ -153,7 +153,7 @@ This also indicates that the actual number density is not known, thus it is of i Furthermore, the neutral density of the tritium gas is an experimental parameter, which influences the properties of the plasma in the source, which in turn affects its effects on to the spectrum of the beta decay electrons. \paragraph{Rear Wall Potential} -Due to the natural contact potential differences of the materials at the rear wall an electric field can be present. Additionally, a power supply is also present to change the potential present. Thus, it is worth investigating the behavior of the particles close to the rear wall for different potentials of it, as well as how this influences the dynamics of the source plasma as a whole. +Due to the natural contact potential differences of the materials at the rear wall an electric field can be present. Additionally, a power supply is also present to change the potential present. The influence of this rear wall potential on the behavior of the plasma as a whole is not known. Thus it is necessary to investigate its effects onto the particle behavior close to the rear wall, which influences measurable quantities like the current at the rear wall, and the particles and fields closer to the open end of the source tube. The behavior farther away from the rear wall is of interest since the goal is to understand the influence of the plasma onto the beta decay electrons and thus studying the question if the rear wall potential can improve the conditions in the source such that the influence of the plasma is as small as possible. %\begin{itshape} %\begin{itemize}\setlength{\itemsep}{-2pt} %\item Scientific questions you want to address @@ -210,7 +210,7 @@ By doing so, numerical momentum dissipation and unphysical self-forces are preve The last step updates the electromagnetic fields, using a second order leap-frog scheme for the computation of Maxwell's equations. Only components of the current and the electric and magnetic fields, which are stored on the Yee lattice, are used in this step. -The pseudo-2d addition decomposes all fields $\bold{F}$ defined on a grid according to their Fourier series. This also gives rise to a different form of the Maxwell equations for the electric and magnetic field components. +The pseudo-2D addition decomposes all fields $\bold{F}$ defined on a grid according to their Fourier series. This also gives rise to a different form of the Maxwell equations for the electric and magnetic field components. Dependent on the upper limit $m_\text{max}$ used for the decomposition there are $2m_\text{max}$ additional grids have to be simulated for all quantities defined on the grid. @@ -234,7 +234,6 @@ It is capable of simulating kinetic, collisionless, magnetized plasmas self-cons The overall design of the code is based on the concept of maintaining second order accuracy in both time and space and computing time evolution explicitly. To probe and minimize the effect of the discrete grid on plasma wave evolution, the field solver can be tuned to achieve optimal results \cite{vay_2011}. Different boundary conditions -- periodic, conductive walls, absorbing walls -- can be selected according to the physical problem to be modeled. -Furthermore, the field solver can be switched to electrostatic mode or Darwin approximation \cite{fang_2009}. The \textit{ACRONYM} code employs the blitz++, fftw3 and HDF5 libraries. @@ -275,7 +274,7 @@ However, actual production runs are usually not as heavy on output as the scalin Further bottlenecks are not present \cite{kempf_2014}. %\footnote{see also p. 11-21 in supporting material}. -The pseudo-2d addition of ACRONYM increases the amount of grids that have to be maintained, however there are no additional quantities that would require a new or different approach of communication between processes than that already existent within the standard version. This results in more data to be communicated yet the overall scaling should not be influenced. +The pseudo-2D addition of ACRONYM increases the amount of grids that have to be maintained, however there are no additional quantities that would require a new or different approach of communication between processes than that already existent within the standard version. This results in more data to be communicated yet the overall scaling should not be influenced. \newpage @@ -284,7 +283,7 @@ The pseudo-2d addition of ACRONYM increases the amount of grids that have to be \subsection{Justification of resources requested} The overall size of the simulation depends on the maximal number density used for the initialization, since the physical size of the problem is fixed, namely a cylinder of length $16$ meters and a radius of $4.5$ centimeters. -The highest density thus gives the size of the simulation domain, which leads to a grid size of $36800 \times 103$. Due to the increased number of grids the time to write output increases, thus for an estimate of the computational time a value of $2\times 10^5$ particle updates per second is taken as a rough guiding value, which was obtained from smaller scale simulations. This estimate was also obtained by runs with a maximum mode $m_\text{max} = 2$. In order to arrive at an estimate of the total computational time it is assumed that the particle updates per second scale inversely to $m_\text{max}$.\\ The number of particles per run are also fixed by using approximately 221 particles per cell.\\ To obtain a somewhat reasonable temporal resolution about $1\times 10^5$ steps have to be simulated. +The highest density thus gives the size of the simulation domain, which leads to a grid size of $36800 \times 103$. Due to the increased number of grids the time to write output increases, thus for an estimate of the computational time a value of $2\times 10^5$ particle updates per second is taken as a rough guiding value, which was obtained from smaller scale simulations. This estimate was also obtained by runs with a maximum mode $m_\text{max} = 2$. In order to arrive at an estimate of the total computational time it is assumed that the particle updates per second scale inversely to $m_\text{max}$.\\ The number of particles per run are also fixed by using 221 particles per cell on average.\\ To obtain a somewhat reasonable temporal resolution about $1\times 10^5$ steps have to be simulated. This leads to two types of simulations to be performed: \begin{itemize} @@ -295,7 +294,13 @@ This leads to two types of simulations to be performed: For runs of type 2 the run-time depends on the optimal value of $m_\text{max}$ found in runs of type 1, thus the values given in table \ref{tab_CPU_resources} use the maximal number of higher modes planned to use for type 1 simulations to obtain estimates.\\ Additionally, the dependence on the electron and neutral density requires another set of runs with a lower initial electron density. This reduced value requires a grid of size $11600 \times 33$, at the same number of 221 particles per cell. -These types of simulation do require the same type of sub-projects described above, since the change in physics is not easily anticipated. +These types of simulation do require the same type of sub-projects described above, since the change in physics is not easily anticipated.\\ +To avoid the unnecessary transfer of particle and field data, post-processing will also need to be done. The main steps are to visualize the field data, calculate the potential from the electric field and the calculation of dispersion relations. +\begin{itemize} +\item Post-processing 1: Visualization of $2m+1$ fields, depends on size of the simulation domain +\item Post-processing 2: Dispersion calculation $2m+1 \times 36800$ cells $\times 10000$ time steps +\item Potential calculation from fields maximally $36800\times 103 \times 2m+1$ cells +\end{itemize} \begin{table}[H] \caption{\label{tab_CPU_resources}The following CPU resources are requested} @@ -310,7 +315,10 @@ These types of simulation do require the same type of sub-projects described abo Sub-proj. 2 & 2 & $36800\times 103\times 221$ & 10 & $1\times 10^5$ & 4 & 4600 & $4.6\times 10^6$ \\ Sub-proj. 1 & 1 & $11600\times 33\times 221$ & 4 & $2\times 10^5$ & 5 & 400 & $4.0\times 10^5$ \\ Sub-proj. 2 & 2 & $11600\times 33\times 221$ & 10 & $2\times 10^5$ & 5 & 400 & $1.0\times 10^6$ \\ - +Post-Processing & 1 & $9\times36800\times103$ & 50 & 1 & 4 & 1 & $2\times 10^2$ \\ +Post-Processing & 2 & $9\times36800\times 10000$ & 60 & 1 & 100 & $6 \times 10^3$ \\ +Post-Processing & 3 & $9\times36800\times103$ & 50 & 1 & 5 & 1 & $2.5\times 10^2$ \\ +\multicolumn{8}{c}{\vdots}\\ \hline\hline TOTAL & & & & & & & $8\times 10^6$\\ \end{tabular} @@ -376,7 +384,7 @@ TOTAL & & & & & & & $8\times 10^6$\\ \rule{\textwidth}{0.4pt} \subsection{Resource management} -Due to previous work on SuperMUC the work outline is pretty clear: Existing parameter files have to be appended for different background potential values, maximum azimuthal mode number and particle numbers. The simulations can be started almost immediately. +Due to previous work on other supercomputer the work outline is pretty clear: Existing parameter files have to be appended for different background potential values, maximum azimuthal mode number and particle numbers. The simulations can be started almost immediately. % % % @@ -396,15 +404,14 @@ This sub-project is carried out first in order to identify the optimal number of Following the decision of the optimal maximal azimuthal mode from the first sub-project the simulations of different background potentials can be carried out. Here 5 different potential values are chosen, which first are simulated to reach an equilibrium state with minimal output. Then these states are restarted to obtain the actual quantities needed for the analysis.In order to find a sweet spot between very frequent restarts and large performance loss due to I/O from a large processor number an intermediate number of cores has been chosen, which will result in 3-6 restarts (which will also decrease the risk of a catastrophic loss of computing time). - \bigskip -%\begin{figure}[H] -%\begin{flushleft} -% \includegraphics[scale=0.82]{bilder/gantt.pdf} -%\end{flushleft} -% \caption{\label{fig_workschedule}Work schedule for the project.} -%\end{figure} +\begin{figure}[H] +\begin{flushleft} + \includegraphics[scale=0.82]{bilder/GanttChart.pdf} +\end{flushleft} + \caption{\label{fig_workschedule}Work schedule for the project.} +\end{figure} \section{Key Personnel and Experiences} \rule{\textwidth}{0.4pt}\\ @@ -417,7 +424,7 @@ Following the decision of the optimal maximal azimuthal mode from the first sub- \textsc{Christian Sendlinger, B.Sc.} (christian.sendlinger [at] stud.uni-heidelberg.de)\\ %\begin{adjustwidth}{10pt}{} - C. Sendlinger is heavily involved in the maintenance and improvement of the ACRONYM codebase. He is currently working on implementing the pseudo-2d version of ACRONYM and will run and evaluate simulations of the KATRIN source tube in the context of this project. + C. Sendlinger is heavily involved in the maintenance and improvement of the ACRONYM codebase. He is currently working on implementing the pseudo-2D version of ACRONYM and will run and evaluate simulations of the KATRIN source tube in the context of this project. \section{Bibliographic References}