numerical methods for melting objects