Abstract
The rational characterization and quantitative analysis of the complex internal pore structure of rock is the foundation to solve many underground engineering problems. In this paper, CT imaging technology is used to directly characterize the three-dimensional pore network topology of sandstone with different porosity. Then, in view of the problem, which is difficult to quantify the detailed topological structure of the sandstone pore networks in the previous study, the new complex network theory is used to characterize the pore structure. PageRank algorithm is based on the number of connections between targets as a measure index to rank the targets, so the network degree distribution, average path length, clustering coefficient, and robustness based on PageRank algorithm and permeability-related topological parameters are studied. The research shows that the degree distribution of sandstone pore network satisfies power law distribution, and it can be characterized by scale-free network model. The permeability of rock is inversely proportional to the average path length of sandstone network. The sandstone pore network has strong robustness to random disturbance, while a small number of pores with special topological properties play a key role in the macroscopic permeability of sandstone. This study attempts to provide a new perspective of quantifying the microstructure of the pore network of sandstone and revealing the microscopic structure mechanism of macroscopic permeability of pore rocks.
1. Introduction
Reservoir rocks contain huge numbers of pores with different sizes and complex shapes, and most part of the pores are connected with each other under the natural or artificial intervention, which is the main space for the migration of underground oil and gas. The connectivity of rock pore network directly affects the fluid flow behavior in geotechnical engineering [1–3]. However, the pore network of rock is highly complex. Accurately revealing the connectivity of micro and nanoscale and quantitatively analyzing the internal relationship between their microstructure and macroscopical permeability are the key problems to enhance the oil and gas recovery [4–7]. In order to study the microseepage mechanism of porous rock, scholars put forward the research methods based on continuum mechanics and pore network structure, respectively.
Based on the research method of continuum mechanics, Zhang et al. [8] coupled the gas flow control equation, coal deformation equation, and porosity model and established the permeability evolution model of multiporosity coal seam. Mitra et al. [9] studied the permeability variation of coal samples under the competitive mechanism of effective stress and adsorption expansion deformation. Pan et al. [10] studied the influence mechanism of effective stress on the permeability of coal samples, and the results show that the permeability of coal samples changed exponentially with gas pressure. Peng et al. [11] pointed out that under the same boundary conditions, there are significant differences in permeability of coal samples of different scales, and the sensitivity of permeability to confining pressure is also different. Pan [12] measured the permeability of coal samples in parallel, oblique, and vertical bedding directions. Lin and Zhou [13] found that the permeability of coal samples with parallel bedding is most closely related to the confining pressure effect and then studied the variation law of coal seam permeability with stress evolution under the action of in situ stress. Cao et al. [14] found by measuring the permeability of outburst raw coal that the permeability of coal seam first decreased and then increased with the gas pressure. Gao et al. [15] used the hybrid network theory to analyze the network parameters, modularization, and pore aggregation degree of sandstone with different porosity. This method can quantitatively analyze the structural parameters that cannot be quantified by traditional connectivity analysis and fractal dimension analysis. Ye et al. [16] established a dual pore network model of rock and analyzed the variation trend of permeability of coating model with microscopic parameters such as porosity distribution, average path length, and throat length distribution. Gong et al. [17] proposed a fractal reconstruction model of rock pore structure based on improved simulated annealing algorithm. The influences of pore radius and average pore shape factor on the pore structure characteristics of sandstone were analyzed from eight pore structure parameters, including pore number per unit volume, porosity, average pore size, pore volume, minimum maximum pore radius, and minimum average pore radius.
In order to analyze the influence mechanism of micropore structure on the permeability of porous rocks, Darabi et al. [18] studied the gas seepage process in dense porous media. Assuming that the porous media is composed of nano to millimeter pores, considering the influence of capillary roughness, the apparent permeability model was obtained. Singh et al. [19] obtained a new apparent permeability model by using analytical method without considering slippage effect. There are no empirical parameters in the model, which are only related to pore size, pore shape, temperature, gas properties, and average reservoir pressure. Yu et al. [20] proposed the fractal analysis model of porous media permeability and proposed the analytical expressions of fractal dimension, porosity, and microstructure of single-phase and multiphase porous media for the first time. Miao et al. [21, 22] extended the theory of fractal porous media to fracture network and constructed the fractal model of fracture network area density, which relates the structural parameters of fracture network, such as fracture size, fractal dimension, and porosity. Liu et al. [23] discussed the influence of size effect on permeability by combining seepage mechanics research method and Monte Carlo method to characterize fracture distribution mechanism. Li et al. [24, 25] developed a fully coupled multidomain multiphysics model to simulate the interactions between the fractured, nonfractured, and hydraulic fracture domains, taking into account the differences in properties and interactions between the fractured, nonfractured, and hydraulic fracture domains. Liu et al. [26–28] characterized pores and fractures by fractal dimension of pore, fractal dimension of curved capillary, and fractal dimension of fracture length. Coupled the fractal theory of porous media with the multifield model of coal seam, they established a multifield coupling mechanical model considering the influence of fissure and pore structure. Li et al. [29] used Frenkel-Halsey-Hill method to obtain the fractal dimension of pores used to characterize the pores and obtained the structural parameters used to characterize the natural organic matter such as aliphatic chain length, aromatic carbon condensation degree, and hydrocarbon generation potential by peak fitting of infrared spectra. Considering the geometric parameters of porous media, including porosity, liquid saturation, fractal dimension of granular matrix and liquid phase, and fractal dimension of bending of liquid phase, Qin et al. [30] proposed a theoretical model of effective thermal conductivity of porous media with rough surface. Li et al. [31] discussed the influence of pore characteristic parameters such as fractal dimension of curvature, fractal dimension of pore, and minimum to maximum capillary diameter ratio on relative permeability. A detailed comparison is made between the continuous method and the pore material prevention method as shown in Table 1.
Firstly, based on continuum mechanics, the influence of micropore structure is generally not considered. Secondly, traditional reservoir structure analysis methods, such as Euler number and fractal dimension, are difficult to characterize the detailed topological properties of the pore network characteristics comprehensively and quantitatively. In order to solve the problem of scientific and quantitative characterization of microconnectivity characteristics of porous rock pores from the perspective of complex network theory, the topological structure and robustness characteristics of sandstone pore network were studied after obtaining CT images of sandstone with different porosity.
2. Extraction of Core Pore Network
Based on X-ray micron CT, four groups of two-dimensional tomography images of sandstone with different porosity are obtained, as shown in Figure 1. The experimental data comes from Professor Blunt’s team of Imperial University of Technology. The data is public. The rock and equipment used in the experiment and the acquisition method of experimental data can be found on the official website of the team. See Acknowledgments for the website. The image shown in Figure 1 is one of the slices of each sample. The gray level of each pixel in a two-dimensional image indicates the point density value. Considering that the area outside the rock sample is assigned black, it is eliminated for the analysis process, and the rectangular area is selected as the research object in the sample.

