Solution contour-based adaptive regriddiimg scheme for transient diffusion problems