Theory of Coalescence by Flow through Porous Media