Grinding fractures coffee beans and rubs particles against one another and the grinder. University of Oregon researchers measured the electrical charge that builds up during this process and investigated its connection to clumping.
They found that moisture matters, including moisture already in the bean. In their experiments, adding a small amount of water before grinding reduced static and clumping, with effects on how evenly water moved through espresso grounds.
That is not a direction to pour water into a grinder. Equipment designs differ, and the research does not establish compatibility with your machine. Follow your grinder manufacturer’s care instructions; the useful fact is that the flying grounds have a physical explanation.
