Analytical solution of the $\mu(I)-$rheology for fully developed granular flows in simple configurations