Three-dimensional simulations in a D-shaped torus with 3D-PIC: merging of two density tubes and banana orbits, over a Kelvin–Helmholtz flow

HOPE

High Order Program
for kinetic Equations

Overview

A C++ library for the numerical simulation of kinetic equations, designed for plasma physics and built on structure- and asymptotic-preserving methods whose stability and convergence are established mathematically.

Developed at the Institut de Mathématiques de Toulouse. A distinctive feature of HOPE is the simulation of the Vlasov–Poisson system with a strong external magnetic field in a three-dimensional toroidal geometry with an arbitrary poloidal cross-section, a configuration close to that of tokamaks.

Codes

Simulation with 1D-DG-VP

1D-DG-VP Public

Discontinuous Galerkin / Hermite spectral method for the 1D Vlasov–Poisson system (two-stream instability).

Simulation with 2D-FD-GC

2D-FD-GC Public

Eulerian solver with HWENO reconstructions for the guiding-center model (Kelvin–Helmholtz instability).

Simulation with 2D-PIC

2D-PIC Public

Asymptotic-preserving particle-in-cell method with a strong magnetic field (diocotron instability).

Banana orbits of trapped particles in a D-shaped torus, simulated with 3D-PIC

3D-PIC Full version

Particle-in-cell simulation in a torus with a D-shaped cross-section, close to a tokamak.

Features

Simulations

Three-dimensional toroidal geometry with 3D-PIC

Strongly magnetized plasma in a torus with a D-shaped cross-section, in the Cerfon–Freidberg equilibrium.

Two density tubes winding around each other and merging into a hollow ring inside a D-shaped torus
Merging of two density tubes. Time runs around the torus, from two separate tubes (right, t = 0) to a hollow ring (left, t = 25): each toroidal slice shows the density at its own time.
Banana orbits of trapped particles projected on a poloidal cross-section of the torus
Banana orbits. Trapped particles bounce between the high-field regions; their projections on a poloidal cross-section draw the characteristic banana shapes.

Particle-in-cell simulations in a torus

Watch the video — F. Filbet, L. M. Rodrigues, K.-H. Trinh.

Hermite spectral simulations in an interval

Watch the video — A. Blaustein, M. Bessemoulin-Chatard, F. Filbet.

Publications

All publications →

Download

A simplified public version of HOPE contains the three codes marked Public above, each with its input files in a runs subfolder. Test cases: Landau damping, two-stream and bump-on-tail instabilities (1D-DG-VP); Kelvin–Helmholtz and diocotron instabilities in a square domain (2D-FD-GC, 2D-PIC).

The codes are written in C++ and require MPI, the sparse direct solver MUMPS, FFTW3, BLAS/LAPACK and OpenMP. The documentation describes the models, the numerical methods, the input and output files and the test cases.

Team

Main developer
F. Filbet (Institut de Mathématiques de Toulouse)
Contributors
C. Yang, N. Crouseilles, M. Mehrenberger, K.-H. Trinh (three-dimensional toroidal geometry)
Collaborations
L. M. Rodrigues, M. Bessemoulin-Chatard, A. Blaustein, H. Zakerzadeh

Availability

HOPE is hosted on PLMlab, the GitLab platform of the French mathematical community. The full version, including the three-dimensional particle-in-cell code in a torus, is shared with collaborators; a simplified public version can be downloaded above. For access to the full version or for collaboration, please get in touch.

Support: ERC Starting Grant NuSiKiMo (2010–2015), the EUROfusion Consortium (Euratom research and training programme, grant agreement No 633053; projects VeriGyro and MAGYK) and the ANR projects Muffin and COOKIE.