Yasir Siddiqui


Particle-in-cell: the basic loop (draft)

Draft skeleton. It shows the structure of a tutorial page, including an equation written in MathML (no JavaScript needed). Replace it with your own explanation.

What we are building

Describe the problem and what the reader will know by the end.

The loop

Each time step repeats four stages:

  1. Deposit particle charge onto the grid.
  2. Solve for the field. For the electrostatic case, Poisson's equation: ∇2 φ = − ρ ε0
  3. Interpolate the field back to each particle's position.
  4. Push the particles to their new positions and velocities.

Where to go next

Links to further reading, code, or the next tutorial.

Comments

No comments yet.

Leave a comment

Comments are anonymous and public once approved. A name is optional and no email is asked for.

Protected from spam by Cloudflare Turnstile. To limit abuse, a one-way hash of your IP address is kept for 7 days and is never shown.

← all tutorials