A two-layer approach to describe granular flows over rough surface