3D Cave Modeling to Track Chemical Spills in Karst Systems

Published on May 04, 2026 | Translated from Spanish

Karst systems, formed by the dissolution of limestone rocks, are extremely vulnerable to pollution. When a chemical spill occurs, the contaminant travels through a network of invisible fissures and conduits from the surface. Predicting its trajectory and locating the exact source of the spill is a technical challenge. Today, the combination of tools such as MODFLOW 3D, Leapfrog Hydro, QGIS, and ParaView allows for the creation of digital twins of these caves to simulate underground flow with millimeter precision.

3D modeling of karst caves with underground flow simulation to track chemical pollutant spills

Simulation of pollutant flow with MODFLOW and Leapfrog Hydro 💧

The process begins with the integration of geological data into Leapfrog Hydro, which generates a 3D volumetric model of the network of cavities and fractures. On this framework, MODFLOW 3D solves the underground flow equations, allowing a contaminant to be virtually injected and its dispersion observed over time. QGIS is used to georeference sampling points and aquifer boundaries, while ParaView visualizes pollution plumes in interactive animations. In a real case of solvent spill in a karst in Slovenia, this methodology managed to identify the point of origin 2 km away, something impossible with traditional surveys that only provide point data.

The advantage of prediction over delayed reaction ⏳

Classic investigation methods, such as fluorescent tracers or monitoring wells, require weeks of fieldwork and often fail to detect secondary conduits. 3D simulation reduces that time to hours and allows remediation scenarios to be tested without environmental risk. For disaster managers, having a model that anticipates where a chemical spill in a karst will move is not just a technical advantage: it is the difference between containing a disaster or having to declare an aquifer lost forever.

How to model in 3D the underground flow of a chemical spill in a karst system to predict its spread towards nearby aquifers

(PS: Simulating disasters is fun until the computer crashes and you are the disaster.)