A study on dynamic desorption process of methane in slits