Numerical simulation of the freezing process of a water drop attached to a cold plate