Design formulas for granular filters