Model for a stationary dense granular flow along an inclined wall