The porous media structure of the oil/gas reservoir changes greatly after long-term development, which subsequently influences the macroscopic relative permeability. To clarify the effects of microscopic pore-throat structure on macroscopic relative permeability, we first proposed a method to generate two-dimensional porous media images with adjustable structure parameters. The method is based on Delaunay triangulation and is similar to the pore-network generation process, which can provide binary images for direct numerical simulation of flow through porous media. Then, we established the single component multiphase Shan–Chen lattice Boltzmann method coupling the real gas equation of state. Finally, we discussed the effect of pore radius, coordination number, pore-throat ratio, pore shape, and wettability on the gas–liquid relative permeability curve using the lattice Boltzmann simulation. This study provides an effective method to generate porous media and explain the mechanism of relative permeability change at the pore scale.
Heterogeneity plays a vital role in the micro-flow through porous media, but experimentally observing the flow details is time-consuming. This study provides a fast method for displacement front prediction in various heterogeneous porous media based on deep learning and orthogonal design. It uses the orthogonal design to generate displacement schemes with different permeability contrasts, capillary numbers, and viscosity ratios and utilizes the lattice Boltzmann simulation to obtain the datasets of displacement front at breakthrough. The prediction network is then established based on the U-Net structure. Finally, the displacement fronts of porous media with various heterogeneities are predicted. Compared to training with a dataset generated by random sampling, this method can halve the time required to establish the dataset and network training without compromising accuracy. Three orders of magnitude reduce the time necessary for network prediction compared to the lattice Boltzmann simulation. The results indicated that the total water saturation decreases as the permeability contrast increases and the water saturation and front position ratios rise. As the permeability contrast grows, the influence of the capillary number and viscosity ratio on the water saturation and front position ratios becomes more pronounced. And the influence of the viscosity ratio on total water saturation is more significant in low permeability contrast porous media. This research is helpful for the study of microscopic channeling and remaining oil distribution and further guides reservoir development.