Simulating dendrite translation in the solidification process.