Understanding Melting and Freezing/Solidification and the Associated Effects on Heat Transfer