Research on the variation of resistance of granular system with different sizes under compressive stress