This script models a plate capacitor using the finite element method and relaxation to solve Laplace's equation wirh a point charge inside.. It outputs a contour plot of the potential at the midplane, capacitance vs. plate separation, and central potential vs. separation. A point charge can be added as a fixed q.
-
Updated
Feb 12, 2025