Small fixes. 39 pages

This commit is contained in:
Patrick Kilian
2019-04-26 16:11:56 -06:00
parent 677659edd7
commit 9539ae5af4
9 changed files with 164 additions and 159 deletions
+12 -11
View File
@@ -11,7 +11,7 @@ The definition of a plasma as a quasi-neutral gas with collective behavior cover
A kinetic plasma could be described by taking all plasma particles and their pairwise forces into account (this would equal an N-body code). This approach is however neither feasible nor sensible: The number of particles $N$ is extremely large and the runtime is $\mathcal{O}(N^2)$ at worst or $\mathcal{O}(N \log N)$ at best.
The Particle-in-Cell (PiC) approach avoids the use of particle-particle forces and their inherent computational need. Instead the interaction of particles with the electromagnetic field generated by the moving charges is considered. %Also not single particles, but particle bunches are used.
Additionally particles are not tracked individually, but bunches of particles are combined into a single compoutational macro particle.
Additionally particles are not tracked individually, but bunches of particles are combined into a single computational macro particle.
The description of particle bunches generating fields and interacting with them is somewhat na\"ive. From a mathematical viewpoint the PiC algorithm uses phase space sampling to solve the Vlasov equation (or the Maxwell-Vlasov system).
@@ -20,26 +20,26 @@ The Vlasov equation can be derived easily from a set of particles through the Kl
N_\alpha(\vec x, \vec v, t) = \sum_{k=1}^{N_0} \delta\left(\vec x - \vec{x}_k(t) \right) \delta\left(\vec{v}- \vec{v}_k(t)\right)
\label{eq:theory:phasespace}
\end{align}
Here each particle $k$ of the $N_0$ particles of species $\alpha$ have discrete positions $\vec{x}_k(t)$ and velocities $\vec{v}_k(t)$ in phase space. The particles with charge $q_\alpha$ and $m_\alpha$ are affected by electromagnetic fields and their motion is governed by the set of differential equations
Here each particle $k$ of the $N_0$ particles of species $\alpha$ have discrete positions $\vec{x}_k(t)$ and velocities $\vec{v}_k(t)$ in phase space. The particles with charge $q_\alpha$ and $m_\alpha$ are affected by electromagnetic fields and their motion is governed (in the non-relativistic limit) by the set of differential equations
\begin{align}
\dv{\vec{x}_k(t)}{t} &= \vec{v}_k(t), \
\dv{\vec{x}_k(t)}{t} &= \vec{v}_k(t), \
\dv{\vec{v}_k(t)}{t} &= \frac{q_\alpha}{m_\alpha} \left( \vec{E}^m(\vec{x}_k(t),t)+\vec{v}_k(t) \times \vec{B}^m(\vec{x}_k(t),t) \right) \label{eq:theory:dv}
\end{align}
The Klimontovich equation can then be derived by taking the time derivative of Eq. \ref{eq:theory:phasespace} and using Eqs. \ref{eq:theory:dv}.
The Klimontovich equation can then be derived by taking the time derivative of Eq.~\ref{eq:theory:phasespace} and using Eqs.~\ref{eq:theory:dv}.
\begin{align}
\pdv{N_\alpha(\vec x, \vec v, t)}{t} &=& \pdv{}{t} \sum_{k=1}^{N_0} \delta\left(\vec x - \vec{x}_k(t) \right) \delta\left(\vec{v}- \vec{v}_k(t)\right)\\
&=& -\vec v \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec x}\nonumber\\ & & - \frac{q_\alpha}{m_\alpha}\left( \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}^m(\vec{x}(t),t) \right) \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec v}
\end{align}
This can be rewritten as
This can be rewritten as
%\begin{align}
% \pdv{N_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{N_\alpha(\vec x, \vec v, t)}{\vec x} & & \nonumber \\+ \frac{q_\alpha}{m_\alpha}\left( \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}^m(\vec{x}(t),t) \right) \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec v} & = & 0 \label{eq:theory:klimontovich}
%\end{align}
\begin{align}
\pdv{N_\alpha}{t}+ \vec{v}\cdot \pdv{N_\alpha}{\vec x} + \frac{q_\alpha}{m_\alpha}\left( \vec{E}^m+\vec{v} \times \vec{B}^m \right) \cdot\pdv{N_\alpha}{\vec v} = 0 \label{eq:theory:klimontovich}
\end{align}
This is the Klimontovich equation that describes the microphysic distribution function. In conjuction with the Maxwell equations this equation describes a collisionless plasma completely. For any practical purpose the Klimontovich equation is unusable.
This is the Klimontovich equation that describes the microphysical distribution function. In conjunction with the Maxwell equations this equation describes a collisionless plasma completely. Given that $N$ is large, the Klimontovich equation is unusable for any practical purpose.
A better description is achieved by going to the ensemble average, which includes all physical identical realisations of the plasma. The phase space density of the ensemble average is given by
A better description is achieved by going to the ensemble average, which includes all physical identical realizations of the plasma. The phase space density of the ensemble average is given by
\begin{align}
f_\alpha(\vec x, \vec v, t) = \langle N_\alpha(\vec x, \vec v, t) \rangle \label{eq:theory:fdef}
\end{align}
@@ -54,19 +54,19 @@ The microscopic quantities of $N_\alpha$, $\vec{B}^m$ and $\vec{E}^m$ can be wri
% \left\langle \pdv{N_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{N_\alpha(\vec x, \vec v, t)}{\vec x} \right. & & \nonumber \\ \left.+ \frac{q_\alpha}{m_\alpha}\left( \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}^m(\vec{x}(t),t) \right) \cdot\pdv{N_\alpha(\vec x, \vec v, t)}{\vec v} \right\rangle & = & 0
%\end{align}
%The ensemble average can now be taken for each term separately
We can substitute in definition in Eqs.~\eqref{eq:theory:Nadef}-\eqref{eq:teory:Bmdef} into Eq.~\eqref{eq:theory:klimontovich} and take the ensamble avearge. Making use of the linearity of the averaging to split the equation into terms that can be averaged individually and applying definition \eqref{eq:theory:fdef} we obtain:
We can substitute in definition in Eqs.~\eqref{eq:theory:Nadef}-\eqref{eq:teory:Bmdef} into Eq.~\eqref{eq:theory:klimontovich} and take the ensemble average. Making use of the linearity of the averaging to split the equation into terms that can be averaged individually and applying definition \eqref{eq:theory:fdef} we obtain:
\begin{align}
\pdv{f_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{f_\alpha(\vec x, \vec v, t)}{\vec x} + \nonumber \\ + \frac{q_\alpha}{m_\alpha}\left( \vec{E}(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}(\vec{x}(t),t) \right) \cdot\pdv{f_\alpha(\vec x, \vec v, t)}{\vec v} =\nonumber\\ = - \frac{q_\alpha}{m_\alpha}\left\langle
\left( \delta \vec{E}^m(\vec{x}(t),t)+\vec{v}(t) \times \delta\vec{B}^m(\vec{x}(t),t) \right)
\cdot\pdv{\delta N_\alpha(\vec x, \vec v, t)}{t}
\right\rangle
\end{align}
The term on the RHS is the ensemble average of a second-order product of perturbations in different realisations of a plasma state. This quantity is negligibly small. The LHS of the equation then yields the Vlasov equation
The term on the RHS is the ensemble average of a second-order product of perturbations in different realizations of a plasma state. This quantity is negligibly small. The LHS of the equation then yields the Vlasov equation
% \begin{align}
% \pdv{f_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{f_\alpha(\vec x, \vec v, t)}{\vec x} +\nonumber\\ \frac{q_\alpha}{m_\alpha}\left( \vec{E}(\vec{x}(t),t)+\vec{v}(t) \times \vec{B}(\vec{x}(t),t) \right) \cdot\pdv{f_\alpha(\vec x, \vec v, t)}{\vec v} = 0 \label{eq:theory:vlasov}
% \end{align}
\begin{align}
\pdv{f_\alpha}{t}+ \vec{v}\cdot \pdv{f_\alpha}{\vec x} + \frac{q_\alpha}{m_\alpha}\left( \vec{E} + \vec{v} \times \vec{B} \right) \cdot\pdv{f_\alpha}{\vec v} = 0 \label{eq:theory:vlasov}
\pdv{f_\alpha}{t}+ \vec{v}\cdot \pdv{f_\alpha}{\vec x} + \frac{q_\alpha}{m_\alpha}\left( \vec{E} + \vec{v} \times \vec{B} \right) \cdot\pdv{f_\alpha}{\vec v} = 0 \label{eq:theory:vlasov} \quad .
\end{align}
%Vlasov Gleichung als Gleichung für die Ensemblemittel
@@ -95,7 +95,8 @@ There are still different possibilities for the implementation of a Lagrangian p
Following the phase space samples using the PiC algorithm is obviously a solution to the Vlasov equation. As a numerical solution for phase space samples it is obviously not an exact solution of the Vlasov equation. But besides unavoidable problems of numerical methods (e.g., limited accuracy) the PiC method has two distinct problems: Noise from phase space sampling and discretization errors from the limited resolution of the grid.
As will be described later the core problem in the grid discretization is not so much the coarseness of the grid but rather the finiteness of the grid.
% Not sure if that is true. Grid heating and NCI come from discreteness
%As will be described later the core problem in the grid discretization is not so much the coarseness of the grid but rather the finiteness of the grid.
%Was folgt daraus, daß wir das numerisch diskretisieren bzw. den Phasenraum sampeln?