The effect of slip boundary condition on the flow of granular materials: a continuum approach