Merge branch 'master' of masterduck.fspanier.de:katrin/katrin-plasma
Conflicts merged, more Ref 2 comments
This commit is contained in:
@@ -205,7 +205,7 @@ For each movement step, the mean free path $\lambda_\text{mfp}$ of the correspon
|
||||
\label{eq:mean_free_path}
|
||||
\lambda_\text{mfp} = \frac{1}{\sum_i \sigma_i(E) n_i} \commaeq
|
||||
\end{equation}
|
||||
where $E$ is the kinetic energy of the particle in the \changed{center of mass} frame, $\sigma_i$ is the cross section of a specific interaction, and $n_i$ the particle number density of the target. \changed{All three of these quantities are with respect to the interaction partner of the i-th interaction.} In the lab frame, the neutral gas has a non-zero drift velocity. The cross sections are evaluated from predefined functions. \changed{The particle number density is either calculated during the simulation for particle species that are tracked or through user input at the beginning of the simulation for particle species that act as a background population}.
|
||||
where $E$ is the kinetic energy of the particle in the \changed{center of mass} frame, $\sigma_i$ is the cross section of a specific interaction, and $n_i$ the particle number density of the target specie of the interaction. In the lab frame, the neutral gas has a non-zero drift velocity. The cross sections are evaluated from predefined functions. \changed{The particle number density is either calculated during the simulation for particle species that are tracked or through user input at the beginning of the simulation for particle species that act as a background population}.
|
||||
%The particle number density of the interaction partner is calculated either from a predefined function for background species, or from the density field for tracked species, see section~\ref{ssec:denstiy_fields} and \ref{sec:implementation} for more information.
|
||||
The actual moved distance $d$ is a statistical quantity, which \changed{is} derived from the MFP through
|
||||
\changed{
|
||||
@@ -461,7 +461,7 @@ The most prominent interaction between low energy particles is elastic scatterin
|
||||
\begin{align}
|
||||
\label{eq:elastic_scattering}
|
||||
\begin{split}
|
||||
e^- + H_2 &\rightarrow e^- + H_2 \fullstop
|
||||
e^- + \text{H}_2 &\rightarrow e^- + \text{H}_2 \fullstop
|
||||
\end{split}
|
||||
\end{align}
|
||||
This interaction can be used for any tracked specie colliding with a background species as the target.
|
||||
@@ -477,7 +477,7 @@ During evaluation of the scattering angle, the energy bin is determined and the
|
||||
In some cases, there is not enough data from one source alone, to cover the whole impact energy range. This is the case for the scattering of electrons with tritium molecules, \changed{where data for the cross section was only available for low impact energies}. At high energies, the scattering angle distribution is determined from the external simulation Elsepa \citep{Salvat:2005aa}, at lower energies isotropic scattering can be assumed. \changed{For these cases, the scattering angle distribution can be composed using the known distributions and a threshold energy defining point of transition between the distributions.}
|
||||
%For these cases, the angle can be determined through the composition of two distributions.
|
||||
|
||||
The cross section of elastic scattering was measured at different experiments in the energy range of \changed{\SI{2e-2}{eV} to \SI{1e2}{eV}}. The results of these experiments were combined by \citep{Tawara.1990} and parameterized by \citep{Yoon.2008}.
|
||||
The cross section of elastic scattering was measured at different experiments in the energy range of \changed{\SI{2e-2}{eV} to \SI{100}{eV}}. The results of these experiments were combined by \citep{Tawara.1990} and parameterized by \citep{Yoon.2008}.
|
||||
|
||||
The interaction itself is performed in multiple steps. First, the velocity of a target particle is determined. It is \changed{a} compound of the drift velocity of the species and a velocity, which is drawn from the underlying velocity distribution. For the tritium gas, the drift velocity is determined in external simulation and the velocity distribution is given by a Maxwell-Boltzmann distribution \citep{Kellerer_2022}.
|
||||
%Note: the following sentence should be a lie. A tracked species should throw an error if any of the two components is initialized with "null"...
|
||||
@@ -490,8 +490,8 @@ There are currently two types of clustering reactions implemented. The first one
|
||||
\begin{align}
|
||||
\label{eq:clustering_radiative}
|
||||
\begin{split}
|
||||
H^+ + H_2 &\rightarrow H_3^+ + h\nu \quad \text{or} \\
|
||||
H_2^+ + H_2 &\rightarrow H_3^+ + H_2 \, .
|
||||
\text{H}^+ + \text{H}_2 &\rightarrow \text{H}_3^+ + h\nu \quad \text{or} \\
|
||||
\text{H}_2^+ + \text{H}_2 &\rightarrow \text{H}_3^+ + \text{H} \fullstop
|
||||
\end{split}
|
||||
\end{align}
|
||||
}
|
||||
@@ -500,9 +500,9 @@ H_2^+ + H_2 &\rightarrow H_3^+ + H_2 \, .
|
||||
The second type of clustering includes three interaction partners:
|
||||
\begin{equation}
|
||||
\label{eq:clustering_tertiary}
|
||||
H^+ + H_2 + H_2 \rightarrow H_3^+ + H_2 \, .
|
||||
\text{H}^+ + \text{H}_2 + \text{H}_2 \rightarrow \text{H}_3^+ + \text{H}_2 \fullstop
|
||||
\end{equation}
|
||||
Since for both types of reactions only the rate coefficients from \citep{Gerlich.1992,Paul.1995} are available, the cross section itself has to be approximated. This has been explained in \citep{Kellerer2022_1000143868} and the resulting cross sections are shown in Figure~\ref{fig:t3p_interactions}.
|
||||
Since for both types of reactions only the rate coefficients from \citep{Gerlich.1992,Paul.1995} are available (which have been determined from an experiment), the cross section itself has to be approximated. This has been explained in \citep{Kellerer2022_1000143868} and the resulting cross sections are shown in Figure~\ref{fig:t3p_interactions}.
|
||||
%Note: if i'm honest, way to little explanation, since rate coefficients themselves are only at a specific temperature etc...
|
||||
}
|
||||
The clustering class is initiated using these \changed{approximated} cross sections, the target specie and the specie, which is the result of the clustering process. In the interaction itself it is assumed that the new particle follows the direction of movement of the target particle, but with different absolute velocity. The new absolute velocity is calculated from the velocity of a target particle and the new particles mass, since the initial direction is less important due to a high probability of collisions with the neutral gas, which quickly randomizes the velocity direction. The velocity of a target particle is determined \changed{analogous} to its calculation in elastic scattering.
|
||||
@@ -512,10 +512,10 @@ The clustering class is initiated using these \changed{approximated} cross secti
|
||||
Recombination is the interaction in which an ion species and an electron species form a neutral particle:
|
||||
\begin{equation}
|
||||
\label{eq:recombination}
|
||||
H^+ + e^- \rightarrow H + h\nu \fullstop
|
||||
\text{H}^+ + e^- \rightarrow \text{H} + h\nu \fullstop
|
||||
\end{equation}
|
||||
}
|
||||
The recombination class is initiated using the cross section and the target specie. The interaction itself has only two steps. First, the target density field logs one deletion at the corresponding position, see section~\ref{ssec:denstiy_fields}. Second, the impact particle is marked for deletion. The different recombination cross sections are given by \citep{Janev.2003,Kotelnikov.2019,Pettersson.2015} \changed{and are plotted in Figures~\ref{fig:t2p_interactions} and \ref{fig:t3p_interactions}.}
|
||||
The recombination class is initiated using the cross section and the target specie. The interaction itself has only two steps. First, the target density field logs one deletion at the corresponding position, see section~\ref{ssec:denstiy_fields}. Second, the impact particle is marked for deletion. The different recombination cross sections are given by analytic calculations \citep{Janev.2003,Kotelnikov.2019,Pettersson.2015} \changed{and are plotted in Figures~\ref{fig:t2p_interactions} and \ref{fig:t3p_interactions}.}
|
||||
|
||||
\paragraph{Free movement}
|
||||
The free movement interaction is only a helper class, which is necessary if no other interaction should be used \changed{or if the cross section is zero, e.g. if the energy is below the threshold of an interaction}. It provides the simulation with a very small cross section, which results in a very large mean free path. This large \changed{MFP} guarantees a\changed{n interaction-}free movement through the simulation domain. If the interaction step is evoked for a particle nothing is done.
|
||||
@@ -525,7 +525,7 @@ The free movement interaction is only a helper class, which is necessary if no o
|
||||
Only the following type of charge exchange interactions is considered
|
||||
\begin{equation}
|
||||
\label{eq:charge_exchange}
|
||||
H_2^+ + H_2 \rightarrow H_2 + H_2^+ \, .
|
||||
\text{H}_2^+ + \text{H}_2 \rightarrow \text{H}_2 + \text{H}_2^+ \fullstop
|
||||
\end{equation}
|
||||
I.e. charge exchange processes are only possible between a background species and the corresponding singly charged ion.
|
||||
}
|
||||
@@ -536,9 +536,9 @@ The charge exchange class is initiated using the cross section and the target sp
|
||||
The target particle can be excited if the collision energy is above the corresponding excitation energy. This is mainly the case in electron collisions with the background gas
|
||||
\begin{equation}
|
||||
\label{eq:excitation}
|
||||
e^- + H_2 \rightarrow e^- + H_2^* \commaeq
|
||||
e^- + \text{H}_2 \rightarrow e^- + \text{H}_2^* \commaeq
|
||||
\end{equation}
|
||||
where $H_2^*$ is either rotationally, vibrationally or electronically excited version of $H_2$.
|
||||
where H$_2^*$ is either rotationally, vibrationally or electronically excited version of H$_2$.
|
||||
}
|
||||
The excitation class is initiated using the cross section, the target specie and the excitation energy. In the interaction itself, first the velocity and direction of movement of the impact particle is determined. Second the kinetic energy of the particle \changed{is} calculated and reduced by the excitation energy. Lastly, the new velocity is determined from the reduced energy and direction of movement. This is a simple but effective method for excitation processes. However, no scattering is considered here. This is justifiable, because excitation processes are often much \changed{less }likely than elastic scattering processes and therefore scattering angle effects do not play a significant role. The excellent paper by \citep{Janev.2003} provides more insight into the cross sections. \changed{The cross sections are plotted in Figure~\ref{fig:et2_interactions}, where a sum over all final excitation states has been performed}.
|
||||
|
||||
@@ -547,14 +547,14 @@ The excitation class is initiated using the cross section, the target specie and
|
||||
In a molecular background gas there are two types of electron ionization processes. In the first one, the target only loses an electron
|
||||
\begin{equation}
|
||||
\label{eq:ionization_non_diss}
|
||||
e^- + H_2 \rightarrow e^- + e^- + H_2^+ \, .
|
||||
e^- + \text{H}_2 \rightarrow e^- + e^- + \text{H}_2^+ \fullstop
|
||||
\end{equation}
|
||||
In the second one the target itself also dissociates:
|
||||
\begin{equation}
|
||||
\label{eq:ionization_diss}
|
||||
e^- + H_2 \rightarrow e^- + e^- + H^+ + H \commaeq
|
||||
e^- + \text{H}_2 \rightarrow e^- + e^- + \text{H}^+ + \text{H} \commaeq
|
||||
\end{equation}
|
||||
where the $H$ might also be left in an excited state.
|
||||
where the H might also be left in an excited state.
|
||||
}
|
||||
The ionization class is initiated using the cross section, the target specie, the new electron specie, the new ion specie, the ionization energy, \changed{the ionization energy distribution} and the scattering angle distribution. It is developed for ionization of the target specie by impact of a particle, which is much lighter than the target. However, the code does not check for this condition.
|
||||
|
||||
@@ -728,7 +728,7 @@ It can be seen that the data is well described by the fit with little deviations
|
||||
\begin{figure}[tbp]
|
||||
\centering
|
||||
\includegraphics[width=0.8\textwidth]{figures/fit_boltzmann_errorbars.pdf}
|
||||
\caption{Electron spectrum and fit. Monoenergetic electrons are injected with energies of $E_\text{inj.} = \SI{8}{meV}$ into a neutral gas reservoir with a Maxwell-Boltzmann distributed velocity $(T = \SI{80}{K}$). No other interactions are activated than elastic scattering and the cross section of elastic scattering is set to a constant value. The data from the numerical experiment is fitted by a scaled Maxwell-Boltzmann distribution ($T_\text{fit} = \SI{80.40 \pm 0.08}{K}$). The error bars are calculated by using six simulations with different random seeds \changed{but otherwise unchanged parameters}.}
|
||||
\caption{Electron spectrum and fit. Monoenergetic electrons are injected with energies of $E_\text{inj.} = \SI{8}{meV}$ into a neutral gas reservoir with a Maxwell-Boltzmann distributed velocity $(T = \SI{80}{K}$). No other interactions are activated than elastic scattering and the cross section of elastic scattering is set to a constant value. The data from the numerical experiment is fitted by a scaled Maxwell-Boltzmann distribution ($T_\text{fit} = \SI{80.40 \pm 0.08}{K}$). The error bars are calculated by using six simulations with different random seeds \changed{but otherwise unchanged parameters}. The $R^2$ value for the fit is 0.9998.}
|
||||
\label{fig:boltzmann_test}
|
||||
\end{figure}
|
||||
|
||||
@@ -950,16 +950,16 @@ Figure~\ref{fig:maxInteractions_vs_density_2e22} shows the same plot as before b
|
||||
|
||||
The simulation tool KARL was designed to determine the charged particle distributions inside of the KATRIN source and to investigate influences of external parameters on this spectrum. Some results of charged particle spectra, particle densities and currents at various positions in the source were already presented and discussed in \citep{Kellerer_2022}, including a comparison of results at different source conditions.
|
||||
|
||||
It was calculated using a factor 10 reduced particle density in the source compared to the simulations in \citep{Kellerer_2022}. The specific input file can be found at $\text{simulation\_config}/\text{parameter}/\text{katrin.json}$. Source parameters for this scenario include the standard geometry $L=\SI{1657}{\centi\meter}$, $R=\SI{4.5}{\centi\meter}$ and a magnetic field of $B=\SI{2.5}{\tesla}$. The maximum neutral tritium density was chosen to be $n_{\text{T}_2}= \SI{6.3E19}{\per\cubic\meter}$. The most important numerical parameters are the maximum interaction number of $10^6$ and a maximal drift distance of $\SI{1e-3}{\meter}$
|
||||
It was calculated using a factor 10 reduced particle density in the source compared to the simulations in \citep{Kellerer_2022}. The specific input file can be found at $\text{simulation\_config}/\text{parameter}\_\text{katrin\_example.json}$. Source parameters for this scenario include the standard geometry $L=\SI{1657}{\centi\meter}$, $R=\SI{4.5}{\centi\meter}$ and a magnetic field of $B=\SI{2.5}{\tesla}$. The maximum neutral tritium density was chosen to be $n_{\text{T}_2}= \SI{6.3E19}{\per\cubic\meter}$. The most important numerical parameters are the maximum interaction number of $10^6$ and a maximal drift distance of $\SI{1e-3}{\meter}$
|
||||
|
||||
\begin{figure}[tbp]
|
||||
\centering
|
||||
\includegraphics[width=0.8\textwidth]{figures/spectrum_at_z=8_at_period=LastSyncPeriod.pdf}
|
||||
\caption{Particle spectra in the centre of the source. Simulated using a maximum Tritium density of \SI{6.3E19}{\per\cubic\meter} and a constant magnetic background field of \SI{2.5}{T}}
|
||||
\caption{Particle spectra in the center of the source. Simulated using a maximum Tritium density of \SI{6.3E19}{\per\cubic\meter} and a constant magnetic background field of \SI{2.5}{T}.}
|
||||
\label{fig:katrin_particle_spectrum}
|
||||
\end{figure}
|
||||
|
||||
It can be seen, that the electron spectrum has a significantly different shape than the spectrum of the ions. It reaches up to values of \SI{18.3}{keV}, while the ion spectra drop of at approximately \SI{0.1}{eV}. This behavior can be attributed to the different creation mechanism and interactions of the particles \citep{Kellerer_2022}.
|
||||
It can be seen, that the electron spectrum has a significantly different shape than the spectrum of the ions. It reaches up to values of \SI{18.3}{keV}, while the ion spectra drop off at approximately \SI{0.1}{eV}. This behavior can be attributed to the different creation mechanism and interactions of the particles \citep{Kellerer_2022}.
|
||||
|
||||
Electrons are created with energies drawn from the Fermi distribution of $\upbeta$-decay and are then cooled down by ionization and excitation processes. Furthermore electrons can perform elastic scatterings with the neutral gas. The combination of the processes produce the shown spectrum, with the characteristic Fermi distribution at high energies ($> \SI{100}{eV}$), the thermal like distribution at low energies ($< \SI{0.1}{eV}$) and the intermediate distribution including the ionization cutoff at approximately \SI{10}{eV}.
|
||||
|
||||
@@ -987,9 +987,9 @@ The KARL code has some features that make it unique compared to previous simulat
|
||||
|
||||
In the context of the KATRIN experiment this has a number of applications: 1) The particle distributions are an input quantity for further plasma simulations that are requiring spatially resolved data. 2) The current through the rear wall is one observable for the experiment. 3) The current through the radial wall may explain missing electrons and scattering processes close to the wall.
|
||||
|
||||
The absolute current to the tube is also influenced by the density profile of electrons and ions. There is no analytic expression of the radial currents. It can be seen that the shape of the current towards the beam tube is similar to the shape of the neutral particle density. This is caused by the increased elastic scattering probability in the center due to the increased neutral gas density. The $T^+$ current is below the T$^{3+}$ current, which is caused by the density difference and the different Larmor radius of the two ion species. The current of T$^+$ is in the same order of magnitude than the current of the electrons, even though the masses of both species are significantly different. This behavior is caused by the large difference in density. There is a contribution of $T^{2+}$ to the radial current. This means that there must be a non-negligible amount of charge transfer reactions, or that enough $T^{2+}$ is created close to the beam tube walls. The shape of the T $2+$ current does not coincide perfectly with the tritium density. Thus, it must be assumed in first order that both effects play a role.
|
||||
%The absolute current to the tube is also influenced by the density profile of electrons and ions. There is no analytic expression of the radial currents. It can be seen that the shape of the current towards the beam tube is similar to the shape of the neutral particle density. This is caused by the increased elastic scattering probability in the center due to the increased neutral gas density. The T$^+$ current is below the T$_3^+$ current, which is caused by the density difference and the different Larmor radius of the two ion species. The current of T$^+$ is in the same order of magnitude than the current of the electrons, even though the masses of both species are significantly different. This behavior is caused by the large difference in density. There is a contribution of T$_2^{+}$ to the radial current. This means that there must be a non-negligible amount of charge transfer reactions, or that enough T$_2^{+}$ is created close to the beam tube walls. The shape of the T$_2^+$ current does not coincide perfectly with the tritium density. Thus, it must be assumed in first order that both effects play a role.
|
||||
|
||||
The composition of different species with respect to the position along the $z$-axis is one example of the outputs of the KARL code. Fig. \ref{fig:densities_all_vs_z} shows the graph where one can see that the electron density resembles the tritium gas density, while T$^2+$ has a flat distribution. T$^3+$ as a product of clustering has its density maximum also farther out. In general the higher clusters have a much higher density than the one- and two-atomic ions.
|
||||
The composition of different species with respect to the position along the $z$-axis is one example of the outputs of the KARL code. Fig. \ref{fig:densities_all_vs_z} shows the graph where one can see that the electron density resembles the tritium gas density, while T$_2^+$ has a flat distribution. T$_3^+$ as a product of clustering has its density maximum also farther out. In general the higher clusters have a much higher density than the one- and two-atomic ions.
|
||||
|
||||
\begin{figure}[tbp]
|
||||
\centering
|
||||
@@ -1002,7 +1002,7 @@ The composition of different species with respect to the position along the $z$-
|
||||
The longitudinal particle current was determined through 33 virtual planes in longitudinal direction. The planes were aligned in such a way that the first and last longitudinal plane coincide with the rear wall and the passage to the DPS. The corresponding longitudinal current profile can be found in Fig. \ref{fig:tube_current_vs_z}.
|
||||
The shape of the electron current is as expected. Electrons are reflected at the DPS and the corresponding current is therefore zero. Electrons are most likely to be terminated at the rear wall. Thus, the electron current is the highest here. The electron current decreases continuously from the rear wall towards the DPS. Hence, the electrons can move from the upstream side towards the downstream side and are not hindered from passing by the neutral gas flow.
|
||||
|
||||
The ions are created in the center and stream to both sides. There is no driving force of the ions towards the other side of the inlet. Thus, the ion current at the inlet (8m) is zero. The current heading towards the DPS and towards the rear wall is almost identical. The differences can be explained by the accessory tritium gas between the first pump and the rear wall.
|
||||
The ions are created in the center and stream to both sides. There is no driving force of the ions towards the other side of the inlet. Thus, the ion current at the inlet (\SI{8}{m}) is zero. The current heading towards the DPS and towards the rear wall is almost identical. The differences can be explained by the accessory tritium gas between the first pump and the rear wall.
|
||||
|
||||
\begin{figure}[tbp]
|
||||
\centering
|
||||
@@ -1012,11 +1012,11 @@ The ions are created in the center and stream to both sides. There is no driving
|
||||
\label{fig:tube_current_vs_z}
|
||||
\end{figure}
|
||||
|
||||
The sum of the ion current leaving the source at the DPS and at the rear wall is below the electron current leaving at the rear wall. This can only be explained through an ion current, which is directed towards the beam tube. The orresponding current was detected through a radial virtual plane located at the beam tube walls. The corresponding current can be found in Fig. \ref{fig:comparison_j_n_vs_r}. This current is caused by the change of position of the guiding center after elastic scattering. The difference in position is dependent on the Larmor radius of the particle, which in turn scales with the square root of the mass. Additionally, the cross section of ion scattering is much higher than for electron scattering. Therefore, more collisions occur, which shift the guiding center. Thus, the radial ion current is expected to be significantly higher than the radial electron current.
|
||||
The sum of the ion current leaving the source at the DPS and at the rear wall is below the electron current leaving at the rear wall. This can only be explained through an ion current, which is directed towards the beam tube. The corresponding current was detected through a radial virtual plane located at the beam tube walls. The corresponding current can be found in Fig. \ref{fig:comparison_j_n_vs_r}. This current is caused by the change of position of the guiding center after elastic scattering. The difference in position is dependent on the Larmor radius of the particle, which in turn scales with the square root of the mass. Additionally, the cross section of ion scattering is much higher than for electron scattering. Therefore, more collisions occur, which shift the guiding center. Thus, the radial ion current is expected to be significantly higher than the radial electron current.
|
||||
|
||||
The absolute current to the tube is also influenced by the density profile of electrons and ions. There is no analytic expression of the radial currents. It can be seen that the shape of the current towards the beam tube is similar to the shape of the neutral particle density. This is caused by the increased elastic scattering probability in the center due to the increased neutral gas density. The $T^+$ current is below the T$^{3+}$ current, which is caused by
|
||||
the density difference and the different Larmor radius of the two ion species. The current of T$^+$ is in the same order of magnitude than the current of the electrons, even though the masses of both species are significantly different. This behavior is caused by the large difference in density. There is a contribution of $T^{2+}$ to the radial current. This means that there must be a non-negligible amount of charge transfer reactions, or that enough $T^{2+}$
|
||||
is created close to the beam tube walls. The shape of the T $2+$ current does not coincideperfectly with the tritium density. Thus, it must be assumed in first order that both effects play a role.
|
||||
The absolute current to the tube is also influenced by the density profile of electrons and ions. There is no analytic expression of the radial currents. It can be seen that the shape of the current towards the beam tube is similar to the shape of the neutral particle density. This is caused by the increased elastic scattering probability in the center due to the increased neutral gas density. The T$^+$ current is below the T$_3^{+}$ current, which is caused by
|
||||
the density difference and the different Larmor radius of the two ion species. The current of T$^+$ is in the same order of magnitude than the current of the electrons, even though the masses of both species are significantly different. This behavior is caused by the large difference in density. There is a contribution of T$_2^{+}$ to the radial current. This means that there must be a non-negligible amount of charge transfer reactions, or that enough T$_2^{+}$
|
||||
is created close to the beam tube walls. The shape of the T$_2^+$ current does not coincide perfectly with the tritium density. Thus, it must be assumed in first order that both effects play a role.
|
||||
|
||||
|
||||
\begin{figure}[tbp]
|
||||
@@ -1025,6 +1025,8 @@ is created close to the beam tube walls. The shape of the T $2+$ current does no
|
||||
\caption{Current in radial direction as a function of radius using the standard KATRIN setup with varying background magnetic fields. }
|
||||
\label{fig:comparison_j_n_vs_r}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\section{Build instructions}
|
||||
In order to compile the source code of KARL, download the code on a Unix system and follow the instructions in the README file. The necessary dependencies are listed in the REQUIRED file. A sample configuration file (test\_parameter.json) can be found in the KARL folder simulation\_config.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ gr { color: Green }
|
||||
cs { color: Red; background-color: White }
|
||||
fs { color: Yellow; background-color: Black}
|
||||
csfs {color: Orange; background-color: #5f6a6a }
|
||||
done {color: green}
|
||||
done {color: green; font-style: italic}
|
||||
reply {color: blue; font-weight: bold}
|
||||
note {color: red; background-color: Black; font-style: italic; font-weight: bold}
|
||||
</style>
|
||||
@@ -21,7 +21,7 @@ development of specific pieces of software. However, as a reader of this journal
|
||||
1. <done>The physics underlying the simulations is not laid out in detail, and concepts that seem relevant are not clearly explained.</done><br>
|
||||
<reply>We have tried to outline the basic concepts and underlying assumptions in the introduction. Along with other changes laid outer later we have attempted to streamline the reasoning of the article </reply>
|
||||
|
||||
2. <done>F: The advantages of this new code with respect to others Monte Carlo codes already available and which could allow the same quantities to be obtained are not discussed. A more or less systematic comparison with the results obtained with these other Monte Carlo codes is missing. These comparisons have been included neither in this manuscript nor in the authors’ article in J. Inst (Ref. [7]), which is continually used as a reference for this work.</done><br>
|
||||
2. <done>The advantages of this new code with respect to others Monte Carlo codes already available and which could allow the same quantities to be obtained are not discussed. A more or less systematic comparison with the results obtained with these other Monte Carlo codes is missing. These comparisons have been included neither in this manuscript nor in the authors’ article in J. Inst (Ref. [7]), which is continually used as a reference for this work.</done><br>
|
||||
<reply>We have included a section on the comparison with Monte Carlo codes that address the same physical setup. Unfortunately there is only a handful of codes that do something remotely similar to what we have done here. One could discuss e.g. the application of code frameworks like GEANT for these calculations, but to our understanding the effort to fit our problem into GEANT is about as complex as developing a new code. Should there be other codes out there which we have not taken into consideration we would be grateful for a hint. We would then add further benchmarks. </reply>
|
||||
|
||||
3. <done>I find it particularly inappropriate, and unusual, not to analyze in detail different examples that show the advantages of the code presented here. The authors restrict to a single case in which only the elastic scattering is tested. If only this scattering is tested, how the authors can state that this permit to ensure that the whole code can be considered correct?</done><br>
|
||||
@@ -33,22 +33,23 @@ Apart from that, I have pointed out several drawbacks, which I list below.
|
||||
Consequently, I do not recommend publication of this manuscript.
|
||||
|
||||
1. Abstract.
|
||||
- <done>: What is described in the Abstract is exactly the same simulation logic of any Monte Carlo code that simulates the particle transport in a medium. I should expect some information concerning the actual novelties of the new code.</done><br>
|
||||
- <done>What is described in the Abstract is exactly the same simulation logic of any Monte Carlo code that simulates the particle transport in a medium. I should expect some information concerning the actual novelties of the new code.</done><br>
|
||||
<reply>The abstract has been reformulated avoiding any repetition of standard Monte Carlo techniques.</reply>
|
||||
- <cs>C: “The code is parallelized using ... terminator, interaction types, movers and initialization.” This is difficult to understand and refers to details that are too specific.<br>Some of the comments are also obvious: the input of a program is expected to provide information about the simulation that the program is to carry out. What is the “resolution of the simulation domain”? What are the “user defined species”? What are the terminator and the movers?</cs>
|
||||
- <done>“The code is parallelized using ... terminator, interaction types, movers and initialization.” This is difficult to understand and refers to details that are too specific.<br>Some of the comments are also obvious: the input of a program is expected to provide information about the simulation that the program is to carry out. What is the “resolution of the simulation domain”? What are the “user defined species”? What are the terminator and the movers?</done><br><reply> We agree that these pieces of information are to specific for the abstract, so they have been removed. </reply>
|
||||
1. <done>Again, most of the information provided in sections 2 and 3 refer to the standard logic followed by all Monte Carlo codes simulating radiation-matter interaction that I know. A clear description of the novelties of the new code should be done making the corresponding comparisons with other available Monte Carlo codes that would be unable to do the same work. </done><br>
|
||||
<reply>We have tried to sharpen the profile of sections 2 and 3. The comparison to other codes is done in a later section. As outlined before in this reply we are not aware of any publicly available code which solves the problem of tritium interactions.</reply>
|
||||
2. <cs>C: Concerning equation (1): What is an “interaction partner”? Where is entering the drift velocity of the neutral gas? What are the predefined functions used to calculate the cross sections?</cs>
|
||||
3. <cs>C: Equation (2) is not the most efficient way to calculate the “moved distance”. You should use d = −λmfp ·log η because this saves a division. In addition, and concerning the comment just after this equation, it is worth noting that the number of collisions in a given path length follows a Poisson distribution, but distances moved are distributed exponentially.</cs> <note> Changed; would not be a bottleneck in any case; poisson stuff also rephrased </note>
|
||||
2. <done>Concerning equation (1): What is an “interaction partner”? Where is entering the drift velocity of the neutral gas? What are the predefined functions used to calculate the cross sections?</done><br><reply> We tried to clarify the meaning of "interaction partner" in the text. "Predefined functions" are (as the name implies) functions that are defined within the code to evaluate the cross sections for the different types of interactions. </reply>
|
||||
3. <done>Equation (2) is not the most efficient way to calculate the “moved distance”. You should use d = −λmfp ·log η because this saves a division. In addition, and concerning the comment just after this equation, it is worth noting that the number of collisions in a given path length follows a Poisson distribution, but distances moved are distributed exponentially.</done> <br> <reply> We have added a sentence specifying the exponential distribution of distances moved and adapted the calculation. It should be mentioned however, that for the equation itself there is no difference between original and new version and that within the code the additional division would not create a noticable overhead since a large part of the computational time is spent in the movement step. </repy>
|
||||
4. <done> Figure 2, without dimensions and no further explanations, seems to me not much useful.<done><br><reply>We believe the sketch gives some insight into the grid used for the source. The content could be spelled out also but the graphic representation seems more self-explanatory. </reply>
|
||||
5. <done> First paragraph of section 3: I should say that the characteristics mentioned are not exclusive of C++ and that, in my opinion, any modern programming language could do the job.</done><br>
|
||||
<reply>C++ is not the only choice, but when looking for a fast, object-oriented language which is widely used it is in our view the first choice. We have clarified this.</reply>
|
||||
6. Some information about details of the simulation would be acknowledged.<br>
|
||||
<cs>- As an example I mention: “The movement itself is subdivided into in smaller steps. How big are these steps or how are they defined?</cs><br>
|
||||
<done>- As an example I mention: “The movement itself is subdivided into in smaller steps. How big are these steps or how are they defined?</done><br> <reply> The step size is defined by the user in the parameter file. We have added some more information about how the size should be chosen. </reply>
|
||||
<done>- But the question is more general. There are not details about elements that are usual in any Monte Carlo simulation of the transport of particles in materials: absorption energies, tracking parameters, simulation geometry construction and management, etc.</done><br><reply>We are not exactly sure whether we understand this correctly, we can only guess that the referee infers the logic used in Monte Carlo simulation frameworks like GEANT, where e.g. detectors are simulated. To our understanding some of these concepts are not relevant to the type of simulation we are pursuing: Absorption energies are not used since particle-particle interactions are simulated inside the tritium gas directly using the single processes (and particles leaving the source through the wall are out of the equation). Particle tracks are essentially followed, but not recorded only cumulative parameters are considered. If we are in the logic of GEANT the only parameter for the track of a particle is its maximum interaction number. The geometry is a cylinder for all cases anyway. </reply>
|
||||
1. <done>C: In figure 3, a red line indicates an “ideal scaling”. This is not mentioned at all in the text: what is its purpose?</done><br><reply>The text now mention this now explicitly and its purpose is now explained.</reply>
|
||||
2. <csfs>F, C: Figure 4 shows data and a fit of them. No information of the function used for the fit is given, no information about the values of the best fit parameters is given, and no <note> information about the goodness of the fit </note> is given. In addition, no information about the details of the simulations carried out is given. The figure caption informs that the uncertainties have been calculated from a total of six simulations. Apart from the small and “strange” number (why not 5 or 3 or 10), there is no information about the number of histories simulated in each run and the simulation parameters chosen.</csfs>
|
||||
1. <done>F: A comparison with other codes for the spectra shown in figure 5 lacks in order to judge the advantages of the new code. Here there is no information about the simulations geometry (dimensions, materials, compositions, densities, ...) and about the simulation carried out. Concerning the spectra in this figure, the last sentence of the section says: “The spectrum shows very clearly that all processes for the particles interact in a non-trivial manner. It is therefore necessary to use a sophisticated tool like KARL to simulate their behavior inside the KATRIN source. Apart from the fact that the sentence is not correct (it seems that something lacks), I have difficulties to understand how the spectra shown actually provide the information about all interaction processes as stated.</done><br><reply> First of all we would like to reiterate that KARL is not an advanced code for a well-known problem but to our knowledge the first, freely available codefor the simulation of tritium gas processes. This makes a comparison to other code especially difficult. We have added a comparison to the only freely available result from other simulations. Also some paragraphs on advanced features have been added alongside with the physical parameters for these simulations (in the source code directory a JSON file for these parameters is given). We have reformulated the claim to reflect the fact that many different processes may occur. The existence of for example T3+ can e.g. only be explained by multi-stage reaction, which in turn depends non-linearly on the tritium density.</reply>
|
||||
1. <done>In figure 3, a red line indicates an “ideal scaling”. This is not mentioned at all in the text: what is its purpose?</done><br><reply>The text now mentions this explicitly and its purpose is now explained.</reply>
|
||||
2. <done>Figure 4 shows data and a fit of them. No information of the function used for the fit is given, no information about the values of the best fit parameters is given, and no information about the goodness of the fit is given. In addition, no information about the details of the simulations carried out is given. The figure caption informs that the uncertainties have been calculated from a total of six simulations. Apart from the small and “strange” number (why not 5 or 3 or 10), there is no information about the number of histories simulated in each run and the simulation parameters chosen.</done>
|
||||
<br><reply> We have added the important information about the test simulations to the text and added the R-square value for the fit in the caption of the corresponding figure. The funciton used is a Maxwell Boltzmann distribution scaled by the square root of the energy to account for the binning of the energy and the time a particle spends in a specific cell due to its velocity. Furthermore, we have included the input parameter file(s) for all test cases within the code repository. Since six simulations already yield an exteremely good fit, more simulations would not result in an improvement. </reply>
|
||||
1. <done>A comparison with other codes for the spectra shown in figure 5 lacks in order to judge the advantages of the new code. Here there is no information about the simulations geometry (dimensions, materials, compositions, densities, ...) and about the simulation carried out. Concerning the spectra in this figure, the last sentence of the section says: “The spectrum shows very clearly that all processes for the particles interact in a non-trivial manner. It is therefore necessary to use a sophisticated tool like KARL to simulate their behavior inside the KATRIN source. Apart from the fact that the sentence is not correct (it seems that something lacks), I have difficulties to understand how the spectra shown actually provide the information about all interaction processes as stated.</done><br><reply> First of all we would like to reiterate that KARL is not an advanced code for a well-known problem but to our knowledge the first, freely available codefor the simulation of tritium gas processes. This makes a comparison to other code especially difficult. We have added a comparison to the only freely available result from other simulations. Also some paragraphs on advanced features have been added alongside with the physical parameters for these simulations (in the source code directory a JSON file for these parameters is given). We have reformulated the claim to reflect the fact that many different processes may occur. The existence of for example T3+ can e.g. only be explained by multi-stage reaction, which in turn depends non-linearly on the tritium density.</reply>
|
||||
2. <done>Throughout the text, the reader is made to go back and forth in the reading, with continuous references to different sections (previous and subsequent), making it a practically impossible task.</done><br><reply>After re-arranging the paper we have also redacted the crosslinks which should drastically increase the readability</reply>
|
||||
3. <done>F: In addition, there is a continuous reference to the Ph. D. thesis of one of the authors and to the paper above mentioned when some, may be relevant, details of the simulation should be provide. As an example, the paragraph “In some cases, there is not enough data ... ”, in pg.14 when elastic scattering is described, does not explain nothing and mentions things like “external simulations” that are incomprehensible.</done><br><reply> We have now added some of the relevant examples in the paper now. The sentence with "external simulations" has been written in a misleading way. The external simulations refer to the source of the cross sections for which no continous expression exists. We have tried to straighten out this sentence. </reply>
|
||||
4. <done>C: In modern physics texts, vector quantities are usually written in boldface instead of using an arrow on top of the symbol.</done><br> <reply>We have adapted the bold style, but we would like to point that we have followed the journal style without any changes for the vector style. </reply>
|
||||
3. <done>In addition, there is a continuous reference to the Ph. D. thesis of one of the authors and to the paper above mentioned when some, may be relevant, details of the simulation should be provide. As an example, the paragraph “In some cases, there is not enough data ... ”, in pg.14 when elastic scattering is described, does not explain nothing and mentions things like “external simulations” that are incomprehensible.</done><br><reply> We have now added some of the relevant examples in the paper now. The sentence with "external simulations" has been written in a misleading way. The external simulations refer to the source of the cross sections for which no continous expression exists. We have tried to straighten out this sentence. </reply>
|
||||
4. <done>In modern physics texts, vector quantities are usually written in boldface instead of using an arrow on top of the symbol.</done><br> <reply>We have adapted the bold style, but we would like to point that we have followed the journal style without any changes for the vector style. </reply>
|
||||
@@ -5,7 +5,7 @@ gr { color: Green }
|
||||
cs { color: Red; background-color: White }
|
||||
fs { color: Yellow; background-color: Black}
|
||||
csfs {color: Orange; background-color: #5f6a6a }
|
||||
done {color: green}
|
||||
done {color: green; font-style: italic}
|
||||
reply {color: blue; font-weight: bold}
|
||||
note {color: red; background-color: Black; font-style: italic; font-weight: bold}
|
||||
</style>
|
||||
@@ -28,20 +28,20 @@ The paper omits much of the information that is the most interesting about this
|
||||
1. <done>Almost all the "results" are referred out to Ref [7], which makes the reader wonder why it is necessary to have two papers rather than one. I would like to encourage the authors to bring the results forward into this text. I also encourage them to include the scripts that generate these as documented examples in the code repository, since these are the actual code use cases that an external user may want to recreate.
|
||||
</done><br><reply>We have extended the "results" section and included the necessary scripts to re-run those and possibly extend them. The intention of this paper has been primarily to make the code publicly available along with documentation. We understand that the documentation effort has not been sufficient in first place, but we hope that this problem has now been remedied. </reply>
|
||||
|
||||
1. <cs>C, F: Barely any performance estimates are given. For the two stepper algorithms, for example, how different are the simulation results, and at what relative CPU cost? What degree of uncertainty is associated with granularity of the geometry? How many events need be simulated for a typical application in KATRIN and how long does this take? Which of the processes carry the most time cost, and can any of them be neglected for faster simulations without losing too much accuracy?
|
||||
</cs>
|
||||
3. <done>Barely any performance estimates are given. For the two stepper algorithms, for example, how different are the simulation results, and at what relative CPU cost? What degree of uncertainty is associated with granularity of the geometry? How many events need be simulated for a typical application in KATRIN and how long does this take? Which of the processes carry the most time cost, and can any of them be neglected for faster simulations without losing too much accuracy?
|
||||
</done><br><reply> We have added a performance estimate for the two mover algorithms. These do not include any sort of estimate about the physical time for a simulation, however, a scaling graph is provided in the paper. All of the remaining issues depend very strongly on the specific setup of a simulation. E.g. the uncertainty of the geometry depends a lot on the gradients within the provided profile of the background gas and the most costly process depends on the magnitude of the background gas, since that determines the mean free path. </reply>
|
||||
|
||||
1. <done>I took a look at the source code. There are almost no comments anywhere, in either the headers or source, and this is especially problematic when many of the functions accept an argument that is simply named "object". It seems to me it would be good practice to add comments to at least add comments to explain what each function does, what it accepts as input and gives as output.
|
||||
</done><br> <reply> We have written extensive comments for the source code. Our main objective was to make the functions readable, some of the inner workings are not that well documented. </reply>
|
||||
|
||||
1. <done>C, F: There are some example scripts given in the codebase, but they are not referenced in the paper, do not come with documentation, and it is not clear what they do in terms of expected input, processing and output. Somewhere it should be made clear how one should run these examples, what they do, and what the expected output is. Furthermore, the examples should contain at least some semi-realistic use cases of the code for addressing relevant physics questions for tritium experiments.
|
||||
5. <done>There are some example scripts given in the codebase, but they are not referenced in the paper, do not come with documentation, and it is not clear what they do in terms of expected input, processing and output. Somewhere it should be made clear how one should run these examples, what they do, and what the expected output is. Furthermore, the examples should contain at least some semi-realistic use cases of the code for addressing relevant physics questions for tritium experiments.
|
||||
</done><br> <reply> We have added a section to the README in karl that explains a bit what the different given json files are. A semi-realistic use case is always included with katrin_parameter_example.json.</reply>
|
||||
|
||||
I now proceed to give some line-by-line comments -
|
||||
|
||||
Page 3:
|
||||
|
||||
Line 27: <done>C: Please define what is meant by "high" energy electrons. How dominant is elastic scattering over inelastic in this energy range?
|
||||
Line 27: <done>Please define what is meant by "high" energy electrons. How dominant is elastic scattering over inelastic in this energy range?
|
||||
</done><br> <reply>We have rephrased this completely. High-energy electrons usually refers to energies near the endpoint of beta decay. </reply>
|
||||
|
||||
Line 32: <done>I don't know what is meant by "ab initio" in this sentence.
|
||||
@@ -65,14 +65,14 @@ Line 24: <done>mention the mean free path used to sample a poisson process (as w
|
||||
|
||||
Line 28: <done>> "density is proportional to cumulated time" - presumably it depends not only on the time but also on the flux into the segment and also the volume of the segment? How large are the segments? Is there variability of density across those segments?</done> <br><reply> It is of course completely valid to calculate the time integral of the in- and outflux at the boundaries which would give the density inside the boundaries via the continuity equation. We use an equivalent formulation: With the known number of total particles one can calculate the fraction of time spent within one specific part of the simulation volume. The time fraction is then translated into a density fraction. This is explained later in the paper in more detail. The formulation of course only yields an average density. </reply>
|
||||
|
||||
Line 31: <done>"likeliness of recombination" → "rate of recombination"?</done> <reply> Reworded the sentence to make the original intent clearer </reply>
|
||||
Line 31: <done>"likeliness of recombination" → "rate of recombination"?</done> <br> <reply> We have reworded the sentence to make the original intent clearer </reply>
|
||||
|
||||
Page 5:
|
||||
|
||||
Line 21: <done>mean free path has been used earlier, introduce the acronym then.</done><br><reply>Done</reply>
|
||||
Line 21: <done>mean free path has been used earlier, introduce the acronym then.</done><br><reply>We have removed the acronym earlier in the text.</reply>
|
||||
|
||||
Page 9:
|
||||
<done>C: "Additionally, the particle class only accepts…" → the relevance of this comment is not clear to me. What would be the alternative?</done><br> <reply> The sentence has been removed.</reply>
|
||||
<done>C: "Additionally, the particle class only accepts…" → the relevance of this comment is not clear to me. What would be the alternative?</done><br> <reply> We have removed that sentence since it was indeed superfluous. </reply>
|
||||
|
||||
Page 10: <done> F: "The density fields need a higher resolution than the density difference". Why? Can you be quantitative about the scale of error introduced with some different resolutions? Perhaps a plot showing the accuracy for a few choices?</done><br><reply>The mean free path can only be calculated on the base of local quantities. When particles move through large density differences this may cause a problem. Our solution to the problem is to stop motion at boundaries and rolling the mfp again. The practical effect on the other hand is minimal: For all simulations the maximum distance is significantly smaller anyway.</reply>
|
||||
|
||||
@@ -81,26 +81,26 @@ Page 11-12: <done> F: It reads oddly that the drift mover is treated in so much
|
||||
Page 13: <done>
|
||||
I see that trapped particles are killed by the simulation. But doesnt this invalidate the density field calculation, since trapped particles should have a very long retention time and hence contribute a lot to the density? Do trapped particles also</done><br><reply>You are essentially correct: Dumping particles could invalidate the density fields. This is a somewhat delicate choice of the max interaction counter. We have added some plots showing which max interaction numbers yield correct density fields. </reply>
|
||||
|
||||
Line 36: <cs>C: what does "macroscopic" mean in this sentence?</cs> <note> changed; let someone read over to check if better </note>
|
||||
Line 36: <done>what does "macroscopic" mean in this sentence?</done> <br> <reply> We have removed the mention of the "macroscopic cross section" entirely and have specified, that it is the cross section scaled by the density of the target specie. </reply>
|
||||
|
||||
Figure 1: <csfs>C, F: Don't the ions and electrons - especially trapped ones - contribute to the space charge in the volume, and hence affect the E and B fields? So shouldn't there be a line "into" the E and B fields box from somewhere? How are the effects of space charge handled in general?</csfs>
|
||||
Figure 1: <csfs>Don't the ions and electrons - especially trapped ones - contribute to the space charge in the volume, and hence affect the E and B fields? So shouldn't there be a line "into" the E and B fields box from somewhere? How are the effects of space charge handled in general?</csfs>
|
||||
|
||||
General comment: <cs>C: for each kind of interaction I recommend to include an equation so its clear to the reader what the process is, e.g. "elastic scattering e + X -> e+ X, where X=[T2, ….or whatever else]". I understand that the code is written to allow flexibility so these can be extended, but explaining what is implemented now will help the reader understand the role of each process.</cs> <note> Included prototypical interaction examples and changed text a bit </note>
|
||||
General comment: <done>for each kind of interaction I recommend to include an equation so its clear to the reader what the process is, e.g. "elastic scattering e + X -> e+ X, where X=[T2, ….or whatever else]". I understand that the code is written to allow flexibility so these can be extended, but explaining what is implemented now will help the reader understand the role of each process.</done> <br> <reply> We have included an example for each interaction in the proposed way. However, we refrained from the usage of "X" since that would unnecessarily complicate the examples. </reply>
|
||||
|
||||
Page 14: <done>Elastic scattering: please include figures of the various cross sections, indicating the models that are combined, the data, and the version recommended for use in simulations in KARL.</done><br><reply>This has been updated.</reply>
|
||||
|
||||
Line 40: <done>"for tracked particles the drift velocity is assumed to be zero and the density field". Why is this a valid assumption? I can imagine a particle making gyro orbits has a typical velocity much larger than its mean drift velocity, for example.</done><br><reply>This sentence has been extremely misleading - we have removed it completely.</reply>
|
||||
|
||||
Line 44: <done>C, F: the description here is confusing. Presumably theta and phi are drawn in the COM frame and then mapped to lab frame, not vice versa, right? It reads here as if they are randomly drawn in the lab frame, if thats so please explain why and how.</done>
|
||||
Line 44: <done>the description here is confusing. Presumably theta and phi are drawn in the COM frame and then mapped to lab frame, not vice versa, right? It reads here as if they are randomly drawn in the lab frame, if thats so please explain why and how.</done>
|
||||
<br><reply> As before we have clarified the use of lab and COM frame, which should solve this problem.</reply>
|
||||
|
||||
Clustering: <fs>F: please include a figure with the cross sections. It is actually not totally clear here what clustering interactions are considered (what exactly is the initial state and what is the final state), can you explain it more explicitly? Please also briefly explain the approaches taken in refs 15,16 to evaluate these cross sections.</fs><br><reply>As for many other processes also here more plots and equations are given.</reply> %Reference 19&20
|
||||
Clustering: <done>please include a figure with the cross sections. It is actually not totally clear here what clustering interactions are considered (what exactly is the initial state and what is the final state), can you explain it more explicitly? Please also briefly explain the approaches taken in refs 15,16 to evaluate these cross sections.</done><br><reply>As for many other processes also here more plots and equations are given. With regard to Ref 19&20 (formerly Ref 15&16) we now point out that this has been determined experimentally. We do not feel qualified to explain the process better than the original authors.</reply>
|
||||
|
||||
Page 15: <fs>F: Recombination: please include a figure giving the cross sections from data and recommended cross section for use in KARL. Briefly explain the approaches taken in 17,18,19 to measure or evaluate these cross sections. Also, can you comment on whether recombination strictly two body or if three body effects are improtant, for example?</fs>
|
||||
Page 15: <done>Recombination: please include a figure giving the cross sections from data and recommended cross section for use in KARL. Briefly explain the approaches taken in 17,18,19 to measure or evaluate these cross sections. Also, can you comment on whether recombination strictly two body or if three body effects are improtant, for example?</done><br><reply>As above we have added plots a short mention about the method of cross section determination.</reply>
|
||||
|
||||
Charge exchange: <done>please give figures, equation for process, brief discussion on how its measured.</done><br><reply>Figures have been added.</reply>
|
||||
|
||||
Excitation: <done>C, F: same comment as above.</done><br><reply></reply>
|
||||
Excitation: <done>same comment as above.</done><br><reply></reply>
|
||||
|
||||
Page 16: <done>Line 15: Shouldn't the ionization energy threshold be applied in the center of mass frame? Text suggests it is in the lab frame. Please also give plots of cross sections etc.</done><br><reply>You are completely right, this has been corrected. "A few" cross section plots have been added. </reply>
|
||||
|
||||
@@ -112,43 +112,43 @@ First paragraph of this section seems verbose, can be trimmed down.
|
||||
<br>Line 41: I don't understand why the sentence begins "However," -this seems to imply something in contradiction to the previous paragraph, but it is not. Instead consider "Alternatively,"</done>
|
||||
<reply> We have rephrased this paragraph.</reply>
|
||||
|
||||
Line 53: <done>F: what is the meaning of either "reasonable" and "robust" in this context?</done><br><reply>We have changed this to physically correct and low-noise</reply>
|
||||
Line 53: <done>what is the meaning of either "reasonable" and "robust" in this context?</done><br><reply>We have changed this to physically correct and low-noise</reply>
|
||||
|
||||
Line 55: <done>F: This is the first mention of rotation. Where is the physics of molecular rotation included? Is it improbable? How much so? Please expand.</done><br><reply>After internal discussions we have reached the conclusion that mentioning molecular rotation at this stage is unnecessary. </reply>
|
||||
Line 55: <done>This is the first mention of rotation. Where is the physics of molecular rotation included? Is it improbable? How much so? Please expand.</done><br><reply>After internal discussions we have reached the conclusion that mentioning molecular rotation at this stage is unnecessary. </reply>
|
||||
|
||||
Page 19:
|
||||
Line 40: <done>C, F: I think "however" is an odd construction here. I would suggest to begin with "the injector class can be configured in a number of ways. The most commonly used is…". And later, "another approach to injection is…"</done><br> <reply> The "however" was removed </reply>
|
||||
Line 40: <done>I think "however" is an odd construction here. I would suggest to begin with "the injector class can be configured in a number of ways. The most commonly used is…". And later, "another approach to injection is…"</done><br> <reply> The "however" was removed </reply>
|
||||
|
||||
Figure 3: <cs>C</r>: Please explain "weak scaling" and "Ideal" in this figure.</cs>
|
||||
Figure 3: <cs>Please explain "weak scaling" and "Ideal" in this figure.</cs> <br> <reply> We have added a short explanation of the figure in the text. </reply>
|
||||
|
||||
Page 21:
|
||||
|
||||
Line 16: <cs>C: less than 1Gb, but for how many events?</cs> <note> text change necessary? It is mentioned that only derived properties (density, current, deletions) are stored, for which the size does not depend on the number of events. Maybe mention the parameters for the largest output? </note>
|
||||
Line 16: <cs>C: less than 1Gb, but for how many events?</cs> <br> <note> text change necessary? It is mentioned that only derived properties (density, current, deletions) are stored, for which the size does not depend on the number of events. Maybe mention the parameters for the largest output? </note>
|
||||
|
||||
<done>Lines 20-21: I find it hard to understand what this sentence is trying to tell me.</done><br><reply>We are unsure which sentence was meant here>
|
||||
<done>Lines 20-21: I find it hard to understand what this sentence is trying to tell me.</done><br><reply>We are unsure which sentence was meant here</reply>
|
||||
|
||||
Line 37: <cs>C: Value has to be provided by its value and its unit; dual use of the word value, seems circular?</cs> <note> changed, proof-reading necessary </note>
|
||||
Line 37: <done>Value has to be provided by its value and its unit; dual use of the word value, seems circular?</done> <br> <reply> We have rephrased this sentence to be more clear in the division of physical vs numerical value. </reply>
|
||||
|
||||
<done>Line 42: "Functions are an integral part of the code", is this not a statement about code in general, or perhaps even mathematics in general?</done><br><reply>We have removed this more philosophical statement.</reply>
|
||||
|
||||
Line 42: <csfs> C, F: More generally in this section it seems far too many words are spent explaining concepts that any user of this code will already know, and can be easily inferred from reading the source code, for example, explaining what a scalar or vector field is. It seems that lines P21 L42 - Page 22 L33 could be replaced with a single sentence, "the code implements utility classes for functions returning scalar fields, and three kinds of vector fields (constant vector, Z-pointing vector, and generic vector)", for example.</csfs>
|
||||
Line 42: <csfs> More generally in this section it seems far too many words are spent explaining concepts that any user of this code will already know, and can be easily inferred from reading the source code, for example, explaining what a scalar or vector field is. It seems that lines P21 L42 - Page 22 L33 could be replaced with a single sentence, "the code implements utility classes for functions returning scalar fields, and three kinds of vector fields (constant vector, Z-pointing vector, and generic vector)", for example.</csfs>
|
||||
|
||||
Page 24:
|
||||
<csfs> C, F
|
||||
<csfs>
|
||||
The particle queue is introduced, and then it is clarified that it is not a queue. The code design seems appropriate, but can't the authors then rename it to something other than a queue, since it is not one??</csfs> Queue2List
|
||||
|
||||
Test cases section:
|
||||
|
||||
<csfs> C, F
|
||||
The test provided is one useful unit test. But it does not seem to me to be as generic a test as the authors claim, since recovery of the Maxwell Boltzmann distribution after thermalization is a very generic expectation and would happen in any energy and momentum-conversing system where the particle kinematics are randomized by interactions with background gas - this test would pass even if the various interactions, geometry, etc were implemented dramatically wrongly. Some more strenuous tests (compared to either data or calculated expectations) would seem to me to be appropriate to validate the code, here.</csfs>
|
||||
<done>
|
||||
The test provided is one useful unit test. But it does not seem to me to be as generic a test as the authors claim, since recovery of the Maxwell Boltzmann distribution after thermalization is a very generic expectation and would happen in any energy and momentum-conversing system where the particle kinematics are randomized by interactions with background gas - this test would pass even if the various interactions, geometry, etc were implemented dramatically wrongly. Some more strenuous tests (compared to either data or calculated expectations) would seem to me to be appropriate to validate the code, here.</done> <br> <reply> We have extended the test cases section by a test for each of the implemented interactions. We agree that due to the H-theorem any collision dominated particle distribution will thermalize. The other tests are therefore more sophisticated. </reply>
|
||||
|
||||
Page 26:
|
||||
|
||||
<done>F: Ref [7] is referenced heavily here. I think it is not really appropriate to defer all discussions of tests and results to another paper - if it is not a self contained reference to the code, its not so clear what the purpose of the current paper is. I suggest:
|
||||
<done> Ref [7] is referenced heavily here. I think it is not really appropriate to defer all discussions of tests and results to another paper - if it is not a self contained reference to the code, its not so clear what the purpose of the current paper is. I suggest:
|
||||
Include results of tests here and
|
||||
Ensure they are implemented as example scripts in the code base.</done><br><reply>
|
||||
We have followed your suggestion and moved a number of results and many tests - the majority of those are not included in [7] - in the paper. We would like to point out that the primary purpose of this paper is the distribution of simulation tools which are required by the community. </reply>
|
||||
|
||||
Page 27:
|
||||
|
||||
Line 15-24 <done>F: a lot of claims are given here in a short space it is not obvious from the results presented that this is the interpretation. Can the authors provide more plots or quantitative arguments to demonstrate that the observed distributions are a result of the expected dynamics of clustering?</done><br><reply>We have now added the cross section graph for the clustering and also several plots showing the composition of the species. It seems evident for us that with growing distance from the center the tritium ions undergo clustering processes. </reply>
|
||||
Line 15-24 <done>a lot of claims are given here in a short space it is not obvious from the results presented that this is the interpretation. Can the authors provide more plots or quantitative arguments to demonstrate that the observed distributions are a result of the expected dynamics of clustering?</done><br><reply>We have now added the cross section graph for the clustering and also several plots showing the composition of the species. It seems evident for us that with growing distance from the center the tritium ions undergo clustering processes. </reply>
|
||||
Reference in New Issue
Block a user