(a) 16.9% (voxel: )

(b) 17.1% (voxel: )

(c) 24.6% (voxel: )

(d) 34.0% (voxel: )
3. Topological Structure Analysis of Pore Network Model
In the research process of pore network structure, we use the network analysis software GEPHI, which has the function of searching and eliminating dead pores. Generally, pores with a diameter of less than 10 nm are micropores, pores with a diameter of 10 nm-100 nm are small pores, macropores with a diameter of 1000 nm-100000 nm, and cracks with a diameter of over 100000 nm [32]. The basic parameters of sandstone samples with different porosity are shown in Table 1. From Table 2, it can be seen that when the porosity is small, such as 16.9% and 17.1%, the number and of nodes in the pore network model are large. When the porosity is large, such as 24.6% and 34%, the number of nodes in the pore network model is small, and it is less than 1/4 of that of the rock sample of which porosity is 16.9%. The main reason is that the smaller the porosity is, the smaller the particle size of the sandstone is, the smaller the volume of pore and pore throat is, so that the number of nodes in the network is more. The results show that the porosity is inversely proportional to the size of the pore network (the number of nodes).
Euler number and fractal dimension are usually used in the analysis of pore structure, and the topological structure of the pore network is difficult to be quantitatively analyzed. In this paper, the complex network theory analysis method is introduced into the pore network structure analysis, and the parameters such as the degree distribution, the clustering coefficient, and the average path length are calculated, respectively. The number of pore throat attached to a certain pore is defined as degree, which is usually expressed by . In order to analyze the degree distribution of sandstone pore network, we counted the proportion of pores with different degrees to the total number of nodes expressed with , as shown in Figure 2. From Figure 2, it is known that the degree distribution curves of sandstone samples with different porosity have obvious long-tail characteristics. Different from the normal distribution, where most of the data are concentrated near the median, the distribution of sandstone pore network is more consistent with the scale-free network model which obeys the power law distribution.

