Mixed 3-D/2-D simulation of an exploding foil opening switch