PHARE
PHARE is a plasma simulation code with two models:
hybrid particle-in-cell (PIC): ions are particles, electrons are a fluid. It solves the Vlasov equation for any number of ion populations by following macro-particles. The electron momentum equation gives the electric field, assuming quasineutrality.
magnetohydrodynamics (MHD): the whole plasma is one fluid.
Using adaptive mesh refinement (AMR), provided by the SAMRAI library, PHARE refines the mesh only where the solution needs it. A single run can then resolve sub-ion scales in small regions of a much larger domain.
Note
This documentation is a work in progress. It is not complete and may contain errors.
Where to start
New to PHARE? What is PHARE, then Install PHARE and Your first simulation.
Setting up a run? The User guide in the menu lists every input block.
Working on the code? The Developer guide is a separate part of this site, for people who read and change the C++ and Python sources.