Simulations on the Stress Evolution and Residual Stress in Precipitated Phase Using a Phase Field Model