Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 661 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 661 Bytes

pic-python

Vectorized Plasma PIC code (Python)

Create Your Own Plasma PIC Simulation (With Python)

Philip Mocz (2020) Princeton Univeristy, @PMocz

Simulate the 1D Two-Stream Instability

Code calculates the motions of electrons under the Poisson-Maxwell equation using the Particle-In-Cell (PIC) method

How to run

First, ensure you have the prereq packages installed, then run the Python script:

pip install -r requirements.txt
python pic.py

Simulation