The intention is to maintain the pressure of the water at a higher pressure than that of the oil and thereby contain the oil in the cavern. However, because the rock surrounding the cavern is heterogeneous, there are, potentially, pathways in the rock through which the oil could flow into the groundwater.
 

This example is from a model of a cavern designed for storing oil. The cavern is approximately 150m below ground in a low permeability granite layer, which is modelled as a fractured medium. The cavern is approximately 30m high by several 100m in length. Oil is fed into the cavern from a pipeline, and removed from the cavern when needed. This facility is part of the Republic of Korea's oil distribution network.

The oil is prevented from leaking into the groundwater by a layer of grouting on the walls of the cavern, and by a water curtain system, consisting of an array of boreholes above the cavern, through which water is injected at pressure.

 
The figure shows 10% of the fracture network, coloured according to its transmissivity. The oil cavern is embedded within the fracture network and is coloured according to the groundwater pressure on its surface.