Continuous modeling of the cohesion in granular flows