A coil of wire, or solenoid, consists of a wire coiled up into a spiral shape. When an electric current flows, the shape of the magnetic field is very similar to the field of a bar magnet.
A way to generate and control spin currents without magnetic fields or magnetic materials may be possible using dissipative quantum ratchets in the presence of spin–orbit coupling. But still ...
A coil of wire, or solenoid, consists of a wire coiled up into a spiral shape. When an electric current flows, the shape of the magnetic field is very similar to the field of a bar magnet.