Während Particle-in-Cell Codes wie UNICORN oder PICPANTHER eine schnelle Simulation elektromagnetischer Plasmen ermöglichen, Sie leiden unter starkem Lärm. Ein anderer Ansatz ist die Lösung der Vlasov-Gleichung durch Rekonstruktion der Verteilungsfunktion. Dies wurde in Afterlive: A performant code for Vlasov-Hybrid simulations (Kilian, Schreiner, and Spanier 2018, Computer Physics Communications)
Eine parallelisierte Implementierung der Vlasov-Hybrid-Methode (Nunn, 1993) wird vorgestellt. Diese Methode ist eine Mischung aus einer Eulerschen Gitterbeschreibung und Lagrange-Metapartikeln. Im Gegensatz zur Particle-in-Cell Methode (Dawson, 1983) werden einfach die Beiträge von Metapartikeln aufaddiert, diese Methode führt eine Rekonstruktion der Verteilungsfunktion f in jedem Zeitschritt für jede Teilchenart durch. Diese Interpolationsmethode kombiniert Metapartikel mit unterschiedlichem Gewicht so, dass Teilchen mit großem Gewicht nicht Teilchen mit kleinen Beiträgen zur Phasenraumdichte ertränken. Diese Kerneigenschaften ermöglichen die Verwendung von viel größere Reichweite von Makrofaktoren und kann somit einen viel größeren Dynamikbereich in der Phasenraumdichte darstellen.
Die rekonstruierte Phasenraumdichte f wird verwendet, um Momente der Verteilungsgfunktion zu bestimmen wie die Ladungsdichte ϱ. Die Ladungsdichte ϱ wird auch als Eingangsgröße für den spektralen Löser verwendet, der das selbstkonsistente elektrostatische Feld berechnet, der wiederum für den nächsten Zeitschritt der Teilchen benutzt wird. time-step.
Afterlive (A Fourier-based Tool in the Electrostatic limit for the Rapid Low-noise Integration of the Vlasov Equation) wird unter Verwendung von MPI vollständig parallelisiert und schreibt Ausgabe mit parallelem HDF5. Die Parameter für die Simulation werden aus einer JSON-Datei gelesen, in der die anfänglichen Partikelverteilungen sowie die Domänengröße und die Diskretisierungsbeschränkungen festgelegt sind. Die hier vorgestellte Implementierung ist absichtlich auf eine räumliche Dimension beschränkt und löst eine oder drei Dimensionen im Geschwindigkeitsraum auf. Zusätzlich räumliche Dimensionen können auf einfache Weise hinzugefügt werden, machen aber Rechnungen noch kostspieliger.
Der Code ist frei verfügbar in der Computer Physics Communications program library:
Kilian, Patrick; Schreiner, Cedric; Spanier, Felix (2018), “Afterlive: A performant code for Vlasov-Hybrid
simulations”, Mendeley Data, V1, doi:
10.17632/nt79b5nfsc.1
While Particle-in-Cell codes like UNICORN or PICPANTHER allow for fast simulation of electromagnetic plasmas, they suffer from strong noise. A different approach is the solution of the Vlasov equation by reconstructing the distribution functon. This has been done in Afterlive: A performant code for Vlasov-Hybrid simulations (Kilian, Schreiner, and Spanier 2018, Computer Physics Communications)
A parallelized implementation of the Vlasov-Hybrid method (Nunn, 1993) is presented. This method is a hybrid between a gridded Eulerian description and Lagrangian meta-particles. Unlike the Particle-in-Cell method (Dawson, 1983) which simply adds up the contribution of meta-particles, this method does a reconstruction of the distribution function f in every time step for each species. This interpolation method combines meta-particles with different weights in such a way that particles with large weight do not drown out particles that represent small contributions to the phase space density. These core properties allow the use of a much larger range of macro factors and can thus represent a much larger dynamic range in phase space density.
The reconstructed phase space density f is used to calculate momenta of the distribution function such as the charge density ϱ. The charge density ϱ is also used as input into a spectral solver that calculates the self-consistent electrostatic field which is used to update the particles for the next time-step.
Afterlive (A Fourier-based Tool in the Electrostatic limit for the Rapid Low-noise Integration of the Vlasov Equation) is fully parallelized using MPI and writes output using parallel HDF5. The input to the simulation is read from a JSON description that sets the initial particle distributions as well as domain size and discretization constraints. The implementation presented here is intentionally limited to one spatial dimension and resolves one or three dimensions in velocity space. Additional spatial dimensions can be added in a straight forward way, but make runs computationally even more costly.
The code is available for free in Computer Physics Communications program library:
Kilian, Patrick; Schreiner, Cedric; Spanier, Felix (2018), “Afterlive: A performant code for Vlasov-Hybrid
simulations”, Mendeley Data, V1, doi:
10.17632/nt79b5nfsc.1