A Fixed-Grid Finite-Difference Method for Solidification Problems