%% LaTeX-Beamer template for KIT design %% by Erik Burger, Christian Hammer %% title picture by Klaus Krogmann %% %% version 2.1 %% %% mostly compatible to KIT corporate design v2.0 %% http://intranet.kit.edu/gestaltungsrichtlinien.php %% %% Problems, bugs and comments to %% burger@kit.edu \documentclass[18pt, t]{beamer} %% SLIDE FORMAT % use 'beamerthemekit' for standard 4:3 ratio % for widescreen slides (16:9), use 'beamerthemekitwide' % for widescreen slide without sidebar use 'beamerthemekitwidenosidebar' %\usepackage{templates/beamerthemekit} %\usepackage{templates/beamerthemekitwide} \usepackage{templates/beamerthemekitwidenosidebar} % use this to disable the latex beamer navigation symbols \beamertemplatenavigationsymbolsempty %% TITLE PICTURE % if a custom picture is to be used on the title page, copy it into the 'logos' % directory, in the line below, replace 'mypicture' with the % filename (without extension) and uncomment the following line % (picture proportions: 63 : 20 for standard, 169 : 40 for wide % *.eps format if you use latex+dvips+ps2pdf, % *.jpg/*.png/*.pdf if you use pdflatex) \titleimage{beamline} %% TITLE LOGO % for a custom logo on the front page, copy your file into the 'logos' % directory, insert the filename in the line below and uncomment it %\titlelogo{mylogo} % (*.eps format if you use latex+dvips+ps2pdf, % *.jpg/*.png/*.pdf if you use pdflatex) %% TikZ INTEGRATION % use these packages for PCM symbols and UML classes % \usepackage{templates/tikzkit} % \usepackage{templates/tikzuml} % the presentation starts here \title[KARL]{The KARL Code} \subtitle{\textbf{KARL} - \textbf{KA}trin wgts elect\textbf{R}on and ion spectrum monte car\textbf{L}o simulation} \author{Christian Reiling} \institute{ETP} % Bibliography \usepackage[citestyle=authoryear,bibstyle=numeric,hyperref,backend=biber]{biblatex} \addbibresource{templates/example.bib} \bibhang1em \newcommand{\upd}{\mathrm{d}} \usepackage[version=4]{mhchem} \usepackage{upgreek} \usepackage{siunitx} \usepackage{standalone} \usepackage{comment} \usepackage{tikz} \usetikzlibrary{shapes,arrows,chains} \begin{document} % change the following line to "ngerman" for German style date and logos \selectlanguage{english} %title page \begin{frame} \titlepage \end{frame} %table of contents %\begin{frame}{Outline/Gliederung} %\tableofcontents %\end{frame} \section{Overview} %\subsection{Subsection 1.1} \begin{frame}{Overview} \begin{block}{Aim} \begin{itemize} \item \ce{e-} and ion distribution in WGTS \item Spatial and energy resolution \end{itemize} \end{block} \begin{block}{Input} \begin{itemize} \item Constant electric and magnetic fields \item Fixed \ce{T2} distribution \end{itemize} \end{block} \begin{block}{Method} \begin{itemize} \item Kinetic simulation of particles (\ce{e-}, \ce{T+}, \ce{T2+}, \ce{T3+}, \ce{T5+}) \item Runtime density calculation $\rightarrow$ Interaction probability \item Starting point: $\upbeta$-decay electrons \end{itemize} \end{block} \end{frame} \section{Simulation Algorithm} \begin{frame}{Simulation algorithm} \begin{figure}[tb] \centering \includestandalone[scale=0.9]{pics/single_core} %\caption{Single core flow chart.} %\label{fig:cod:sing} \end{figure} \end{frame} \begin{frame}{Particle simulation algorithm} \begin{figure}[tb] \centering \includestandalone[scale=0.9]{pics/particle} %\caption{Single core flow chart.} %\label{fig:cod:sing} \end{figure} \end{frame} \begin{frame}{Interactions} \begin{block}{\ce{e-} - \ce{T2}} \begin{itemize} \item Elastic scattering \item Ionization \item Excitations \end{itemize} \end{block} \begin{block}{\ce{e-} - \ce{T2+}, \ce{T3+}, \ce{T5+} and vice versa} \begin{itemize} \item Recombination \end{itemize} \end{block} \begin{block}{\ce{T+},\ce{T2+}, \ce{T3+}, \ce{T5+} - \ce{T2}} \begin{itemize} \item Elastic scattering \item Cluster formation \end{itemize} \end{block} \end{frame} \begin{frame}{Logging Barrier Method} \begin{itemize} \item Log particles as they pass certain $z$-barrier \item Longitudinal particle flux: \begin{equation*} \frac{\upd j_z}{\upd E} = \Big( \frac{\upd N(v_z>0)}{\upd E}-\frac{\upd N(v_z<0)}{\upd E} \Big)\cdot \frac{1}{A \cdot T} \end{equation*} \item Density contribution of single particle: \begin{equation*} n_i = \frac{\upd t}{T \cdot \upd V} = \frac{\frac{|v_z|}{\upd l}}{T \cdot A \cdot \upd l} = \frac{1}{T \cdot A \cdot |v_{z,\mathrm{i}}|} \end{equation*} \item Total density from sum of $\upd n_i$ \begin{equation*} \frac{\upd n(E)}{\upd E} = \frac{\upd}{\upd E} \sum_{E_i - E < \upd E} n_i \end{equation*} \end{itemize} \begin{align*} \end{align*} \end{frame} \begin{frame}{Runtime density calculation} \begin{itemize} \item Cylindric binning of WGTS with volumes $V_i$ \item Logarithmic energy binning for \ce{e-} \item Sum time of particle in bin to cumulative time $t_\text{cum}$ \item Simulation time $T$ from column density and number of decays \item Density of bin $i$: \begin{equation*} \rho_i(T) = \frac{t_{\text{cum,}i}}{T \cdot V_i} \end{equation*} \item Synchronize densities over all CPUs \end{itemize} \end{frame} \section{Run overview} \begin{frame}{Run overview} \begin{block}{Settings} \begin{itemize} \item \num{{}e5} $\upbeta$-\ce{e-} $\mathrel{\widehat{=}}$ \SI{1}{\milli \second} \item 100 Cores \item No electric fields \end{itemize} \end{block} \begin{block}{Stats} \begin{itemize} \item Duration: \SI{19}{\hour} $\rightarrow$ 52 $\upbeta$-\ce{e-} per CPU$\cdot$h $\mathrel{\widehat{=}}$ \SI{0.5}{\nano \second} per CPU$\cdot$h \item Number secondary \ce{e-} = $1.1\cdot\num{{}e6} \rightarrow$ 11 per $\upbeta$-\ce{e-} \item Termination: 24\% rearwall, 76\% recombination \end{itemize} \end{block} \end{frame} \section{\ce{e-} spectra} \begin{frame}{\ce{e-} spectrum} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_part_e_dndE_z3.png} \end{figure} \end{frame} \begin{frame}{\ce{e-} spectrum at WGTS mid} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_part_e_dndE_zmid.png} \end{figure} \end{frame} \begin{frame}{\ce{e-} spectrum contour} \begin{figure} \centering \includegraphics[width=1\linewidth]{pics/plots/plot_part_e_dndE_hm.png} \end{figure} \end{frame} \begin{frame}{\ce{e-} spectrum comparison} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_part_e_dndE_zmid_comp_fer.png} \end{figure} \end{frame} \begin{frame}{\ce{e-} spectrum comparison with multi z} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_part_e_dndE_z3_comp_fer.png} \end{figure} \end{frame} \section{Longitudinal plots} \begin{frame}{Longitudinal density distribution} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_part_n_z.png} \end{figure} \end{frame} \begin{frame}{Longitudinal density distribution summarized} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/ne_nions_nT2.png} \end{figure} \end{frame} \begin{frame}{Longitudinal density comparison \ce{e-} vs \ce{T2}} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/ne_vs_nT2.png} \end{figure} \end{frame} \begin{frame}{Longitudinal density comparison \ce{e-} vs ions} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/ne_vs_nions.png} \end{figure} \end{frame} \begin{frame}{Longitudinal particle flux density} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_part_jz_z.png} \end{figure} \end{frame} \begin{frame}{Longitudinal particle flux density summarized} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/jze_jzions.png} \end{figure} \end{frame} \begin{frame}{Longitudinal electric current density} \begin{figure} \centering \includegraphics[width=0.57\linewidth]{pics/plots/plot_part_iz_z.png} \end{figure} {\small positive $i_\mathrm{z}\mathrel{\widehat{=}}$ positive charge in positive $z$ direction} \end{frame} \begin{frame}{Longitudinal electric current density summarized} \begin{figure} \centering \includegraphics[width=0.57\linewidth]{pics/plots/ie_iions.png} \end{figure} {\small positive $i_\mathrm{z}\mathrel{\widehat{=}}$ positive charge in positive $z$ direction} \end{frame} \section{Various plots} \begin{frame}{Rearwall current simulation} \begin{figure} \centering \includegraphics[width=0.58\linewidth]{pics/plots/plot_part_rw.png} \end{figure} {\small positive $I_\mathrm{rw}\mathrel{\widehat{=}}$ positive charge hitting rearwall} \end{frame} \begin{frame}{Rearwall current simulation zoomed} \begin{figure} \centering \includegraphics[width=0.58\linewidth]{pics/plots/plot_part_rw_zoom.png} \end{figure} {\small positive $I_\mathrm{rw}\mathrel{\widehat{=}}$ positive charge hitting rearwall} \end{frame} \begin{frame}{Time course of runtime densities} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_pop_n_t.png} \end{figure} \end{frame} \begin{frame}{Final longitudinal distribution of runtime densities} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_pop_n_z.png} \end{figure} \end{frame} \begin{frame}{Final \ce{e-} spectrum from runtime densities} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_pop_e_dndE_z3.png} \end{figure} \end{frame} \begin{frame}{Final \ce{e-} spectrum from runtime densities at WGTS mid} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_pop_e_dndE_zmid.png} \end{figure} \end{frame} \begin{frame}{Comparison \ce{e-} spectrum barrier and runtime} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/pop_part_comp.png} \end{figure} \end{frame} \begin{frame}{\ce{e-} particle flux} \begin{figure} \centering \includegraphics[width=0.6\linewidth]{pics/plots/plot_part_e_djzdE_z3.png} \end{figure} \end{frame} \begin{comment} \section{Scale validation} \begin{frame}{Analytical $\upbeta$-spectrum model} \begin{block}{Number $\upbeta$-\ce{e-} passing} \begin{itemize} \item $\upbeta$-\ce{e-} don't interact \item Number $\upbeta$-\ce{e-} passing no $z$ depency: \begin{equation*} N = N_+(z) + N_{\mathrm{refl}} = A_\upbeta = \SI{{}e11}{\per \second} \end{equation*} \item N follow $\upbeta$ - spectrum $f_\upbeta(E)$ \end{itemize} \end{block} \begin{block}{$\upbeta$-\ce{e-} density} \begin{equation*} \frac{\upd n_\upbeta(E, z)}{\upd E} = \frac{\upd n_\upbeta(E)}{\upd E} = \frac{t(E)}{T \cdot V} \cdot N \cdot f_\upbeta(E) = \frac{A_\upbeta}{A} \frac{1}{\cdot v_z(E)} \cdot f_\upbeta(E) \end{equation*} \end{block} $N$: number $\upbeta$-\ce{e-} passing, $t$: average duration in WGTS, $T$: total time, $A$: area of WGTS \end{frame} \end{comment} \appendix \beginbackup \backupend \end{document}