Aggregation and clogging phenomena of rigid microparticles in microfluidics