Effects of magnetic fields on the phosphating process