A fast two-step algorithm for invasion percolation with trapping - INSU - Institut national des sciences de l'Univers Accéder directement au contenu
Article Dans Une Revue Computers & Geosciences Année : 2016

A fast two-step algorithm for invasion percolation with trapping

Yder J. Masson

Résumé

I present a fast algorithm for modeling invasion percolation (IP) with trapping (TIP). IP is a numerical algorithm that models quasi-static (i.e. slow) fluid invasion in porous media. Trapping occurs when the invading fluid (that is injected) forms continuous surfaces surrounding patches of the displaced fluid (that is assumed incompressible and originally saturates the invaded medium). In TIP, the invading fluid is not allowed to enter the trapped patches. I demonstrate that TIP can be modeled in two steps: (1) Run an IP simulation without trapping (NTIP). (2) Identify the sites that invaded trapped regions and remove them from the chronological list of sites invaded in NTIP. Fast algorithms exist for solving NTIP. The focus of this paper is to propose an efficient solution for step (2). I show that it can be solved using a disjoint set data structure and going backward in time, i.e. by un-invading all sites invaded in NTIP in reverse order. Time reversal of the invasion greatly reduces the computational complexity for the identification of trapped sites as one only needs to investigate sites neighbor to the latest invaded/un-invaded site. This differs from traditional approaches where trapping is performed in real time, i.e. as the IP simulation is running, and where it is sometimes necessary to investigate the whole lattice to identify newly trapped regions. With the proposed algorithm, the total computational time for the identification and the removal of trapped sites goes as O(N), where N is the total number of sites in the lattice.
Fichier principal
Vignette du fichier
masson2016(1).pdf (5.64 Mo) Télécharger le fichier
Origine : Publication financée par une institution
Loading...

Dates et versions

hal-01653933 , version 1 (05-12-2017)

Identifiants

Citer

Yder J. Masson. A fast two-step algorithm for invasion percolation with trapping. Computers & Geosciences, 2016, 90, pp.41 - 48. ⟨10.1016/j.cageo.2016.02.003⟩. ⟨hal-01653933⟩
103 Consultations
404 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More