Magnetic field of a railgun with square rails (maybe)