electromagnetic metal casting computation designs Fig8