From 94a5fc3b012f7d404c2e4513873ded572d375a1e Mon Sep 17 00:00:00 2001 From: csendlinger Date: Tue, 17 Dec 2024 09:35:14 +0100 Subject: [PATCH] Added plot for max interactions vs density, preliminary changes in the tex-file --- .../figures/maxInteractions_vs_density.pdf | Bin 0 -> 25354 bytes docs/paper/the-karl-code/paper.tex | 16 +++++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 docs/paper/the-karl-code/figures/maxInteractions_vs_density.pdf diff --git a/docs/paper/the-karl-code/figures/maxInteractions_vs_density.pdf b/docs/paper/the-karl-code/figures/maxInteractions_vs_density.pdf new file mode 100644 index 0000000000000000000000000000000000000000..9d8248caa5b3f75df179a8091d76d2c17f9cd7af GIT binary patch literal 25354 zcmeIb1zc6l*Dy+Vmnd~WK#@Adfg|1B2uLU$lF}_LEsY@3DIlVV3J545AT82j(ITLT zgd*HIpwHjnzCOSA`|iEpz2Al3u=k!=HEYjWGqYyHr6s4p4--I=a8l z#RU>EF^Hg^ud6jgP}bbT+|k7rBB*6fZve0Y%EUc_wB8HUM#MA86dL#iE@2))7E=8WcSd&~aCJ|5XgkH^vaEln-=ygq_d^YM+us$l{ILW^H zAara@qQM3SwVTM^myI2^`P@FiJ-RKz)@?zLB#%eBg{oe??HgJ5{Bduv& zWcaPcx*t9X%e(HIB@XLcZ4!64H)lw&PCv^CR5w^u?bcmwQh3;nefoKZsru-GYMlAn z&5|;2w3OnP+ttKhWJcY0m!E&5^COiYWlEgL$o=;I`4F9P-#J1is=VQ@*_WL(GP-zn zfhtYI`e`Lm&l>x~{n$RgrNXg@(oJYOeI|;EM$}W_3EnYm9E+I__<#@(HH1^YK2OP; zgo+-=!cEtUl|P<}W_reg-R8!HamnN=c{U%F%CQDGd5jys5lQ!txDMI zdeuBi2W_7O>&45uWr8TV{L4rXt6R0D@OX@U?p$=eAvQ=ZY&;{ z$T@czjnlFxaggEGNQQ6r7<*Bh(mmS~WZc~0 z!3(~OF_*Uq*g5N>otv<77-gi$#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}ga<}&`4y?) zWa}Pv&bj9;Yz6T_mPWGQ4$*7Oi~B#U*Z;5O9y3<`Z_EAu@ch3o_kVQ#!8gVQRqd_z z5C0yx379j)E}mctzHf-XpMD4DkN=}LvfxA7n4``o!McE}ql<^5y#>SzAs`}v)r%1rX&6bBm5S&T2^0Wls<^H*qtCbDJ!ramUVEGOK)Z7Pe@8T?n`F{CH zxzlhc90`NNP%xAb6ba*n!cRb-jwoiE$2psRtE7L4mjRTOI-&4gNh3it%cHt%pWoeBfX6gi#p3 z`j{I#AC5;IHsEf4i4UNFM^uH!Hi92|ZAtt|@qr<_qJuqFOmJz?mdd3uhM+pDS zuZNqty`#0;{{O7dwfD0I<1R!{$HfI>F!m=u%FZ@mW(g#IFxzqWFn9CVAEM#l{RaQ~ Lf=gagf#m-HgO#?T literal 0 HcmV?d00001 diff --git a/docs/paper/the-karl-code/paper.tex b/docs/paper/the-karl-code/paper.tex index 5492d96..d73d3dd 100755 --- a/docs/paper/the-karl-code/paper.tex +++ b/docs/paper/the-karl-code/paper.tex @@ -188,7 +188,7 @@ For each movement step, the mean free path $\lambda_\text{mfp}$ of the correspon \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 lab frame, $\sigma_i$ is the cross section of a specific interaction, and $n_i$ the particle number density of the interaction partner. In the lab frame, the neutral gas has a non-zero drift velocity. The cross sections are evaluated from predefined functions. 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 +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 \changed{target of the specific interaction}. In the lab frame, the neutral gas has a non-zero drift velocity. The cross sections are evaluated from predefined functions. 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{ \begin{equation} d = -\lambda_\text{mfp} \cdot \log \eta \commaeq @@ -340,7 +340,15 @@ The rotation of the perpendicular velocity is again calculated using Rodriges' r \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. This trap 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. +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 trap 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{TBD} +\label{fig:maxInteractions_vs_density} +\end{figure} 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. @@ -554,7 +562,9 @@ Functions are an integral part of the code, used for example to express cross se Scalar fields represent the idea, that for every point in space a certain value can be assigned. The scalar field can currently only be initiated through one option, namely the \textit{ScalarFieldFunctionInZ}. As the name suggests, it returns values, which are provided through a 3D-function. The general input of coordinates are transformed to cylinder coordinates $(r, \phi, z)$ and the corresponding function value is returned. \paragraph{Vector field} -Vector fields represent the idea, that for every point in space a certain three dimensional vector can be assigned. The vector field can be initiated through three different options: \textit{VectorFieldConstant}, \textit{VectorFieldFunctionInZ} and \textit{VectorFieldFromArray}. For all three types, the general input of coordinates are transformed in the class to cylinder coordinates $(r, \phi, z)$ and the corresponding vector is calculated and returned. +% Vector fields represent the idea, that for every point in space a certain three dimensional vector can be assigned. +A vector field can be initiated through three different options: \textit{VectorFieldConstant}, \textit{VectorFieldFunctionInZ} and \textit{VectorFieldFromArray}. \changed{Any vector field object takes either a position as either a Cartesian or cylinder vector and returns the value at that position as a cylinder vector.} +%For all three types, the general input of coordinates are transformed in the class to cylinder coordinates $(r, \phi, z)$ and the corresponding vector is calculated and returned. \begin{itemize} \item \textit{VectorFieldConstant}: The return value of the vector field does not depend on its input and a constant vector is returned.