Casting structure change caused by magnetic field