Modeling the effects of an axial magnetic field on the vacuum arc