For a barotropic fluid, . Magnetostatic force balance and give
The left side is a gradient multiplied by , so taking the curl shows that is constant on each surface. Absorbing the fixed factor into an arbitrary function gives the Axisymmetric magnetostatic Grad-Shafranov system