HLRS Vlad: minor changes
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 59 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -53,7 +53,7 @@
|
||||
|
||||
\bigskip
|
||||
\textbf{HPC system(s) and corresponding centre(s)}\\
|
||||
\phantom{MM} \textit{Hawk, HLRS}
|
||||
\phantom{MM} \textit{HAWK, HLRS}
|
||||
|
||||
\bigskip
|
||||
\textbf{Project ID or project acronym}\\
|
||||
@@ -157,17 +157,45 @@ but it can also be extended to a pseudo-2D version without requiring too much me
|
||||
%\textit{Provide a brief summary of your preliminary work in connection with the proposed project, including references.}\\
|
||||
%\textit{(about 1 to 2 pages)}
|
||||
|
||||
The potential created by source plasma has been investigated in the PhD-thesis of \cite{Kellerer2022}.
|
||||
The potential created by the source plasma has been investigated in the PhD-thesis of \cite{Kellerer2022}.
|
||||
Results from the Monte Carlo code KARL, like energy spectrum of the electrons and their density
|
||||
have been used as a starting point for 3D kinetic particle in cell simulations.
|
||||
These used a modified version of the ACRONYM code that incorporates an approximation for the cylindrical boundary.
|
||||
|
||||
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,
|
||||
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.
|
||||
A simulation cycle was performed, using the results for the particles from KARL
|
||||
as starting parameters for ACRONYM to calculate plasma processes.
|
||||
After that, the electric field gained from this is put back into KARL,
|
||||
starting the cycle again.
|
||||
It was hypothesized that this way, the simulations would converge to an equilibrium.
|
||||
Because of the fast absorption of electrons by the metal wall,
|
||||
a high electric field developed fast and prevented this hypothesized convergence
|
||||
to an equilibrium.
|
||||
|
||||
\begin{figure}[H]
|
||||
\label{fig_karl}
|
||||
\includegraphics{Figures/comparison_density_potential.pdf}
|
||||
\caption{Different particle densities calculated by KARL for different rear wall potentials. Data and plot from \cite{Kellerer2022}}
|
||||
\end{figure}
|
||||
|
||||
Some of the particle species present in the simulation,
|
||||
namely secondary and beta electrons,
|
||||
only had a small part of the total particle number.
|
||||
This results in a large noise level of the PiC simulation results.
|
||||
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.
|
||||
|
||||
The above mentioned problems showed the need of a Vlasov solver that combines
|
||||
the calculation of atomic and molecular processes with plasma processes.
|
||||
Especially the direct calculation of an electric field is handy
|
||||
and can be used to compare the results from the two approaches to the problem later.
|
||||
|
||||
%--> Randschicht aus KARL
|
||||
%--> Acronym teil aus Jonas PHD
|
||||
|
||||
\newpage
|
||||
|
||||
@@ -206,6 +234,8 @@ which describe the propagation and interaction of electromagnetic fields and cur
|
||||
The experiment is symmetric around the z-axis and therefore effectively 2D.
|
||||
However, because the numerical cost of a 2D Boltzmann solver is not reasonable,
|
||||
it was decided that a 1D problem is sufficient as a reference.
|
||||
This decision is justified because although a radial dependence of the plasma potential exists,
|
||||
it is not as relevant as the z-dependence.
|
||||
Also, the background magnetic field is constant, keeping the particles on their trajectory.
|
||||
This means all setups are essentially electrostatic and
|
||||
the problem breaks down to the following system of equations:
|
||||
@@ -225,10 +255,13 @@ simple cases, but various approximations for the time evolution of a phase space
|
||||
Previous combinations of Monte Carlo simulations and Particle-in-Cell simulations
|
||||
have shown that the generation of electric fields may not be easily split into atomic and plasma processes.
|
||||
However, the Vlasov solver Vlad does not rely on that separation.
|
||||
This provides the opportunity to to cross-check the evolution of electric fields
|
||||
This provides the opportunity to cross-check the evolution of electric fields
|
||||
in a self-consistent way that includes plasma and atomic processes.
|
||||
|
||||
While the VLAD code performs well on average ($\approx 10^6$ phase space cell updates per node-second) the total cost even for 1D simulations is rather high: For a KATRIN setup the resolution in $z$-direction has to be around $\Delta z\approx 0.6$ mm. The number of cells in $v_z$ direction has to be at least to be $>10000$ in order to resolve the thermal plasma and the beta electrons. Typical equilibrium timescales require more than $5\times 10^6$ time steps.
|
||||
While the VLAD code performs well on average ($\approx 10^6$ phase space cell updates per node-second)
|
||||
the total cost even for 1D simulations is rather high:
|
||||
For a KATRIN setup the resolution in $z$-direction has to be around $\Delta z\approx 0.6$ mm.
|
||||
The number of cells in $v_z$ direction has to be at least $10000$ in order to resolve the thermal plasma and the beta electrons. Typical equilibrium timescales require more than $5\times 10^6$ time steps.
|
||||
|
||||
The plan is now to do simulations with focus on different parameters of interest, leading to three
|
||||
sub-projects.
|
||||
@@ -268,7 +301,7 @@ This is what usually happens when the rear wall is grounded.
|
||||
However, the rear wall potential can also be set to different values.
|
||||
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 on the particle behavior close to the rear wall.
|
||||
Because of collective plasma behaviour and over some time, measurable quantities are influenced
|
||||
Because of collective plasma behavior and over some time, measurable quantities are influenced
|
||||
even up until the other end of the source tube.
|
||||
If set to a fitting value, the rear wall potential can improve the conditions in the source
|
||||
such that the influence of the plasma is as small as possible.
|
||||
@@ -433,26 +466,25 @@ The code has been tested by doing several simulations on the bwForCluster BinAC
|
||||
%\textit{Here we give an example table and plot for presenting scaling and performance information. The presented scaling should range from a single core to the maximal possible number of cores. If this is not doable, the presented scaling should range from the lowest possible number to the maximal possible number of cores for your case. Please \textbf{replace} the text in {\tt Courier} by the appropriate information.}
|
||||
|
||||
\begin{table}[H]
|
||||
\caption{\label{tab_scaling} Scaling behavior of {\tt LINPACK} on {\tt HAWK/Hunter, JUWELS/JUPITER, SuperMUC-NG} at {\tt HLRS, JSC, LRZ}. This test was performed with $5\cdot 10^6$ particles, absolute timings per time step (s) and relative speedup normalized to 1 core are given.}
|
||||
\caption{\label{tab_scaling} Weak scaling behavior of {\tt Vlad} on {\tt HAWK} at {\tt HLRS}. This test was performed with $16\times1000$ cells per CPU, absolute timings per time step (s) and eficiency normalized to 1 core are given.}
|
||||
\begin{center}
|
||||
\setlength{\tabcolsep}{10pt}
|
||||
\renewcommand{\arraystretch}{1.2}
|
||||
\begin{tabular}{lrrrr}
|
||||
\#cores & absolute timing (s) & speedup & Performance per core [MFLOP/s]\\
|
||||
\hline
|
||||
1 & 3781.2 & 1.0 & 800 \\
|
||||
2 & \phantom{1}1890.6 & 2.0 & 800 \\
|
||||
4 & \phantom{1} 945.3 & 4.0 & 800 \\
|
||||
8 & \phantom{1} 472.7 & 8.0 & 800 \\
|
||||
16 & \phantom{1} 236.3 & 16.0 & 800 \\
|
||||
32 & \phantom{1} 118.1 & 32.0 & 800 \\
|
||||
64 & \phantom{1} 59.1 & 64.0 & 800 \\
|
||||
128 & \phantom{1} 32.8 & 115.2 & 720 \\
|
||||
256 & \phantom{1} 18.4 & 204.8 & 640 \\
|
||||
512 & \phantom{1} 10.5 & 358.4 & 559 \\
|
||||
1024 & \phantom{1} 6.2 & 614.4 & 480 \\
|
||||
2048 & \phantom{1} 3.7 & 1024.0 & 400 \\
|
||||
4096 & \phantom{1} 2.3 & 1638.4 & 320 \\
|
||||
\begin{tabular}{lrrr}
|
||||
\#cores & absolute timing (s) & efficiency (\%) \\
|
||||
\hline
|
||||
1 & 0.2131 & 100\\
|
||||
2 & 0.2175 & 97.977\\
|
||||
4 & 0.2179 & 97.797\\
|
||||
8 & 0.2227 & 95.689\\
|
||||
16 & 0.2191 & 97.262\\
|
||||
32 & 0.2208 & 96.513\\
|
||||
64 & 0.2497 & 85.342\\
|
||||
128 & 0.2783 & 76.572 \\
|
||||
256 & 0.2925 & 72.855 \\
|
||||
512 & 0.2861 & 74.484 \\
|
||||
1024 & 0.3047 & 69.938 \\
|
||||
2048 & 0.2955 & 72.115 \\
|
||||
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
@@ -460,9 +492,9 @@ The code has been tested by doing several simulations on the bwForCluster BinAC
|
||||
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\includegraphics[scale=0.75]{Figures/scaling_example.pdf}
|
||||
\includegraphics[scale=0.95]{Figures/scaling.png}
|
||||
\end{center}
|
||||
\caption{\label{fig_scaling}Scaling behavior of {\tt code} on {\tt architecture and system} at {\tt location}. This data was obtained with a problem size of {\tt size}.}
|
||||
\caption{\label{fig_scaling}Weak scaling behavior of {\tt Vlad} on {\tt HAWK} at {\tt HLRS}. This data was obtained with a problem size of {\tt $16\times1000$ cells per CPU}.}
|
||||
\end{figure}
|
||||
|
||||
%\textit{(1 to 2 pages)}
|
||||
@@ -530,17 +562,17 @@ takes less than 10 core hours in total.
|
||||
Sub-project & Type & Problem & \# runs & \# steps/ & Wall time/ & \# cores/ & Total \\
|
||||
& of run & size & & run & step [seconds] & run & [core-h] \\
|
||||
\hline\hline
|
||||
Sub-proj. 1 & production & $32768\times500$ & 4 & $2\times 10^7$ & 0.0864 & 2048 & $3.9\times 10^6$ \\
|
||||
~ & visualization & $32768\times500$ & 4 & $2000$ & 2.72 & 1 & $6.1$ \\
|
||||
Sub-proj. 1 & production & $32768\times500$ & 4 & $2\times 10^7$ & 0.086 & 2048 & $3.9\times 10^6$ \\
|
||||
~ & visualization & $32768\times500$ & 4 & $2000$ & 2.7 & 1 & $6.1$ \\
|
||||
%~ & 2 & $32768\times1000$ & 2 & $1\times 10^7$ & 0.3456 & 2048 & $3.9\times 10^6$ \\
|
||||
Sub-proj. 2 & production & $16384\times500$ & 10 & $1\times 10^6$ & 0.0864 & 1024 & $2.5\times 10^5$ \\
|
||||
~ & production & $16384\times1000$ & 2 & $1\times 10^6$ & 0.3456 & 1024 & $2.0\times 10^5$ \\
|
||||
~ & production & $16384\times2000$ & 2 & $1\times 10^6$ & 1.3824 & 1024 & $7.9\times 10^5$ \\
|
||||
~ & visualization & $16384\times500$ & 10 & $100$ & 1.36 & 1 & $0.4$ \\
|
||||
~ & visualization & $16384\times1000$ & 2 & $100$ & 2.72 & 1 & $0.2$ \\
|
||||
~ & visualization & $16384\times2000$ & 2 & $100$ & 5.44 & 1 & $0.3$ \\
|
||||
Sub-proj. 3 & production & $32768\times500$ & 10 & $1\times 10^6$ & 0.0864 & 2048 & $4.9\times 10^5$ \\
|
||||
~ & visualization & $32768\times500$ & 10 & $100$ & 2.72 & 1 & $0.8$ \\
|
||||
Sub-proj. 2 & production & $16384\times500$ & 10 & $1\times 10^6$ & 0.086 & 1024 & $2.5\times 10^5$ \\
|
||||
~ & production & $16384\times1000$ & 2 & $1\times 10^6$ & 0.346 & 1024 & $2.0\times 10^5$ \\
|
||||
~ & production & $16384\times2000$ & 2 & $1\times 10^6$ & 1.4 & 1024 & $7.9\times 10^5$ \\
|
||||
~ & visualization & $16384\times500$ & 10 & $100$ & 1.4 & 1 & $0.4$ \\
|
||||
~ & visualization & $16384\times1000$ & 2 & $100$ & 2.7 & 1 & $0.2$ \\
|
||||
~ & visualization & $16384\times2000$ & 2 & $100$ & 5.4 & 1 & $0.3$ \\
|
||||
Sub-proj. 3 & production & $32768\times500$ & 10 & $1\times 10^6$ & 0.086 & 2048 & $4.9\times 10^5$ \\
|
||||
~ & visualization & $32768\times500$ & 10 & $100$ & 2.7 & 1 & $0.8$ \\
|
||||
|
||||
|
||||
\hline\hline
|
||||
@@ -556,29 +588,47 @@ TOTAL & & & & & & & $5.6\times 10^6$\\
|
||||
\section{Resource Management and Work Schedule}
|
||||
\rule{\textwidth}{0.4pt}
|
||||
\subsection{Resource management}
|
||||
\textit{Describe how you intend to manage the resources you have requested. This should include a description of the methods you will deploy to monitor progress of the project and how project results are documented.}\\
|
||||
\textit{(0.5 to 1 page)}
|
||||
%\textit{Describe how you intend to manage the resources you have requested. This should include a description of the methods you will deploy to monitor progress of the project and how project results are documented.}\\
|
||||
%\textit{(0.5 to 1 page)}
|
||||
|
||||
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.
|
||||
Existing parameter files have to be appended for different rear wall potential values, maximum number of timesteps and phase space resolution.
|
||||
The simulations can be started almost immediately.
|
||||
|
||||
\subsection{Work schedule}
|
||||
\textit{Provide tables and Gantt charts for a clear presentation of the work schedule, structured in sub-projects, if applicable.}
|
||||
%\textit{Provide tables and Gantt charts for a clear presentation of the work schedule, structured in sub-projects, if applicable.}
|
||||
|
||||
\subsubsection{Sub-project 1: Simulation time}
|
||||
|
||||
This sub-project is carried out first in order to identify
|
||||
the important time scales for the phase space evolution.
|
||||
This is done for the smallest velocity resolution in order to
|
||||
maximize the number of time steps that can be done within a specific wall time.
|
||||
Afterwards the obtained densities and fields have to be visualized and
|
||||
then the second sub-project can be started.
|
||||
|
||||
\subsubsection{Sub-project 2: Velocity resolution}
|
||||
|
||||
The second sub-project does actually not depend on results of the first one.
|
||||
It will carry out simulations with different velocity resolutions while keeping
|
||||
the maximum number of time steps constant.
|
||||
It is planned to do some simulations on the smallest resolution first,
|
||||
to find the best set-up and test velocity-dependent cell sizes.
|
||||
After that, fewer simulations are carried out with higher
|
||||
velocity resolutions on the best simulation set-ups found in the previous simulations.
|
||||
|
||||
\subsubsection{Sub-project 3: Rear wall potential}
|
||||
Here, 10 different potential values are chosen in total,
|
||||
with 5 positive and 5 negative values, to check different possibilities.
|
||||
After each run, the results are immediately visualized to adaptively
|
||||
decide the next promising value of the rear wall potential to be checked.
|
||||
That way, no computational resources should be wasted of simulations
|
||||
with a too high potential value and
|
||||
thus no new physical knowledge to be gained.
|
||||
|
||||
\bigskip
|
||||
%\textit{Example for a Gantt chart:}
|
||||
\begin{figure}[H]
|
||||
\begin{flushleft}
|
||||
\includegraphics[scale=0.45]{Figures/gantt.png}
|
||||
\includegraphics[scale=0.6]{Figures/gantt.png}
|
||||
\end{flushleft}
|
||||
\caption{\label{fig_workschedule}Work schedule for the project.}
|
||||
\end{figure}
|
||||
@@ -588,7 +638,7 @@ The simulations can be started almost immediately.
|
||||
%\textit{Give a short introduction of the key persons involved in the project and their experience (max 3 persons).}\\
|
||||
%\textit{(half a page)}
|
||||
\textsc{PD Dr. Felix Spanier} (felix.spanier@uni-heidelberg.de)\\
|
||||
F. Spanier was the leader of the working group in Würzburg, where the ACRONYM code has been
|
||||
F. Spanier is the leader of the working group in Heidelberg, where the Vlad code has been
|
||||
developed initially. His expertise lies both in theoretical plasma astrophysics and the realization of kinetic
|
||||
plasma simulations. He has supervised the thesis of Dr. J. Kellerer that precedes this project.\\
|
||||
|
||||
@@ -601,9 +651,11 @@ She also runs the Vlad simulations and analyzes their results.\\
|
||||
|
||||
|
||||
\textsc{Christian Sendlinger, M.Sc.} (christian.sendlinger@stud.uni-heidelberg.de)\\
|
||||
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 previously used ACRONYM codebase.
|
||||
He is currently working on improving the KARL code, that provides some of the input values for Vlad.
|
||||
He also ran and evaluated simulations of the KATRIN source tube in the context of this project
|
||||
in the past.
|
||||
With his knowledge gained from these simulations, he supports and supervises A. J. Schulze.
|
||||
|
||||
\section{Bibliographic References}
|
||||
\rule{\textwidth}{0.4pt}\\
|
||||
|
||||
Reference in New Issue
Block a user