What is PHARE?

Get the code on GitHub

AMR Hybrid Particle-In-Cell formalism

Hybrid PIC codes are plasma simulation codes modeling the plasma as ions treated kinetically and electrons treated as a fluid... Read more...

Why PHARE?

PHARE aims at solving the dynamics of astrophysical plasmas for which ion kinetic effects matter and where the dynamics spans from MHD down to sub-ion scales. The project also aims at providing the community with an open source, versatile, efficient yet user-friendly code. Read more...

Science with PHARE

Hopefully soon...

Current Features

Numerical core

  • Arbitrary physical model/solver at each refinement level (only Hybrid implemented)
  • Predictor-predictor-corrector hybrid solver
  • Arbiratry number of ion populations
  • Boris particle pusher
  • Particle shapes: B-spline orders 1, 2, 3
  • Boundary conditions: periodic
  • Load balancing of MPI domains

User input

  • User inputs are simple python scripts
  • PHARE can be ran directly from python
  • Users can run PHARE in jupyter notebooks

Diagnostics and post-processing

  • Full AMR hierarchy outputs
  • Electromagnetic field diagnostics
  • Total Ion density and bulk velocity diagnostics
  • Per population density and bulk velocity diagnostics
  • Per population particle dumps
  • Parallel HDF5 diagnostics
  • Read 1D patch hierarchy datasets

Development RoadMap

Current work

  • Automatic refinement
  • 2D Hybrid

Soon

  • 3D Hybrid

Future

  • Planetary magnetosphere model
  • MHD model/solver coupling

Using PHARE

Install PHARE

how to install phare

Run PHARE

how to run phare

Post-processing

how to analyze PHARE data

News