KARL paper: Boris mover, changed to bold style
for vectors
This commit is contained in:
@@ -283,7 +283,7 @@ The tracked specie class is composed of different classes, providing access to t
|
||||
\label{ssec:movement}
|
||||
|
||||
The movement of particles is outsourced to the mover class. It moves the particle dependent on the E/B fields at \changed{its} position, given the integrated distance a particle will move, see section~\ref{ssec:general_diagram}. The movement itself is divided into smaller steps. This way, it can be evaluated if the particle has left the simulation domain between the steps, which stops the movement. Apart from the simulation boundary, the movement is stopped if the particle leaves a segment or energy bin of the density fields. %, see section~\ref{ssec:denstiy_fields}.
|
||||
\changed{In this case} no interaction will be performed , but a new distance will be drawn from the MFP at the new position of the particle, \changed{according to} equation~\ref{eq:distance_from_mfp}. This procedure does not increase the mean distance a particle travels, if the traversed density stays the same. However, large gradients will be taken into account in the calculation. Hence, the distance a particle moves is not over- or underestimated when moving into higher or lower density regions respectively. However, the density fields need \changed{a higher resolution than the scale length of the density difference}, which increases the simulation time. Thus, the user needs to evaluate the trade off between simulation time and accuracy.
|
||||
\changed{In this case} no interaction will be performed, but a new distance will be drawn from the MFP at the new position of the particle, \changed{according to} equation~\ref{eq:distance_from_mfp}. This procedure does not increase the mean distance a particle travels, if the traversed density stays the same. However, large gradients will be taken into account in the calculation. Hence, the distance a particle moves is not over- or underestimated when moving into higher or lower density regions respectively. However, the density fields need \changed{a higher resolution than the scale length of the density difference}, which increases the simulation time. Thus, the user needs to evaluate the trade off between simulation time and accuracy.
|
||||
|
||||
Stopping the movement if a particle has left a density field segment has an additional benefit: it can be easily evaluated how long a particle has stayed in the segment. Each movement step the particle is alive, a counter variable is increased by the time the movement step took. If the movement is stopped this counter variable can be added to the corresponding density field segment.
|
||||
|
||||
@@ -298,25 +298,25 @@ The Boris mover uses the Boris push algorithm \citep{Penn.2003}. It solves the c
|
||||
\end{align}
|
||||
where the index $i$ denotes the timestep at which the value is available. $F$ is the force acting on the particle, in this case the Lorentz force. The position update is straight forward and does not need any more explanation. The velocity update is more complicated, because the force on the particle is dependent on the velocity of the particle. By assuming that the velocity between two timesteps can be calculated as the mean of the values, it can be formulated that the velocity of the next timestep must read
|
||||
\begin{align}
|
||||
\vec{v}_{i+1/2} &= \vec{v}_{i-1/2} + \frac{q \Delta t}{m} \cdot \left(\vec{E}_i + \frac{\vec{v}_{i+1/2} + \vec{v}_{i-1/2}}{2 c} \times \vec{B}_t \right) \fullstop
|
||||
\bold{v}_{i+1/2} &= \bold{v}_{i-1/2} + \frac{q \Delta t}{m} \cdot \left(\bold{E}_i + \frac{\bold{v}_{i+1/2} + \bold{v}_{i-1/2}}{2 c} \times \bold{B}_i \right) \fullstop
|
||||
\end{align}
|
||||
|
||||
|
||||
The change of the velocity vector is calculated in three steps. First, the particle is accelerated by half a timestep through the electric field
|
||||
\begin{equation}
|
||||
\vec{v}^- = \vec{v}_{i-1/2} + \frac{q \Delta t}{2 m} \vec{E}_{i-1/2} \fullstop
|
||||
\bold{v}^- = \bold{v}_{i-1/2} + \frac{q \Delta t}{2 m} \bold{E}_{i-1/2} \fullstop
|
||||
\label{eq:boris_push_start}
|
||||
\end{equation}
|
||||
Secondly, the particle is accelerated by the magnetic field. This can be described through
|
||||
\begin{eqnarray}
|
||||
\vec{\Omega} = \frac{q \Delta t}{2 m c} \vec{B}_i \comma \\
|
||||
\vec{t} = \frac{2 \vec{\Omega}}{1 + \vec{\Omega} \cdot \vec{\Omega}} \comma \\
|
||||
\vec{v}^\prime = \vec{v}^- + \vec{v}^- \times \vec{\Omega} \\
|
||||
\vec{v}^+ = \vec{v}^- + \vec{v}^\prime \times \vec{t} \fullstop
|
||||
\bold{\Omega} = \frac{q \Delta t}{2 m c} \bold{B}_i \comma \\
|
||||
\vec{t} = \frac{2 \bold{\Omega}}{1 + \bold{\Omega} \cdot \bold{\Omega}} \comma \\
|
||||
\bold{v}^\prime = \bold{v}^- + \bold{v}^- \times \bold{\Omega} \\
|
||||
\bold{v}^+ = \bold{v}^- + \bold{v}^\prime \times \bold{t} \fullstop
|
||||
\end{eqnarray}
|
||||
Thirdly, the particle is accelerated again by half a timestep through the electric field
|
||||
\begin{equation}
|
||||
\vec{v}_{i+1/2} = \vec{v}^+ + \frac{q \Delta t}{2 m} \vec{E}_{i-1/2} \fullstop
|
||||
\bold{v}_{i+1/2} = \bold{v}^+ + \frac{q \Delta t}{2 m} \bold{E}_{i-1/2} \fullstop
|
||||
\label{eq:boris_push_end}
|
||||
\end{equation}
|
||||
In total, the new velocity was derived from the mass and charge of the particle and the extrapolated electromagnetic field values.
|
||||
|
||||
Reference in New Issue
Block a user