Viscous behaviour around an underground opening in a two-phase medium