The effect of magnetic field advection on turbulent magnetohydrodynamic flow in a square duct