Test cases and publications
Hybrid simulations treat ions kinetically and electrons as a fluid: they describe ion-scale kinetic physics, but not electron kinetic physics. PHARE refines the mesh in user-defined boxes or where the magnetic field varies sharply.
Test cases distributed with the code
tests/functional/ in the repository| Case | Model | Dimensions | Description | Directory |
|---|---|---|---|---|
| Harris current sheets | hybrid | 2D, 3D | Two Harris sheets in a periodic box with localized perturbations; automatic refinement on two levels. | harris |
| Magnetic jump | hybrid | 1D | Shocks launched by a large jump in the magnetic field (Riemann-type initial condition). | shock |
| Alfvén wave | hybrid | 1D | Propagation of an Alfvén wave. | alfven_wave |
| Ion-ion beam instability | hybrid | 1D | Instability driven by two ion populations, on three levels; the measured growth rate is compared with the expected 0.09. | ionIonBeam |
| Noise spectrum | hybrid | 1D | Waves grown from particle noise, for dispersion analysis. | dispersion |
| Orszag-Tang vortex | MHD | 2D, 3D | Standard MHD test problem (Orszag and Tang 1979). | mhd_orszagtang |
| MHD rotor | MHD | 2D | Rotating dense disc in a uniform medium. | mhd_rotor |
| MHD shock tube | MHD | 1D | One-dimensional Riemann problem. | mhd_shock |
Publications
- 2024PHARE: Parallel hybrid particle-in-cell code with patch-based adaptive mesh refinement
- 2021A new method to dispatch split particles in Particle-In-Cell codes
Recorded runs and talks: PHARE on YouTube.