Magnetopause erosion: A global view from MHD simulation