Calculated magnetic field advection in plasma opening switches