Home▸Electromagnetism▸Parallel-Plate Capacitor: Fringing Fields & Dielectric Insertion (2D)

Parallel-Plate Capacitor: Fringing Fields & Dielectric Insertion (2D)

2D electrostatic field solver for a parallel-plate capacitor: Gauss-Seidel relaxation on a grid computes the real fringing field at the plate edges, live capacitance and stored energy, and a sliding dielectric slab you can insert to watch capacitance increase in real time.

Electromagnetism2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-electromagnetic-design-tools ↗ Open standalone

This 2D companion is a genuine finite-difference electrostatic solver, not a diagram of one: a Gauss-Seidel/SOR relaxation with a spatially varying permittivity solves ∇·(ε∇V)=0 on a grid for a real parallel-plate capacitor, so the bulging field lines at the plate edges, the live capacitance and stored energy, and the capacitance increase from sliding a dielectric slab into the gap are all read straight off the numerical solution rather than approximated with the idealized C=ε0·εr·A/d formula alone.

⚙ Under the hood

2D electrostatic field solver for a parallel-plate capacitor: Gauss-Seidel relaxation on a grid computes the real fringing field at the plate edges, live capacitance and stored energy, and a sliding dielectric slab you can insert to watch capacitance increase in real time.

capacitorelectrostaticsfringing fielddielectricgauss-seidel relaxationcapacitance

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)