Files
www-hd/software/afterlive.shtml
fspanier 745aec0f7f Webseiten Felix HD
GISMO / Afterlive fertig
AGN begonnen
2020-10-15 14:48:12 +02:00

114 lines
6.4 KiB
Plaintext

<!--#set var="rb_section" value="software" -->
<!--#include virtual="../header_include.shtml" -->
<!--#set var="title_de" value="AFTERLIVE" -->
<!--#set var="title_en" value="AFTERLIVE" -->
<!--#set var="autolocation" value="on" -->
<!--#set var="location_de" value="fspanier" -->
<!--#set var="location_en" value="fspanier" -->
<div id="ueberschrift">
<!--#if expr="$language = de" -->
<h1>Software - AFTERLIVE</h1>
<h2>Vlaso-Hybrid-Simulation</h2>
<!--#else -->
<h1>Software - AFTERLIVE</h1>
<h2>Vlaso-Hybrid simulation</h2>
<!--#endif -->
</div>
<!--#if expr="$language = de" -->
<p> Während Particle-in-Cell Codes wie <a href="acronym.shtml"> UNICORN </a> oder <a href="picpanther.shtml"> PICPANTHER
</a> 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 <a
durchgeführt href="https://ui.adsabs.harvard.edu/abs/2018CoPhC.230..121K"> Afterlive: A performant code for
Vlasov-Hybrid
simulations (Kilian, Schreiner, and Spanier 2018, Computer Physics Communications) </A.>
</p>
<p> Eine parallelisierte Implementierung der Vlasov-Hybrid-Methode <a
href="https://ui.adsabs.harvard.edu/abs/1993JCoPh.108..180N/abstract"> (Nunn, 1993) </a> wird vorgestellt.
Diese Methode ist eine Mischung aus einer Eulerschen Gitterbeschreibung und Lagrange-Metapartikeln. Im Gegensatz zur
Particle-in-Cell Methode <a href="https://ui.adsabs.harvard.edu/abs/1983RvMP...55..403D/abstract"> (Dawson,
1983) </a> werden einfach die Beiträge von Metapartikeln aufaddiert, diese Methode führt eine Rekonstruktion der
Verteilungsfunktion <i>f</i> 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. </Fp>
<p>Die rekonstruierte Phasenraumdichte <i>f</i> wird verwendet, um Momente der Verteilungsgfunktion zu bestimmen wie die
Ladungsdichte <i>&#1009;</i>. Die Ladungsdichte <i>&#1009;</i> 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.</p>
<p> Afterlive (<b>A</b> <b>F</b>ourier-based <b>T</b>ool in the <b>E</b>lectrostatic limit for the <b>R</b>apid
<b>L</b>ow-noise <b>I</b>ntegration of the <b>V</b>lasov <b>E</b>quation) 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.
</p>
<p>Der Code ist frei verfügbar in der Computer Physics Communications program library:<br>
Kilian, Patrick; Schreiner, Cedric; Spanier, Felix (2018), “Afterlive: A performant code for Vlasov-Hybrid
simulations”, Mendeley Data, V1, <a href="http://dx.doi.org/10.17632/nt79b5nfsc.1">doi:
10.17632/nt79b5nfsc.1</a>
</p>
<!--#else -->
<p>While Particle-in-Cell codes like <a href="acronym.shtml">UNICORN</a> or <a href="picpanther.shtml">PICPANTHER</a>
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 <a
href="https://ui.adsabs.harvard.edu/abs/2018CoPhC.230..121K">Afterlive: A performant code for
Vlasov-Hybrid
simulations (Kilian, Schreiner, and Spanier 2018, Computer Physics Communications) </A>
</p>
<p>A parallelized implementation of the Vlasov-Hybrid method <a
href="https://ui.adsabs.harvard.edu/abs/1993JCoPh.108..180N/abstract">(Nunn, 1993)</a> is presented.
This method is a hybrid between a gridded Eulerian description and Lagrangian meta-particles. Unlike the
Particle-in-Cell method <a href="https://ui.adsabs.harvard.edu/abs/1983RvMP...55..403D/abstract">(Dawson, 1983)</a>
which simply adds up the contribution of meta-particles, this method does a reconstruction of the
distribution function <i>f</i> 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.</p>
<p>The reconstructed phase space density <i>f</i> is used to calculate momenta of the distribution function such
as the charge density <i>&#1009;</i>. The charge density <i>&#1009;</i> 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.</p>
<p>Afterlive (<b>A</b> <b>F</b>ourier-based <b>T</b>ool in the <b>E</b>lectrostatic limit for the <b>R</b>apid
<b>L</b>ow-noise <b>I</b>ntegration of the <b>V</b>lasov <b>E</b>quation) 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.
</p>
<p>The code is available for free in Computer Physics Communications program library:<br>
Kilian, Patrick; Schreiner, Cedric; Spanier, Felix (2018), “Afterlive: A performant code for Vlasov-Hybrid
simulations”, Mendeley Data, V1, <a href="http://dx.doi.org/10.17632/nt79b5nfsc.1">doi:
10.17632/nt79b5nfsc.1</a>
</p>
<!--#endif -->
<!--#include virtual="/share/after_include.shtml" -->