Analysis of solidification in the spray atomization process