Melting of a polycrystalline material