From granular avalanches to fluid turbulences through oozing pastes. A mesoscopic physically-based particle model