273 lines
32 KiB
TeX
273 lines
32 KiB
TeX
% Chapter 3
|
|
|
|
\chapter{Simulation of Particle Distributions with KARL}
|
|
\label{ch:karl}
|
|
\todo{change all align to equation}
|
|
The density and its energy distribution of all species defines the plasma in the \acs{katrin} source. The specific density distribution is dependent on the cross section of each interaction, the particle movement and the geometry of the source. Initially only beta electrons are created. Subsequent interactions with the surrounding gas create multiple other electrons and ions with varriing energy. This scenario ist best simulated using the Monte Carlo technique. This technique was implemented in the newly developed \ac{karl} code. The code was developed in collaboration with C. Reiling in his master thesis \cite{MasterReiling2019} and extended together with Rupp in his master thesis \todo{Cite: MA Joachim}. The code and its first results will be presented in this chapter.
|
|
|
|
\section{Simulation Method}
|
|
\label{sec:karl_simulation_method}
|
|
The \acs{karl} code uses a special approach of the Monte Carlo technique. Each paritcle chain starts at the beta decay, where the position of the new electron (and ion) is sampeled from the neutral particle denisty distribution, see section \ref{sssec:density_distribution}. The energy is sampeled from the known Fermi spectrum of the beta decay, see section \ref{sec:tritium_beta_decay_and_neutrino_mass}. The beta decay particles are then added to the particle queue and the simulation starts its iterative cycle, see figure \ref{fig:Chapter4_KARL/simulation_setup.pdf}. In each iteration step a particle is selected randomly from the particle queue. Then the mean free path is determined from the interacting partner density at the position of the particle and the energy of the particle. The particle is then moved according to the mean free path and the electromagnetic fields to a new position, see section \ref{ssec:karl_particle_movement}. If the particle hits the simulation boundaries it will be deleted. Otherwise a interaction is selected randomly from the available interactions, see section \ref{ssec:karl_particle_interactions}. The interaction products are then added to the particle queue and the iteration starts from the beginning. The particle loop is repeated until there are no more particles in the particle queue. Then a new beta decay particles are created and processed until the specified targed decay number is reached.
|
|
|
|
\xfigure{h}{1.}{Chapter4_KARL/simulation_setup.pdf}{KARL Simulation procedure.}{Beta electrons are injected to the particle queue. A particle is picked from the queue and processed. The iteration step either ends in an particle interaction or through termination at the simulation boundaries. The particle queue is processed until no particle is in the queue and a new beta particle is injected. The particle densities are determined during the simulation.}
|
|
|
|
|
|
|
|
The \acs{katrin} source tube is approximated by a cylinder with an open end. Electrons are reflected at this end, which corresponds to the reflection of electrons at the \acs{dps} dipole electrodes or at the main spectrometer potential. All ions are removed at the \acs{dps} side. All other boundaries of the cylinder are considered perfectly electric conductors. Thus all particles hitting the cylinder walls will be removed from the simulation.
|
|
|
|
The simulation is evaluated using two methods: virtual current borders and density fields, which provide energy dependend particle currents and particle densities in relation on the position in the source. They will be discussed in the following.
|
|
|
|
\subsection{Virtual Current Borders}
|
|
\label{ssec:karl_virtual_current_borders}
|
|
In the simulation the source is segmented longitudinally, radially and azimutally. Each particle is registered, when it crosses from one segment to another. The total current through the segment faces is then given by
|
|
\begin{align}
|
|
j = \frac{N^+ - N^-}{A T} \comma
|
|
\end{align}
|
|
where $N^+$ and $N^-$ is the number of particles crossing the faces in positive and negative direction, $A$ is the area of the face and $T$ the simulated time. The simulated time is determined by the number of decays $N_\beta$, which were simulated and the total activity $a$ of the source
|
|
\begin{align}
|
|
T = \frac{N_\beta}{a} \fullstop
|
|
\end{align}
|
|
The current through the faces can be determined depending on the energy and type of species crossing the faces. Thus the simulation can provide an energy and position dependend particle current in the \acs{katrin} source.
|
|
|
|
\subsection{Density Fields}
|
|
\label{ssec:karl_density_fields}
|
|
The segmentation of the source is also used in the determination of the individual particle densities. During the simulatio it is recorded how long a particle stays in one segment. The density of a species $\alpha$ is then proportional to the total time of all particles of the specie spend in the segment and the volume $V$ of the segment
|
|
\begin{align}
|
|
n_\alpha = \frac{\sum_i t_i}{T V} \fullstop
|
|
\end{align}
|
|
This equation is only valid for a simulation with particles, which do not recombine with each other. In case of recombination an additional term has to be added corresponding to the number of recombinations of the recombination partner $\gamma$ in the segment
|
|
\begin{align}
|
|
n_\alpha = \frac{\sum_i t_i}{T V} - \frac{N_\gamma}{V} \fullstop
|
|
\end{align}
|
|
Again the density can be determined depending on the energy and type of specie. Thus the simulation can provide an energy and position dependend particle density of the \acs{katrin} source.
|
|
|
|
%\subsection{Particle Injection}
|
|
%Particles have to be injected into the simulation depending on specific energy distributions. The most important
|
|
%Particles are injected after Simulation
|
|
%\paragraph{Sampling of Spectrum}
|
|
|
|
\subsection{Particle Movement}
|
|
\label{ssec:karl_particle_movement}
|
|
The particle movement is a central part of the simulation. Particles are moved from an original position to a new position depending on the mean free path and the electromagentic fields in the source. The movement of the particle can be performed in the code using the Boris push algorithm or through the drift approximation algorithm. The former can be used in arbitrary electromagnetic fields and resolves also the gyro motion of the particle. In the latter the motion of the particle is compound by a motion of the guiding center and the circular gyro motion around this guiding center. The Boris push algorithm provides highly accurate results at the cost of computing time. Both algorithms can be used by the \acs{karl} code but in most simulations only the drift approximation algorithm is used to conserve computing time. Therefore the drift approximation algorithm will be presented here. The Boris push algorithm is also used by the \acs{acronym} code and will be therefore discussed in section \ref{ssec:boris_push}.
|
|
|
|
\paragraph{Drift Approximation Algorithm}
|
|
In the drift approximation algorithm the movement of the particle is described by the superposition of the movement of the guiding center and the gyro motion of the particle around the guiding center. It is only applicable to time and spatial constant magnetic fields. In the context of the \acs{karl} simulation it is assumed that the magnetic field is constant over the whole source. Thus the drfit approximation algorithm can be used.
|
|
|
|
The particle is moved in total by the distance $L$, which is determined by the mean free path, see below. Nevertheless the movement of the particle is subdivided into small spatial steps $\Delta x$. The step size is chosen by the step size of the electromagnetic field data, to avoid movement across multiple eletric field cells. The discretization of the spatial dimension can be translated into a discretization of the time domain to
|
|
\begin{align}
|
|
\Delta t = \frac{\Delta x}{|\vec{v}^{i}|} \comma
|
|
\end{align}
|
|
where $|\vec{v}|$ is the absoltue velocity of the particle before movement. The position $z$ in longitudinal direction then is calculated by
|
|
\begin{align}
|
|
z^{i+1} = z^{i} + v_\parallel^i \Delta t \comma
|
|
\end{align}
|
|
where the index $i$ denotes the timestep at which the quantity is given and $v_\parallel^i$ is the velocity of the particle perpendicular to the magnetic field. The electric during the motion is approximated by the mean of the field value at the original position and at the new position
|
|
\begin{align}
|
|
\vec{E} = \frac{\vec{E}(z^{i+1}) + \vec{E}(z^{i})}{2} \fullstop
|
|
\end{align}
|
|
This field is then used to calculate the movement perpendicular to the magnetic field and used to determine the new velocity $v_\parallel^{i+1}$. The perpendicular particle position changes to
|
|
\begin{align}
|
|
x^{i+1} = x^{i} + v_{\perp,x} \Delta t \\
|
|
y^{i+1} = y^{i} + v_{\perp,y} \Delta t \comma
|
|
\end{align}
|
|
where $v_\perp$ is given by
|
|
\begin{align}
|
|
v_\perp = \frac{\vec{E} \times \vec{B}}{B^2} \fullstop
|
|
\end{align}
|
|
The parallel velocity changes corresponding to the Lorentz force to
|
|
\begin{align}
|
|
v_\parallel^{i+1} = v_\parallel^i + \frac{q E_\parallel}{m} \Delta t \comma
|
|
\end{align}
|
|
where $E_\parallel$ is the electric field strength parallel to the magnetic field, $m$ is the mass of the particle and $q$ its charge.
|
|
|
|
\paragraph{Travelled Distance}
|
|
The actual travelled distance $L$ is determined through a random number $\eta \in (0,1)$ and the mean free path $\lambda$
|
|
\begin{align}
|
|
L = - \lambda \cdot \log \eta \comma
|
|
\end{align}
|
|
which is the inverse of equation \ref{eq:mean_free_path_probability}. The mean free path is determined through equation \ref{eq:mean_free_path} depending on the cross section of the interaction and density of the target particles. The mean free path of multiple competing interaciton channels $i$ is given by
|
|
\begin{align}
|
|
\lambda = \frac{1}{\sum_i \sigma_i n_i} \comma
|
|
\end{align}
|
|
where $\sigma_i$ is the cross section and $n_i$ the density of the target particles. The cross section is dependend on the energy of the incidend $E_i$ and target particle $E_t$. The transformation into the target frame is dependent on the incident angle $\theta$ of the interaction and its distribution $f(\theta)$. Thus each contribution to the mean free path is written as
|
|
\begin{align}
|
|
\sigma_i n_i = \frac{1}{\pi} \iint \mathop{dE_t} \mathop{d\theta} f(\theta) \sigma_i(E_t, E_i, \theta) \frac{dn_t}{dE_t}(E_t) \fullstop
|
|
\end{align}
|
|
In the simulation it assumed that the incident angle is isotropically distributed to reduce calculation effort. Further more small and large incident angles are neglected. The transformation to the target frame can result otherwise in a vanishing energy, which in turn would result in an overestimation of the cross section toward lower energies.
|
|
The energy distribution of the target density is collected in discrete bins. Thus the integral is not performed directly but replaced through a sum over all possible energy bins.
|
|
|
|
\subsection{Particle Interactions}
|
|
\label{ssec:karl_particle_interactions}
|
|
Four different particles species can be distinguished in the simulation: electrons $\ce{e-}$, tritium ions \ce{T+}, tritium molecule ions \ce{T2+} and tritium cluster ions \ce{T3+}. Higher order cluster ions can in principle be used as well but are not used in the current version of the code because of missing cross section data. Furthermore it can be assumed from rate constant measurement, see section \ref{sec:particle_interactions_in_the_katrin_source}, that the density of higher order clusters is significantly lower than the density of \ce{T3+}. Thus the impact of these ions on the simulation results should be small.
|
|
|
|
Each of the particle species have multiple different interaction channels, see section \ref{sec:particle_interactions_in_the_katrin_source}. The specific interaction channel at each interaction point in the simulation is determined randomly, corresponding to the probability of the interaction channel. A measure for the the probability that a specific channel is chosen is given by the inverse mean free path of the channel. The higher the inverse the higher the probability of that interaction. In the code a random number $\eta$ is drawn from the interval $[0, \sum_i \sigma_i, n_i]$, where $i$ denotes the different interaction channel. A specific interaction channel $j$ is used, where
|
|
\begin{align}
|
|
\eta \geq \sum_i^j \sigma_i n_i
|
|
\end{align}
|
|
is fullfilled.
|
|
|
|
\subsubsection{Elastic Scattering}
|
|
\label{sssec:karl_elastic_scattering}
|
|
Elastic scattering is the dominant interaction channel for all particle species. In the interaction the velocity changes its direction but not its absolute value. The interaction can therefore be described by a rotation in direction of the velocity. The rotation is characterized in spherical coordinates by the azimutal angle $\theta$ and polar ange $\phi$. The angle $\theta$ is given by the differentical cross section $\frac{d\sigma}{d\theta}$. The differential cross section is dependend on the particle type and energy. Isotropic scattering is assumed for all ion interactions and for electrons below \SI{10}{eV}. The azimutal angle at higher energies is sampeled from the differential cross section using the \acs{elsepa} code \cite{Salvat.2005}. Large and small scattering angles are surpressed in this case. The polar angle is sampled from a uniform distribution in the interval $[0,2\pi)$. This represents the polar symmetry of the interaction.
|
|
|
|
In the code the new velocity vector is derived through the following procedure:
|
|
\begin{itemize}
|
|
\item Roll the energy of the target particle from the density field at the position of the interacting particle.
|
|
\item Convert the target particle to a velocity vector (isotropic distribution with an additive drift velocity).
|
|
\item Transform the velocity of the primary particle of to the center of mass frame.
|
|
\item Roll azimutal angle $\theta$ and roll polar angle $\phi$.
|
|
\item Rotate the primary velocity in the center of mass frame.
|
|
\item Transfrom the velocity back to the laboratory frame.
|
|
\end{itemize}
|
|
The rotation of the velocity is performed using the procedure provided by Haghighat \cite{Haghighat.2014}. The procedure is shortly summarized in the following: The inital velocity can be expressed by
|
|
\begin{align}
|
|
\vec{v} = v_x \vec{e_x} + v_y \vec{e_y} + v_z \vec{e_z} = |\vec{v}| (n_x \vec{e_x} + n_y \vec{e_y} + n_z \vec{e_z}) \fullstop
|
|
\end{align}
|
|
The unit vector $\vec{n}$ is then transformed to a new basis, where the new $z$ axis is aligned with the unit vector. The new eigenvectors are
|
|
\begin{align}
|
|
\vec{e^\prime_x} &= \vec{e^\prime_y} \times \vec{e^\prime_z} \\
|
|
\vec{e^\prime_y} &= \frac{\vec{n} \times \vec{e_z}}{|\vec{n} \times \vec{e_z}|} \\
|
|
\vec{e^\prime_z} &= \vec{n} \fullstop
|
|
\end{align}
|
|
In this new base the rotation can be performed trivially through
|
|
\begin{align}
|
|
\vec{n^\prime} = \sin \theta \cos \phi \, \vec{e^\prime_x} \sin \theta \sin \phi \, \vec{e^\prime_y} + \cos \theta \, \vec{e^\prime_z} \comma
|
|
\end{align}
|
|
where $\vec{n^\prime}$ is the rotated unit vector. The reverse basis change then results in
|
|
\begin{align}
|
|
\vec{n^\prime} = n_x^\prime \vec{e_x} + n_y^\prime \vec{e_y} + n_z^\prime \vec{e_z}
|
|
\end{align}
|
|
with
|
|
\begin{align}
|
|
n_x^\prime &= -\left(\frac{n_x n_z}{\sqrt{n_x^2 + n_y^2}} \cos \phi + \frac{n_y}{\sqrt{n_x^2 + n_y^2} \sin \phi }\right) \sin \theta + n_x \cos \theta \\
|
|
n_y^\prime &= -\left(\frac{n_y n_z}{\sqrt{n_x^2 + n_y^2}} \cos \phi - \frac{n_x}{\sqrt{n_x^2 + n_y^2} \sin \phi }\right) \sin \theta + n_y \cos \theta \\
|
|
n_z^\prime &= \sqrt{n_x^2 + n_y^2} \cos \phi \sin \theta + n_z \cos \theta \fullstop
|
|
\end{align}
|
|
The new velocity vector in the original base is finally given by
|
|
\begin{align}
|
|
\vec{v^\prime} = \vec{n^\prime} |\vec{v}| \fullstop
|
|
\end{align}
|
|
|
|
The position of the primary target does not change through elastic scattering. Nevertheless the guiding center of the movement changes its position in the interaction. Thus this change of the guiding center has to be reflected in the simulation. If the particles are moved by the Boris push algorithm, see section \ref{ssec:karl_particle_movement} this effect is allready included because the algorithm resolves each gyro motion of the particle. If the particle movement is desribed by the drift approximation algorithm an additional change of the guiding center has to be added. Assume that the guiding center is located at the position $\vec{x}$. The new position of the guiding center $\vec{x^\prime}$ is shifted by the length $\Delta x$ with
|
|
\begin{align}
|
|
\Delta x = 2 r_L \cos \theta \comma
|
|
\end{align}
|
|
where $r_L$ is the gyro radius and $\theta$ the scattering angle, see figure \ref{fig:Chapter4_KARL/elastic_scattering_guiding_center.pdf}. The direction of the shift is in general dependent on the polar angle $\phi$ of the gyration. It is assumed that there are many gyro motions between interactions, see section\ref{ssec:characteristic_length_comparison}. Thus the polar angle is determined randomly before the interaction from a random number $\eta \in [0,2\pi)$. The new position is then given by
|
|
\begin{align}
|
|
\vec{x^\prime} = (x + \Delta x \sin 2 \pi \eta ) \, \vec{e_x} +(y + \Delta x \cos 2 \pi \eta ) \, \vec{e_y} + z \, \vec{e_z}
|
|
\end{align}
|
|
|
|
\xfigure{h}{1.}{Chapter4_KARL/elastic_scattering_guiding_center.pdf}{Guiding center change}{}
|
|
|
|
\subsubsection{Electron Impact Ionization}
|
|
In the ionization process an electron hits a neutral gas particle and creates another electron and an ion molecule (\ce{T2+}). This ion molecule can be stable or it can disocitate spontaneously to \ce{T+}. The cross section and thershold energy depends on the type of ionization process. Janev \emph{et al.} identified three different ionization channels \cite{Janev.2003}. These channels are incorporated in the code. Kim and Rudd developed another effective model for the ionization process \cite{Kim.1994}. The created ion in this case is considered stable. This model can also be used in the code.
|
|
|
|
There is a thershold for the reaction at the ionization energy. The remaining collision energy $T$ has to be devided between both electrons. In the code the ion is assumed to have the same energy and velocity direction as the neutral gas particle, due to the large mass difference. The energy of the primary electron $E_p$ is sampled from the theoretical works of Rudd and Kim \cite{Kim.1994}. The energy of the secondary electron follows directly from the energy of the pramary and the collision energy ($E_s = T-E_p$). The scattering angles of the primary and the secondary electron are sampeled from the semi emperical studies by Grosswendt and Waibel \cite{Grosswendt.1978}. The polar angle $\phi_p$ of the primary electron is assumed to be uniformly distributed, while the polar angle of the secondary electron is given by $\phi_p - \pi$. The azimutal angle range of the primary electron is dependent on the energy. For small energies ($<\SI{100}{eV}$) it can be assumed that the angle is uniformly distributed between $0$ and $\pi / 4$. Similarly the azimutal angle range of the secondary is dependent on the energy. For small energies ($<\SI{50}{eV}$) it can be assumed that the angle is uniformly distributed between $0$ and $\pi$.
|
|
|
|
\subsubsection{Electron Impact Excitation}
|
|
Electrons can among others excite electrons of neutral gas particles, vibrational and rotational states of the gas, see section \ref{sec:particle_interactions_in_the_katrin_source}. The excitation depends on the inital state of the neutral gas molecule. In the code different excitation states differ in their cross section and the energy loss. It can be destinguished between
|
|
\begin{itemize}
|
|
\item the \num{15} excitation channels of electronic excitation measured by Janev \emph{et al.} \cite{Janev.2003}.
|
|
\item the experimental cross section of electronic excitation measured by Yoon \emph{et al.} \cite{Yoon.2008}
|
|
\item the first two vibrational excitations measured by Janev \emph{et al.} \cite{Janev.2003}.
|
|
\item the experimental cross section of vibrational excitation measured by Yoon \emph{et al.} \cite{Yoon.2008}
|
|
\item the first rotational excitation excitation measurey by Janev \emph{et al.} \cite{Janev.2003}
|
|
\end{itemize}
|
|
The interaction process itself is reduced to an energy loss of the electron. The motion of direction is assumed to stay constant.
|
|
|
|
\subsubsection{Recombination}
|
|
Recombination processes between ions and electrons need special treatment in the code. The particles interacted, in all processes before, with the neutral gas particles. The reservoir of neutral particles is considerd to be infinite, such that the interactions of electrons and ions with the gas do not change the gas flow and its properties. This is no longer valid for recombination. Each time an electron recombines not only the electron density needs to be reduced but also the ion density. Thus each event in the Monte Carlo algorithm is no longer independend from the others. Direct interactions of the particles is not possible in a Monte Carlo algorithm. In \acs{karl} this discrepancy is resolved through the density fields presented in section \ref{ssec:karl_density_fields}. Each time an electron recombines with an ion, the electron is deleted from the particle queue and a special counter in the corresponding ion bin is increased. The corresponding bin is sampeled from the density distribution of the ion. Thus the electron can no longer travel the source and can no longer contribute to the density. The ion density is reduced by the counter. In total both species have reduced densities without direct interaction. The same procedure is applied, when the primary particle is the ion. In this case the ion will be deleted and the corresponding counter of the electron is increased. In the limit of many interactions both electron recombinations and ion recombination will show the same total number of recombinations.
|
|
|
|
In the code only \ce{T2+} and \ce{T3+} ions recombine, while \ce{T+} ions do not due to the small cross section. The cross section of \ce{T2+} and \ce{T3+} ions is evaluated from the formula provided by Janev \emph{et al.} \cite{Janev.2003}.
|
|
|
|
\subsubsection{Ion Cluster Formation}
|
|
Ions can form clusters through attachement of molecules to the existing ion, see section \ref{sec:particle_interactions_in_the_katrin_source}. The cross section of the interaction depends on the inital cluster size. In the code three different cluster sizes are distinguished: \ce{T+}, \ce{T2+} and \ce{T3+}. Higher order clusters are neglected here, due to their predicted low density and missing cross section data for fragmentation processes.
|
|
|
|
In the code the cross section for \ce{T+} ions is cacluated from rate coefficient measurement of radiative and ternary association \cite{Plasil.2012}. The new \ce{T3+} ion of this reaction is initalized with the same velocity and position as the inital \ce{T+} ion, due to missing information on the differential cross section.
|
|
|
|
\ce{T2+} ions show a large cross section for cluster formation, see section \ref{sec:particle_interactions_in_the_katrin_source}. The cross section of the reaction is taken from the works of Janev \emph{et al.}. Again the volocity and position of the new ion is initialized from the velocity and position of the initial \ce{T2+} ions, due to missing information on the differential cross section.
|
|
|
|
\subsubsection{Ion Charge Transfer}
|
|
Ion molecules (\ce{T2+}) do not scatter elastically from neutral gas but take part in charge transfer reaction, see section \ref{sec:particle_interactions_in_the_katrin_source}. One electron of the target neutral gas molecule is transfered to the ion. Thus a new ion is created. The cross section of this reaction is given by Janev \emph{et al.} \cite{Janev.2003}. The velocity direction of the new ion is calculated from the velocity of the inital ion, the scattering angles $\phi$ and $\theta$ and the velocity of the target molecule, see section \ref{sssec:karl_elastic_scattering}. The angles are sampeled from the intervals $\phi \in [0,2\pi)$ and $\theta \in [0, \pi)$. The velocity of the target molecule is sampeled from the velocity distribution of the neutral gas particles. Thus the ion charge transfer reaction is similar to elastic scattering of the other ion species.
|
|
|
|
\newpage
|
|
\section{Electromagnetic Field-Free Simulation}
|
|
\label{sec:karl:field_free_simulation}
|
|
\xfigure{h}{1.}{Chapter4_KARL/ZeroElectricFieldCase/density.pdf}{Density distribution}{}
|
|
\xfigure{h}{1.}{Chapter4_KARL/ZeroElectricFieldCase/current.pdf}{current distribution}{}
|
|
\xfigure{h}{1.}{Chapter4_KARL/ZeroElectricFieldCase/energy_density.pdf}{Energy density distribution}{}
|
|
\xfigure{h}{1.}{Chapter4_KARL/ZeroElectricFieldCase/density_vs_z.pdf}{Density in z}{}
|
|
|
|
\subsection{Poisson Solver}
|
|
\label{ssec:karl:poisson_solver}
|
|
The density data of the \acs{karl} simulation can be used to solve for the electrostatic potential $U$ in the source through the Poisson equation (cgs)
|
|
\begin{equation}
|
|
\nabla^2 U = - 4 \pi \rho \fullstop
|
|
\label{eq:karl:poisson_equation}
|
|
\end{equation}
|
|
The charge density $\rho$ is directly calculated from the number densities
|
|
\begin{equation}
|
|
\rho = e\cdot (n_i - n_e) \fullstop
|
|
\end{equation}
|
|
It is assumed that the potential has an azimutal symmetry. The Poisson equation in cylinder coordinates then reads as
|
|
\begin{equation}
|
|
\frac{1}{r} \frac{\partial U}{\partial r} + \frac{\partial^2 U}{\partial r^2} + \frac{\partial^2 U}{\partial r^2} = -4 \pi \rho \fullstop
|
|
\end{equation}
|
|
This equation can be used for all cases, where the radius is non zero. In the limit of zero radius the first summand reads
|
|
\begin{equation}
|
|
\lim_{r\to 0} \frac{1}{r} \frac{\partial U}{\partial r} = \frac{\partial^2 U}{\partial r^2} \comma
|
|
\end{equation}
|
|
through the use of L'Hôpital's rule \todo{cite paper}.
|
|
|
|
The \acs{karl} simulation provides the density at discrete bins. In the following it is assumed that the density of these bins is located in the center of the bins, see figure \todo{figure}. So the Poisson equation has to be transformed into discrete corrdinates
|
|
\begin{eqnarray}
|
|
r &= i \Delta r \comma \\
|
|
z &= j \Delta z \comma
|
|
\end{eqnarray}
|
|
with the step size $\Delta r$ and $\Delta z$ in radial and longitudinal direction.
|
|
\xfigure{h}{1.}{Chapter4_KARL/PoissonSolver/coordinates_poisson_solver.pdf}{Indexing of Discrete Values}{}
|
|
|
|
The method of central differences is used for both cases from above. The potential can then be expressed through the iterative approach
|
|
\begin{eqnarray}
|
|
U_{i,j} =& \frac{
|
|
4 \pi \rho_{i,j}
|
|
+ \frac{U_{i+1,j}}{\Delta r^2} \left( 1 + \frac{1}{2i} \right)
|
|
+ \frac{U_{i-1,j}}{\Delta r^2} \left( 1 - \frac{1}{2i} \right)
|
|
+ \frac{1}{\Delta z^2} \left( U_{i,j-1} - U_{i,j+1}\right)
|
|
}{\frac{2}{\Delta r^2} + \frac{2}{\Delta z^2}} \comma
|
|
\label{eq:karl:poisson_solver_r}
|
|
\\
|
|
U_{0,j} =& \frac{
|
|
4 \pi \rho_{0,j}
|
|
+ \frac{4}{\Delta r^2} U_{1,j}
|
|
+ \frac{1}{\Delta z^2} \left( U_{0,j-1} + U_{0,j+1}\right)
|
|
}{\frac{4}{\Delta r^2} + \frac{2}{\Delta z^2}} \fullstop
|
|
\label{eq:karl:poisson_solver_r0}
|
|
\end{eqnarray}
|
|
|
|
The solution of this iterative approach needs boundary conditions. Two major conditions are used here: the Dirichlet boundary and the Neumann boundary \todo{citation}. The Dirichlet boundary is used, when the potential at specific points are known. In the following it is assumed that the potential of the source tube is set to zero and the potential of the rear wall has an distinct value position independend value $U_{\text{rw}}$. The Neumann boundary is used, when the first derivative of the potential is known, namely the electric field. The electric field is in general not known for the source tube. Nevertheless it can be assumed that the electric field at large distances from the source is zero. Thus this boundary is used at the \acs{dps} boundary.
|
|
|
|
Equations \ref{eq:karl:poisson_solver_r} and \ref{eq:karl:poisson_solver_r0} describe the potential at positions $i,j$ in dependence of the neighboring field values and the density. Thus for the final solution an iterative approach is used to determine the potential values from a given density input. The approach is summarized by the following steps
|
|
\begin{enumerate}
|
|
\item Initiate the potential to zero.
|
|
\item Set the corresponding values of the Dirichlet boundary condition to the specified values.
|
|
\item Loop over all possible inner potential values and determine their values through equations \ref{eq:karl:poisson_solver_r} and \ref{eq:karl:poisson_solver_r0}.
|
|
\item Redo step 3 a specified number of times.
|
|
\item Determine the difference between of the calculated potential with the density through equation~\ref{eq:karl:poisson_equation} for all positions.
|
|
\item If the sum of the absolute differences is below a certain threshold return the calculated potential array. Otherwise go to step 3.
|
|
\end{enumerate}
|
|
|
|
The value density of the \acs{karl} simulation is assumed to be known at the center of the bins. The potential values of the rear wall and the tube wall is given at the corners of the bins. For simplicity of the algorithm it was decided to extrapolate the denisty to the bin corners.
|
|
For the density at the bins corners $(i,j)$, which are surrounded by four cells, was calculated through the mean of the surrounding cells $(i^\prime,j^\prime)$. The density at the corners with $i = 0$ was calculated from the mean of the two adjacent bins. The density at the boundaries of the simulation domain was set to the mean of the two surrounding bins.
|
|
|
|
The potential of this poisson solver provides a first insight in the potential in the source from the \acs{karl} simulation without the need of the \acs{acronym} simulations. Nevertheless the particle densities of electrons and ions differ greatly. This produces a large electric field, which will influence the particle motion of the \acs{karl} simulation. To avoid the computation intensive \acs{acronym} simulation it was decided to use the potential of a previous \acs{karl} simulation as an input of another \acs{karl} simulation. Nevertheless the \acs{karl} simulation only takes the electric field as an input. Thus the electric field was calculated from the potential in a post processing step. The radial and longitudinal electric field are calculated at different positions $(i,j)$, see \ref{fig:Chapter4_KARL/PoissonSolver/coordinates_poisson_solver.pdf}, to simplify the calculation. These field values are then extrapolated onto the position $(i^\prime,j^\prime)$ in the center of the bins. The extrapolation provides directly the eletric field, which can be used an an input for the \acs{karl} simulation. Nevertheless it introduces an error because the field is not calculated using Maxwell's equations. In the following this error is ignored. Later on the \acs{acronym} simulation will provide a more precise calculation of the field.
|
|
|
|
|
|
|
|
%\subsection{Energy Density Distribution of Electrons}
|
|
|
|
%\subsection{Current Density Distribution of Ions}
|
|
\newpage
|
|
\section{Conclusion}
|
|
|