← solvers

magnetostatics

Solves for the 2D magnetic vector potential on a grid by relaxation, then draws the flux density as a heatmap with field lines traced as exact contours of the potential — not an approximation, that's just what constant-A contours are in a planar field. Pick a preset, pick materials, hit solve.

Problem

—

Material library

|B| flux density (heatmap) + field lines (contours of A)
0max