Icing simulation and ice pattern formation based on a phase-field method