The degree distribution is mainly used to measure the connected characteristics of the single pore in the sandstone pore network. In order to further explore the degree of aggregation between pores, the clustering coefficient is calculated. Assumed that pore in a pore network has pores connected to it. The pores are called the neighbor pores of pore . There is a maximum of throats among the neighbor pores of pore . The ratio between the number of the actual throat number among pore ’s neighbor pores and the number of the most probable throat number is defined as the clustering coefficient of pore , which is expressed as .
The value of changes between 0 and 1 in the network. The larger the is, the more the throats among pore and its neighbor pores are. The distribution of the pore network clustering coefficient of sandstone with different porosity is shown in Figure 3. The horizontal axis is the number of the pore node. As shown in Figure 3, the clustering coefficients of most of the pores are less than 0.6. Only a small number of pores are closely connected to the pores of the surrounding pores. These small amounts of pores may play an important role in the permeability of sandstone.

In order to measure the transmission efficiency of the network, the complex network theory gives a metric parameter “the average path length.” The average path length of the sandstone network is the average number of throats between each pair of pores in the network. where is the number of pores in the network. is the minimum number of throats between any two nodes of the network and .
The average path length distribution of pore network in sandstone samples with different porosity is shown in Figure 4. From Figure 4, it is known that the average path length of the sandstone pore network is proportional to the number of pores, and it is inversely proportional to the porosity. And the greater the porosity, the larger the permeability of sandstone and the smaller the average path length would be.

4. Analysis of the Robustness of Pore Network
Usually, we do not consider the importance of a single pore in the whole percolation network when analyzing the pore structure. In order to investigate whether a single or a small number of pores will lead to significant changes in the transmission efficiency of the whole seepage network, that is, whether the permeability of the rock network depends on a small number of important pores, we have studied the robustness of the sandstone pore network.
In the network science, the average path length is the key parameter to measure the transmission efficiency of the network. The smaller the average path length is, the higher the network transmission efficiency is. We eliminate the pore nodes in the pore network based on two methods and then discuss the evolution process of network transmission efficiency. Method 1: random elimination; method 2: elimination based on PageRank algorithm.
As the sorting algorithm in the complex network theory, the PageRank algorithm is based on the network topology as the importance of the network node importance. The basic idea of the PageRank algorithm is that the pore network is regarded as graph , where is the number of notes and is the number of edges. Give each node an initial PageRank value. Suppose there is an edge between node and node , then node throws a ticket to the node . Using to represent the number of edges connected with node , then node contributes a PageRank value of to the node . The algorithm process is as follows.
First, define the initial PageRank value for each node :
After the times of iteration, the PageRank value of each node is as follows: where is a damping factor (), which represents the probability of connecting a node. In this iterative way, multiple rounds are iterated until the PageRank value converges or when the sum of the PageRank value changes of all nodes is less than the custom threshold. Then, the pores are sorted according to the PageRank values.
The evolution process of the average path length is calculated as shown in Figure 5 according to two schemes, which are random deletion and PageRank-sorted deletion from the most important node. The horizontal coordinate axis is the number of deleting nodes, and the total amount of removing pores is 5% of the total number of pores. It can be seen from Figure 5 that when the pores in the sandstone pore network are randomly deleted, the average path length of the sandstone pore network increases only slightly. When the PageRank algorithm was used to rank the importance of pores and remove important nodes, the average path length increased significantly. It can be concluded that in the sandstone pore network, a small number of important nodes selected by the PageRank algorithm play a crucial role in the permeability of the whole macroscopic network. In the process of underground oil and gas exploitation, under the action of ground stress, adsorption, and desorption, if these key pores are plugged, it may cause significant change in the whole network permeability [19–22].

