2D Phase-Field Simulation of the Directional Solidification Process