Merge branch 'master' of masterduck.fspanier.de:katrin/katrin-plasma into master
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -388,15 +388,7 @@ If the magnetic field is uniform and electric fields are present, the choice bec
|
||||
\subsection{Termination}
|
||||
\label{ssec:termination}
|
||||
|
||||
The termination of particles is addressed by the terminator class. It checks for three different conditions. First it checks, if the particle has left the simulation geometry. For the KATRIN experiment the geometry can be approximated by a cylinder. However, the radius and height have be provided by the user for special analysis. Second, the terminator class checks if the particle has exceeded the user defined number of maximal interactions. This counter was added, to ensure that no trapped particles are tracked by the simulation. Otherwise the simulation would not end. \changed{To assure that the simulation continues to be physically accurate, it is important to choose an appropriate value for the number of maximal interactions. In Figure~\ref{fig:maxInteractions_vs_density} some small test setup has been used %Note: has to be described, probably has to be moved into the Test cases subsection
|
||||
to show the dependence of the density w.r.t. the number of maximal interactions.} This trapping can occur for example through opposite neutral gas flow and reflection by electric fields. Third, the terminator class checks if the particle has exceeded the user defined lifetime. This counter ensures, that particles are not stored indefinitely. This could occur through special configuration of magnetic and electric fields.
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=1\textwidth]{figures/maxInteractions_vs_density.pdf}
|
||||
\caption{Dependence of the densities of different tracked species on the number of maximal interactions. Simulation has been performed using a neutral background specie density of \SI{2.41e24}{\per\cubic\metre}. The densities of the shown species have been averaged over the whole simulation domain.}
|
||||
\label{fig:maxInteractions_vs_density}
|
||||
\end{figure}
|
||||
The termination of particles is addressed by the terminator class. It checks for three different conditions. First it checks, if the particle has left the simulation geometry. For the KATRIN experiment the geometry can be approximated by a cylinder. However, the radius and height have be provided by the user for special analysis. Second, the terminator class checks if the particle has exceeded the user defined number of maximal interactions. This counter was added, to ensure that no trapped particles are tracked by the simulation. Otherwise the simulation would not end. \changed{To assure that the simulation continues to be physically accurate, it is important to choose an appropriate value for the number of maximal interactions. A discussion of this problem will be given below in the test cases section~\ref{sec:test}.} This trapping can occur for example through opposite neutral gas flow and reflection by electric fields. Third, the terminator class checks if the particle has exceeded the user defined lifetime. This counter ensures, that particles are not stored indefinitely. This could occur through special configuration of magnetic and electric fields.
|
||||
|
||||
In addition to the terminator class, the user can choose to add a deletion logger to the specie class. This class is evoked if the particle is deleted. It stores information on the type of deletion, namely if the particle has hit a wall, recombined, formed a cluster, or exceeded the maximum time alive or maximum number of interactions. These values are also added to the output of the simulation. So, this information can be used for debugging, but it can also be used for physical results. For example, the number of recombinations provides an insight if recombination is a dominant process.
|
||||
|
||||
@@ -731,7 +723,8 @@ Due to the predictable change in velocity as well as the conserved direction of
|
||||
n_s = \left(1-\exp\left(-\frac{z - z_\text{neutral}}{\lambda_\text{mfp}(E_\text{inj})}\right)\right) \sqrt{\frac{E_\text{inj}}{E_\text{inj} - E_\text{th}}}n_0 \fullstop
|
||||
\end{equation}
|
||||
Adding $n_u$ and $n_s$ yields the expected density profile.\\
|
||||
Similar calculations can be done for the case of a maximum of two interactions, but for higher interaction counts this becomes increasingly more difficult. Therefore only the case for a single scattering are shown in Figure~\ref{fig:excitation_test_densities}. In this plot the \SI{12}{eV} is also shown to indicate the value of $n_0$. Furthermore, the density for the \SI{20}{eV} case has been scaled such that it fits to $n_0$ in the non-interaction region. It can be seen that the data fits the expectation very well, with the relative error being below 0.5\% everywhere, showing the correctness of the implementation.
|
||||
Similar calculations can be done for the case of a maximum of two interactions, but for higher interaction counts this becomes increasingly more difficult. Therefore only the case for a single scattering are shown in Figure~\ref{fig:excitation_test_densities}. In this plot the \SI{12}{eV} is also shown to indicate the value of $n_0$. Furthermore, the density for the \SI{20}{eV} case has been scaled such that it fits to $n_0$ in the non-interaction region. It can be seen that the data fits the expectation very well, with the relative error being below 0.5\% everywhere. In Figures~\ref{fig:excitation_double_scattering_unscattered},
|
||||
\ref{fig:excitation_double_scattering_singly} and \ref{fig:excitation_doubly_scattering_doubly} the densities for the electrons that have scattered a different amount of time is shown. While the unscattered electrons follow the expectation quite well, the singly and doubly scattered electrons deviate somewhat from the expectation. This might be due to differences in the calculated cross section with the one calculated in the code. In Figure~\ref{fig:excitation_spectrum_500eV} the energy spectrum for an injection energy of $E_\text{inj} = \SI{500}{eV}$ is shown. Overall, it can be seen that the length of the simulation domain is not large enough for any electron to scatter down to below the threshold energy. However a shift in the energy with the maximal density can be seen, as would be expected.
|
||||
}
|
||||
|
||||
\begin{figure}
|
||||
@@ -741,6 +734,34 @@ Similar calculations can be done for the case of a maximum of two interactions,
|
||||
\label{fig:excitation_test_densities}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=1\textwidth]{figures/density_unscattered_double_scattering.pdf}
|
||||
\caption{Density of unscattered electrons for $E_\text{inj} = \SI{33}{eV}$.}
|
||||
\label{fig:excitation_double_scattering_unscattered}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=1\textwidth]{figures/density_singly_scattered_double_scattering.pdf}
|
||||
\caption{Density of singly scattered electrons for $E_\text{inj} = \SI{33}{eV}$.}
|
||||
\label{fig:excitation_double_scattering_singly}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=1\textwidth]{figures/density_doubly_double_scattering.pdf}
|
||||
\caption{Density of doubly scattered electrons for $E_\text{inj} = \SI{33}{eV}$.}
|
||||
\label{fig:excitation_doubly_scattering_doubly}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=1\textwidth]{figures/excitation_spectrum_500eV.pdf}
|
||||
\caption{Electron energy spectrum for $E_\text{inj} = \SI{500}{eV}$ at three different $z$-positions. The neutral density is non-zero only for $z>\SI{0.5}{\m}$.}
|
||||
\label{fig:excitation_spectrum_500eV}
|
||||
\end{figure}
|
||||
|
||||
\paragraph{Clustering}
|
||||
\changed{In the case of an ion-beam moving with a constant direction and velocity through an background gas, with which it can interact via clustering, it is possible to predict the form of the density of the ion beam
|
||||
\begin{equation}
|
||||
@@ -840,6 +861,18 @@ The dependence of the electron density on the ion density are shown in Figure~\r
|
||||
\label{fig:recombination_ne_nt2p}
|
||||
\end{figure}
|
||||
|
||||
\paragraph{Maximum Interaction Count}
|
||||
\changed{TBD}
|
||||
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=1\textwidth]{figures/maxInteractions_vs_density.pdf}
|
||||
\caption{Dependence of the densities of different tracked species on the number of maximal interactions. Simulation has been performed using a neutral background specie density of \SI{2.41e24}{\per\cubic\metre}. The densities of the shown species have been averaged over the whole simulation domain.}
|
||||
\label{fig:maxInteractions_vs_density}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\section{Results}
|
||||
\label{sec:results}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user