diff --git a/nhr_large_scale_project/NHRSW_application_template/template_project_description.tex b/nhr_large_scale_project/NHRSW_application_template/template_project_description.tex index 7724bcd..637a158 100644 --- a/nhr_large_scale_project/NHRSW_application_template/template_project_description.tex +++ b/nhr_large_scale_project/NHRSW_application_template/template_project_description.tex @@ -56,7 +56,7 @@ Application for a Computing Time Project on a System from NHR SW (GU~Frankfurt~+ \newpage \begin{abstract} -The absolute mass of the neutrino is still a heavily researched topic. Several experiments use tritium in order to measure the mass of the electron anti-neutrino. Due to the beta decay of tritium high energy electrons are introduced into the tritium gas, which opens the door for a multitude of interactions between the particles. Due to the non-linear nature of the interactions it is not trivially possible to predict the distributions of the electrons and ions, which are needed for a correct description of the measured energy. This project uses a timeresolved Monte Carlo method and the Poisson equation to simulate the evolution of the charged particle species within the Project-8 experiment. The final goal of this project is the acquisition of the density and energy distributions of both electrons and ions in this experiment. From this data the plasma can be classified and prepared for further analysis using the optimal method. +The absolute mass of the neutrino is still a heavily researched topic. Several experiments use tritium in order to measure the mass of the electron anti-neutrino. Due to the beta decay of tritium high energy electrons are introduced into the tritium gas, which opens the door for a multitude of interactions between the particles. Due to the non-linear nature of the interactions it is not trivially possible to predict the distributions of the electrons and ions, which are needed for a correct description of the measured energy. This project uses a time resolved Monte Carlo method and the Poisson equation to simulate the evolution of the charged particle species within the Project-8 experiment. The final goal of this project is the acquisition of the density and energy distributions of both electrons and ions in this experiment. From this data the plasma can be classified and prepared for further analysis using the optimal method. \end{abstract} \section{Introduction} @@ -132,7 +132,7 @@ Moreover, the interactions of the particles with the wall might create a region The first sub-project is to obtain the equilibrium state using the parameters of the FLARE scenario of Project-8. The simulation domain is modeled as a cylinder of height \SI{5.88}{\m} with a radius of \SI{0.2}{\m}. The average density of atomic Tritium is \SI{1e17}{\per\cubic\m}. The shape of the density distribution is given in a first estimation by the barometric formula, where the gas has a temperature of \SI{5}{\milli\kelvin}. The magnetic field consists of a uniform background component, with an electron cyclotron frequency of \SI{1}{\giga\hertz}. A magnetic bottle component is added in order to trap electrons within the simulation domain. %The first sub-project is a first run from the initial condition until the time an equilibrium is expected. \\ -Due to the decay properties of the tritium gas, the initial distribution of charged particles within the simulation domain is not known. Even during the filling of the experiment some additional charged particles will be introduced. However, since those distributions are not known we have to start at a domain filled only by the background gas. Only after the start of the simulation will charged particles be introduced into the simulation.\\ +Due to the decay properties of the tritium gas, the initial distribution of charged particles within the simulation domain is not known. Even during the filling of the experiment some additional charged particles will be introduced. However, since those distributions are not known we have to start at a domain filled only by the background gas. Only after the start of the simulation charged particles will be introduced into the simulation.\\ These particles then interact with the neutral background gas, which changes the number and energy of the simulated particles. Since the interactions depend strongly on the density as well as the energy of the particles, the influence of the interactions on the density as well as the energy spectra is necessary to use KARL.\\ The time until convergence is not known, which requires for it to be estimated.\\ It is clear that the convergence rate is dominated by the slowest particles in the system. In our case this will always be the ions, due to their much higher mass and roughly thermal distribution. Typical velocities of the ions are about \SI{3.7}{\m\per\s}. It is expected that an ion has to be able to at least traverse the simulation domain before any convergence could be reached. Due to the electric potential, the ions however will be accelerated to much higher velocities. From the loss rate of ions at the walls of the domain in the smaller simulations on NEMO2, an estimate of \SI{200}{\milli\s} for the time until convergence is reached, see figure \ref{fig:ionLossRateNEMO}.\\ @@ -144,7 +144,7 @@ Due to the larger resolution, the time needed for a simulation step will also in \subsubsection{Sub-project 3} The KARL tool directly yields the properties of interest as output. Therefore there is little to no post-processing of the data needed. It does, however, need visualization.\\ -However, after each run the solution has to be checked if convergence to an equilibrium state was achieved. This will be done by calculating the evolution of the total charge from the density output of the respective simulation run. +After each run the solution has to be checked if convergence to an equilibrium state was achieved. This will be done by calculating the evolution of the total charge from the density output of the respective simulation run. \\ % %\textit{(1 to 2 pages per sub-project)} @@ -271,7 +271,7 @@ For the standard version of KARL this becomes negligible since synchronization s From test simulations it is known that the memory requirement per core is less than 2\,GB. The total memory required scales linearly in number of cores since each core has a full copy of all fields, since the parallelization is done in particles and not in any of the spatial or energy coordinates. The output is done in the HDF5 format. Therefore the parallel version of the hdf5 library is needed.\\ Since a large number of timesteps is required simulation runs will have to be restarted, meaning that later runs will depend on earlier ones.\\ In terms of output KARL is quite lightweight. While output could hypothetically be created after every timestep it is not needed or beneficial to do so. For KARL output only needs to be created to be able to restart a simulation and after the total number of timesteps is done simulating. This means only two or three output steps are sufficient per simulation run for KARL. The size of the output depends on the chosen resolution.\\ -For the time-resolved version of KARL, the only change is the increased number of synchronization steps. However, the cost of the communication stays small compared to the cost of the actual simulation of the particles themselves.\\ +For the time resolved version of KARL, the only change is the increased number of synchronization steps. However, the cost of the communication stays small compared to the cost of the actual simulation of the particles themselves.\\ Many arrays within the KARL code use the blitz++ library to utilize slicing as well as vector and array operations. Furthermore, the input file is required to be in the JSON format, and the code uses the jansson library to parse the input file.\\ %(1-2 pages) @@ -420,10 +420,10 @@ Many arrays within the KARL code use the blitz++ library to utilize slicing as w 1 & 3600 & 1 & - 300 + 100 \\ \hline\hline -TOTAL & & & & & & & $6.5 \times 10^6$\\ +TOTAL & & & & & & & $6.4 \times 10^6$\\ \end{tabular} \end{center} \end{table}