electromagnetic metal casting computation designs Fig4