Numerical simulation of solid-liquid phase change phenomena