Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Implementation of higher-order velocity mapping between marker particles and grid in the particle-in-cell code XGC

Dataset ·
DOI:https://doi.org/10.11578/1814952· OSTI ID:1814952

The global total-f gyrokinetic particle-in-cell code XGC, used to study transport in magnetic fusion plasmas or to couple with a core gyrokinetic code while functioning as an edge gyrokinetic code, implements a 5-dimensional (5D) continuum grid to perform the dissipative operations, such as plasma collisions, or to exchange the particle distribution function information with a core code. To transfer the distribution function between marker particles and a rectangular 2D velocity-space grid, XGC employs a bilinear mapping. The conservation of particle density and momentum is accurate enough in this bilinear operation, but the error in the particle energy conservation can become undesirably large and cause non-negligible numerical heating in a steep edge pedestal. In the present work we update XGC to use a novel mapping technique, based on the calculation of a pseudo-inverse, to exactly preserve moments up to the order of the discretization space. We describe the details of the implementation and we demonstrate the reduced interpolation error for a tokamak test plasma by using 1st- and 2nd-order elements with the pseudo-inverse method and comparing to the bilinear mapping.

Research Organization:
Princeton Plasma Physics Laboratory (PPPL), Princeton, NJ (United States)
Sponsoring Organization:
USDOE Office of Science (SC)
DOE Contract Number:
AC02-09CH11466
OSTI ID:
1814952
Country of Publication:
United States
Language:
English

Similar Records

Implementation of higher-order velocity mapping between marker particles and grid in the particle-in-cell code XGC
Journal Article · Tue May 04 00:00:00 EDT 2021 · Journal of Plasma Physics · OSTI ID:1804610

Cross-verification of the global gyrokinetic codes GENE and XGC
Journal Article · Fri Jun 22 00:00:00 EDT 2018 · Physics of Plasmas · OSTI ID:1464510

Spatial core-edge coupling of the particle-in-cell gyrokinetic codes GEM and XGC
Journal Article · Sun Dec 20 23:00:00 EST 2020 · Physics of Plasmas · OSTI ID:1810011