The no-flow problem for granular material in rotating kilns and dish granulators