Chiral anomaly factory: Creating Weyl fermions with a magnetic field