Numerical study on transport phenomena in a directional solidification process in the presence of travelling magnetic fields