the magnetic field produces it with a solenoid quondi an electromagnet in which the field flows from the inside to the outside and if the current flowing through the wire is continuous the magnetic field is static and if the current is alternating electromagnetic induction is produced which if I'm not mistaken is an electromagnetic fieldWhat shape of magnetic field are you looking for? How you arrange the poles produces very different results.
Shape of magnetic field
Bob