Title: Mathematical Modeling of Melting and Freezing Processes