diff --git a/main.tex b/main.tex index a0760a5..74dd7d9 100644 --- a/main.tex +++ b/main.tex @@ -1,6 +1,7 @@ \documentclass[runningheads]{llncs} % \usepackage{graphicx} +\usepackage{physics} % Used for displaying a sample figure. If possible, figure files should % be included in EPS format. % diff --git a/theory.tex b/theory.tex index 674789a..24bf5c2 100644 --- a/theory.tex +++ b/theory.tex @@ -1,3 +1,109 @@ \section{Theoretical background of Particle-in-Cell simulations} -Just read \cite{1981csup.book.....H} \ No newline at end of file +\label{sec:theory} + + +The definition of a plasma as a quasi-neutral gas with collective behavior covers a wide range of very different physical scenarios. The number of mathematical and numerical descriptions is accordingly very large. An important point for the distinction of plasma behavior is the collisionality: In the limit of the very high collision frequencies the plasma is mostly described as fluid. The opposite limit of no collisions at all is the kinetic regime. The adequate for this regime is a single particle description. + +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 is extremely large and the runtime with $N$ particles is $O(N^2)$ at worst or $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 moving charges is considered. Also not single particles, but particle bunches are used. + +In fact the description of particle bunches generating fields and interacting with them is rather na\"ive. From a mathematical viewpoint the PiC algorithm uses phase space sampling to solve the Vlasov equation (or the Maxwell-Vlasov system). + +The Vlasov equation can be derived easily from a set of particles through the Klimontovich equation. Starting with the microscopic distribution of a species $\alpha$ in the six-dimensional phase space +\begin{align} + 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$ 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 +\begin{align} + \dv{\vec{x}_k(t)}{t} &= \vec{v}_k(t) \label{eq:theory:dx}\\ + \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:dx} and \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} - \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 +\begin{align} + \pdv{N_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{N_\alpha(\vec x, \vec v, t)}{\vec x} + \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} +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. + +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 +\begin{align} + f_\alpha(\vec x, \vec v, t) = \langle N_\alpha(\vec x, \vec v, t) \rangle +\end{align} +The microscopic quantities of $N_\alpha$, $\vec{B}^m$ and $\vec{E}^m$ can be written as a sum of ensemble average and perturbation. +\begin{align} + N_\alpha(\vec x, \vec v, t) &= f_\alpha(\vec x, \vec v, t) + \delta N_\alpha(\vec x, \vec v, t) \\ + \vec{E}^m (\vec x, \vec v, t) &= \vec E(\vec x, \vec v, t) +\delta \vec{E}^m (\vec x, \vec v, t)\\\vec{B}^m (\vec x, \vec v, t) &= \vec B(\vec x, \vec v, t) +\delta \vec{B}^m (\vec x, \vec v, t) +\end{align} +Now the ensemble average of Eq. \ref{eq:theory:klimontovich} can be calculated +\begin{align} + \left\langle \pdv{N_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{N_\alpha(\vec x, \vec v, t)}{\vec x} + \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 +\begin{align} + \pdv{f_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{f_\alpha(\vec x, \vec v, t)}{\vec x} + \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 +\begin{align} + \pdv{f_\alpha(\vec x, \vec v, t)}{t}+ \vec{v}\cdot \pdv{f_\alpha(\vec x, \vec v, t)}{\vec x} + \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} + +From the viewpoint of physics the Vlasov equation is the reprensentation of the time evolution of the phase space distribution ensemble average (in combination with Maxwell's equations). Mathematically the Vlasov equation is a hyperbolic conservation equation (which corresponds to the fact that the phase space volume is conserved). + + +%Vlasov Gleichung als Gleichung für die Ensemblemittel + +%Vlasov lösen ist doof + +%Sampling des Phasenraums + +%Wir folgen den Phasenraumelementen -> Lagrangebild. Was macht Mehdi anders? + +%PiC ist eine Lösung der Vlasovgleichung, welchen Teil des Plasmas beschreibt das? + +%Was folgt daraus, daß wir das numerisch diskretisieren bzw. den Phasenraum sampeln? + + +Just read \cite{1981csup.book.....H} + +%Pure Particle simulations (Molecular dynamics) are exact +%MD is not reasonable +%Plasma can be described + +Vlasov equation +\begin{align} + \frac{\partial f}{\partial t} &= f + \label{eq:theory:vlasov} +\end{align} + +Wo ist die Vlasov-Gleichung? Da \eqref{eq:theory:vlasov} ist sie ja! Gute Gleichung. Brav! + + +%Kinetische Plasmen können über verschiedene Methoden beschrieben werden. +%Die Haupteigenschaft des kinetischen Plasmas ist der Mangel an Stößen. +%Eine völlig korrekte Beschreibung ist die direkte Wechselwirkung aller Teilchen miteinander +%Geht, ist korrekt, heißt Molekulardynamik und ist O(N^2), wenn man mit Tree-Codes spielt O(N log N) + +%So nicht: Sprich lieber von N-Body und davon, daß das nur sinnvoll bei langreichweitigen (keine Abschirmung) Feldern ist. Also bei Gravitation + +%Der Übergang zu Teilchen in Feldern liegt nahe. +%Is' nett, aber so einfach geht das auch wieder nicht: Viel zu viele Teilchen +%Beschreibung des Teilchenkontinuums durch die Vlasov-Gleichug +%Exkurs: Wo kommt die Gleichung her? +%Lösung der Vlasov-Gleichung ist ein 6D-Problem! +%Aber wir können Samples des Phasenraums im Lagrangebild anschauen + + +%Lese-TODO: +%- Wieso geht der Übergang MD->PiC nicht trivial? +%- Herleitung Vlasov-Gleichung +%- Lagrange-Bild \ No newline at end of file