Simulation of mushy state solidification in stir casting