The invention discloses a rough fracture invasion-
percolation two-phase flow
simulation method, which comprises the following steps of: dividing a rough fracture opening field by adopting a plane grid unit, establishing an invasion-
percolation two-phase flow numerical model, and simulating a displacement process as a quasi-static interface propulsion process. The unit with the minimum
capillary pressure threshold value in the unit
time step is invaded and displaced; a Young-Laplace equation is adopted, the curvature
radius in the plane and the curvature
radius in the opening direction are calculated, and the
capillary pressure threshold value of each unit to be displaced is determined; a
binary tree data structure is adopted, displacement
process information of each unit is recorded, and in a single
time step of displacement, the changed
binary tree data structure is updated; and in combination with a deep
search algorithm and a width
search algorithm, unit position information of capillary capture is discriminated and found. According to the method, the influence of the curvature in the plane on the intrusion displacement process is considered, and an efficient
data structure and
a search algorithm are combined, so that the accurate and efficient
simulation of the intrusion-
percolation displacement process in the rough fracture is realized.