melting and solidification process