The overall compaction of porous rocks due to intergranular pressure solution (IPS) results from the dissolution of minerals within contact regions and the diffusive transport through the grain boundary of the dissolved species towards the fluid-filled pore space. The grain boundary structure can be imagined to be composed of dry contact zones, thin fluid films and fluid-filled cavities. The connectiveness and tortuosity of this structure determine the effective diffusivity of grain contacts and thus the potential of porous rock to compact by the action of IPS. The evolution in time of the grain-boundary structure, and thus of the effective diffusivity, is discussed here with the help of two 2D initial- and boundary-value problems which are...