Effects of prescribed circulations of magnetic fields