ZPIC Examples
ZPIC makes available a set of well documented Jupyter notebooks, with example problems of textbook and advanced plasma mechanisms, ranging from Debye shielding, to EM waves in density ramps and kinetic instabilities, as well as notebooks that reproduce and extend the work done in seminal plasma physics papers.
If you haven’t, make sure you start with the ZPIC notebook that covers the basic usage of ZPIC in these environments.
Contributing
We invite contributions to the ZPIC codes and repository of test problems, to be made freely available to the community. Come find us on GitHub.
Tutorials
Notebooks introducing code usage and functionalities:
- ZPIC - Main tutorial file, be sure to start here;
- Saving Results - Saving simulation results to disk;
- Animation - Ceating animations from your simulations;
- External Fields - Using external (constant) EM fields in your simulation;
- Initial Fields - Setting the initial EM fields for your simulation;
- Density - Setting the density profile of particle species;
- Thermal distribution - Setting the thermal distribution of particle species;
- Cathode - Implementing a cathode (particle injection from simulation wall);
- Custom velocity distribution - Implementing custom (arbitrary) intial velocity distributions;
- Laser Pulses - Launching laser pulses in ZPIC simulations.
Classroom examples
Examples of ZPIC notebooks that can be used in a classroom to showcase some of the most fundamental plasma physics phenomena:
- Field solver dispersion - Analyses the different dispersion properties of the field solvers used in finite difference and spectral codes;
- Electron Plasma Waves - Focuses on electrostatic and electromagnetic plasma waves in unmagnetized plasmas;
- O-X Waves - Studies electromagnetic waves in a magnetized plasma, in particular polarized either along the applied magnetic fields (O-waves) or perpendicular to it (X-waves);
- R-L Waves - Studies electromagnetic waves in a magnetized plasma, in particular waves propagating along the applied magnetic field;
- Debye Shielding - Focuses on Debye shielding;
- Faraday Rotation - Observation of the Faraday rotation effect;
- Two-Stream - Numerical simulations of the Two-Stream instability using an electromagnetic code;
- Electrostatic Two-Stream - Numerical simulations of the Two-Stream instability using an electrostatic code;
- LWFA 1D - Numerical simulations of a laser wakefield accelerator in 1D;
- LWFA 2D - Numerical simulations of a laser wakefield accelerator in 2D;
- PWFA 1D - Numerical simulations of a plasma wakefield accelerator in 1D;
- PBWA 1D - Numerical simulations of a plasma beat wave accelerator in 1D;
- Weibel - Demonstration of the Weibel (electromagnetic filamentation) instability in the collision of neutral electron/positron plasma clouds;
- Coulomb Collisions - Study of Coulomb Collisions / Rutherford scattering;
- Diamagnetic Drift - Focuses on the diamagnetic drift (or diamagnetic current), a fluid drift in which a current arrises in a magnetized plasma with a given density gradient;
- E×B Drift - Studies of single particle E×B drifts;
- Magnetic Bottle - Numerical studies of the magnetic bottle confinement scheme;
Landmark papers
Notebooks reproducing and extending the work done in seminal plasma physics papers:
- Tajima and Dawson (1979) - Laser Electron Accelerator, Physical Review Letters, Volume 43, Number 4, July 1979, DOI: 10.1103/PhysRevLett.43.267;
- Morse and Nielsen (1971) - Numerical Simulation of the Weibel Instability in One and Two Dimensions, The Physics of Fluids, Volume 14, Number 4, April 1971, DOI: 10.1063/1.1693518.