At least three electromagnets are disposed along the longitudinal direction of a mold. While the electromagnets generate a vibrating magnetic field, peak positions of the vibrating magnetic field is shifted in the longitudinal direction of the mold.