(a) 16.9%

(b) 17.1%

(c) 24.6%

(d) 34.0%
The variation curve of the average degree of pore network of sandstone under the two node elimination schemes is shown in Figure 6. As shown in Figure 6, compared with random deleting nodes, the decrease of pore average degree in the node deletion scheme based on PageRank algorithm is more obvious. That is, the overall connectivity of the sandstone pore network has been obviously weakened. In order to analyze the specific evolution process of the network degree distribution, we calculated the contrast curves before and after the deletion of the pores, as shown in Figure 7.


(a) 16.9%

(b) 17.1%

(c) 24.6%

(d) 34%
From Figure 7, it is known that random deleting nodes have little influence on the overall pore network degree distribution, and the curves before and after deletion are basically coincided. And before and after the node deletion based on the PageRank algorithm, the data of the back section of the curve are significantly reduced. The main reason is that the PageRank algorithm sorted the more important nodes, whose degree is larger, that is, the connectivity is stronger. Therefore, most of the nodes which have been deleted by the second scheme are the nodes with the large degree. This is also the reason for the obvious decrease in the average degree of the deletion method based on PageRank scheme in Figure 6.
The clustering coefficient is the coefficient that indicates the degree of node aggregation. This property is the clustering characteristic of the network. According to Figure 8, the distribution of the clustering coefficient of sandstone pore network has little change under different deletion schemes. In order to analyze the overall aggregation degree of sandstone pore network, we calculated the average clustering coefficient of pore network of different porosity sandstone, as shown in Figure 9.

(a) 16.9%

(b) 17.1%

(c) 24.6%

(d) 34.0%

Compared with Figures 8 and 9, we can see that although the distribution of clustering coefficients changes slightly before and after the deletion, the average clustering coefficient of the network has been significantly reduced. Especially the deletion method based on the PageRank algorithm, the clustering coefficients of the four porosity sandstone networks have decreased by about 0.1. The main reason is that the PageRank algorithm elimination scheme deletes a large number of nodes with large degree. That is, a large number of edges (throats) have been deleted, which leads to a significant reduction in the overall connectivity of the network. The pore network analysis process is shown in Figure 10.

5. Conclusions and Discussion
In this work, the complex network theory is used to study the characteristics of rock network. The degree distribution, clustering coefficient distribution, and average path length of the three-dimensional pore network are discussed, and the robustness of the network is also analyzed. The conclusions are as follows: (1)Compared with the random model, the porosity distribution is more consistent with the scale-free network model of power-law distribution, that is, the porosity network of sandstone has no obvious characteristic value(2)The average path length of sandstone pore network is directly related to the network size. The larger the aperture volume, the smaller the number of network nodes and the smaller the average path length. PageRank is a function defined in the pore network structure. It gives a positive real number for each pore, which indicates the importance of the pore and forms a vector as a whole. The higher the PageRank value is, the more important the pore is. Compared with the random model scheme, the average path length of the PageRank deletion scheme is much more significant than that of the random model scheme when the same few nodes are deleted by the PageRank algorithm, which may have a greater impact on the permeability of the whole sandstone pore network [20, 21](3)The pore network of sandstone is robust to random deletion. However, a few special nodes selected by the PageRank algorithm are deleted, which greatly reduces the transmission performance of the network. By comparing the stochastic model with the PageRank algorithm model, it is shown that the special pore structure plays a key role in the connectivity of the whole network. Based on the influence of the robustness of sandstone pore network on permeability, it can be used to select the position with strong robustness as the production well location in engineering, so as to ensure the stability of permeability and gas production.
Data Availability
Data used to support the results from the experimental results can be obtained at the university of British imperial, and access to sites is as follows: https://www.imperial.ac.uk/earth-science/research/research-groups/perm/research/pore-scale-modelling/micro-ct-images-and-networks/.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
This research was funded by the open fund of Jiangsu Key Laboratory of Coal-based Greenhouse Gas Control and Utilization (Grant No. 2017B06). The data and methods for this study are from the website of Imperial College London, UK, which is linked below: https://www.imperialL.ac.uk/earth-science/research/research-groups/perm/research/pore-scale-modelling/micro-ct-images-and-networks/.