Modeling of the effect of an axial magnetic field on the high-current vacuum arc