#### Abstract

A clear understanding of nanoconfined gas flow behavior in shale gas reservoirs is beneficial for its efficient development. Nanopores in the shale gas reservoirs are characterized by complex surface chemistry and composition, as well as affinity, while their impact on methane flow has not been investigated comprehensively before. In light of current research status, this article proposes a simple yet robust theoretical model, incorporating bulk-gas flow flux and surface diffusion of adsorption gas. In particular, wettability effect, indicating the influences of the shifted critical properties and adsorption thickness, is captured as well. In this article, gas physical attributes, such as gas compressibility factor and gas viscosity, are modified under the nanoconfinement effect and wettability effect, and also the variation of effective pore size, induced by surface wettability, is considered. Notably, wettability effect in this article is described by using a macroscopic form, surface contact angle, facilitating the model applicability. In addition, both the bulk-gas flow model and surface-diffusion model, developed in this research, are able to achieve excellent agreements compared with the existed documents, clarifying the reliability of the proposed model. Meanwhile, key role of wettability effect on nanoconfined gas flow behavior, especially for surface diffusion of adsorption gas, is demonstrated. Results show that (a) the gas flux in small nanopores may exceed that in large nanopores, due to the predominant role of surface diffusion, while pore size is less than 10 nm; (b) the absence of real gas effect will lead to inaccurate characterization of nanoconfined gas flow capacity, and the magnitude can reach 7% for pore size of 5 nm and will enlarge with further pore size shrinkage; (c) wettability effect governs the total gas flux when pore size is less than 10 nm, while its impact will be greatly mitigated when pore size is greater than 50 nm. This article provides a comprehensive investigation to shed light on surface wettability on gas flow behavior through nanopores.

#### 1. Introduction

It is always an urgent issue to ensure the energy supply around the world, providing the basic guarantee for the development of human beings [1, 2]. Up to date, with the rapid depletion of conventional fossil energy, encompassing oil reservoirs, coal, and natural gas, some brilliant ideas are raised up to meet the increasing energy need, such as the wind energy, solar energy, and unconventional oil/gas energy [3–5]. Notably, although the unconventional oil/gas energy belongs to fossil energy, its geological reserve is dozens greater than regular oil/gas reservoirs [6–8], presenting the favorable potential to become the alternative energy in the years to come. In this research, emphasis is put on shale gas reservoirs, a member of unconventional gas reservoirs, which are characterized by diversity of nanopores, ultralow permeability, and huge reserves. Due to its ultralow permeability, generally spanning from several to hundreds of nano-Darcy [9–11], the economic development of shale gas reservoirs was extremely challenging for a relatively long period. And, thanks to the invention of multistage hydraulic fracturing technology, a couple of high-conductivity artificial fractures can be constructed in shale reservoirs [12, 13], dramatically advancing the gas flow capacity in the target formation. After that, the successful development of shale gas reservoirs has achieved. However, according to the typical production performance for shale gas wells, the gas production rate undergoes rapid decline at the initial production stage and then keeps stable at the middle and late stage [14–16]. From the acknowledged theory, regarding the production data analysis, the gas production rate at early stage depends on the fracture conductivity, while it heavily depends on reservoir inherent permeability at middle or late stage. Also, it should be noted that the period of middle and late production stage is far longer than the early stage. As a result, in order to have a clear image of production behavior at middle or late stage, one is supposed to have a clear knowledge of essential flow capacity in shale. However, because of the complexity exerted by nanoscale molecular interactions, the gas flow behavior in shale nanopores still remains vague. Other than that, the surface properties of nanopores [17–19], including composition, affinity, and structure, may affect microscopic interactions, further aggravating the complexity. Accordingly, precise characterization of nanoconfined gas flow behavior is helpful to explain gas production performance at middle or late production, and the motivation of this article is to address this issue.

Apart from the natural fractures, shale rock can be regarded as the nanoscale porous media. Moreover, shale matrix possesses the dual-wettability feature [20–22], including organic matter, presenting a strong attraction force on gas molecules, and the inorganic matter, presenting a strong attraction force on water molecules. It is the dual-wettability property that the gas-water distribution mode [23, 24] in shale becomes complex, as well as interesting. In the primary state, as for the organic matter in shale, due to the repulsive force exerted by organic-pore surface, the existence of water molecules in organic nanopores is hard. In addition, strength of the repulsive force will increase with the increasing thermal maturity. Notably, there exist two gas phase storage modes, including the adsorption gas, with thickness of a molecular diameter, and bulk-like gas. Also, a great deal of efforts has been devoted to investigating gas adsorption behavior [25–27], demonstrating that the adsorption phase density can be 2~5 times that of bulk-gas density. Actually, the bulk-like gas phase in the nanoscale organic nanopores is different with bulk gas, as its behavior is influenced by the interactions induced by pore surface, while the bulk gas is free of surface interactions. As a result, with the intention of capturing gas flow behavior through organic nanopores, one must shed light on the adsorption gas flow mechanism and bulk-like gas flow mechanism simultaneously. As for the inorganic nanopores, the surface mineral composition [28–30], such as quartz, feldspar, and chlorite, has strong affinity towards water molecules; therefore a thin water film takes place, with the thickness of several nanometers. The stabilization of water film in inorganic nanopores is heavily dependent on environmental humidity, pressure, and temperature, and its accurate characterization is crucial for reserve estimation and production prediction. As the adsorption positions are occupied by water molecules in inorganic nanopores, there exists only the bulk-gas phase. From the aforementioned context, it can be inferred that the gas flow behavior in organic nanopores shows dramatic difference compared with that in inorganic nanopores; both cannot be described by regular formulas for bulk gas. In this article, we focus on gas flow behavior inside organic nanopores, consisting of bulk-like gas and adsorption gas. Nanoconfined gas flow capacity has been studied by the previous excellent contributions; the Knudsen number [31–34], defined as the ratio of mean free path to pore size, is utilized to quantify the nanoconfinement impact. When Knudsen number falls below 0.001, gas flow behavior can be characterized by the classic no-slip NS (Navier-Stokes) equation [35, 36], as the flow mechanism is continuum flow. And, the flow mechanism becomes slip flow, in which the molecules at the boundary gain mobility, when Knudsen number ranges from 0.001 to 0.1. Notably, the slip flow can also be properly described by NS equation by modifying the boundary conditions, and the parabolic relationship, in terms of the gas velocity streamline, remains valid. Applicability of the NS equation breaks down when the Knudsen number is far beyond 0.1, corresponding to the transition flow and free molecular flow. In order to cover the entire range of Knudsen number, efforts have been performed, and a series of theoretical models have been proposed. Additionally, in terms of flow mechanism of adsorption gas, the surface diffusion, a special mechanism apparently different from the above bulk-gas flow mechanisms, is considered as a suitable approach to explain the adsorption gas flow behavior. Based on the surface diffusion theory, the mobility of adsorption gas is mainly driven by concentration gradient, regarding the adsorption gas content. In light of this point, some models are proposed to describe nanoconfined gas flow in organic matter, coupling bulk-like gas flow mechanism and surface diffusion of adsorption gas. However, it remains in serious debate on the way to couple the above different flow mechanisms, and also the existence of surface diffusion in shale gas reservoirs is still questionable. Hence, the accurate characterization of gas flow capacity through organic nanopores is still challenging. Furthermore, considering the predominant role of organic matter on shale gas production performance, properly solving this issue is fairly urgent.

Multiple approaches, including molecular dynamics (MD), numerical methods (such as LBM and PNM), and theoretical models, have been applied to shed light on nanoconfined methane flow behavior. As for the MD method [37, 38], its applicability is heavily dependent on powerful computational performance, and its simulation duration is generally limited to several nanoseconds. As a result, although the MD method is well-acknowledged as the precise characterization regarding microscopic fluid behavior, it remains hard to be a frequently utilized method, due to its high expense and complex construction process of molecular systems. Using molecular dynamics, Zhang et al. investigated the impact of nanopore geometry [39], including the cylindrical and conical nanopores, on gas transport through inorganic nanopores. With the help of MD method, Sun et al. [40] constructed shale organic nanopores by utilizing kerogen molecules and studied methane flow capacity in the constructed nanopores [41]. Yu et al. performed in-depth analysis upon gas flow characteristics by the use of MD [42], and a unified analytical model was proposed for organic and inorganic nanopores. After that, Yu et al. (2020) continued their research, and shed light on the roughness impact on nanoconfined gas flow. Wang et al. (2021) provided a comprehensive review on gas adsorption/diffusion in shale nanopores [43], highlighting the necessity of MD simulation in this research domain. In addition to MD method, LBM is a kind of numerical methods, suitable for microscopic fluid characterization. Notably, the reliability of LBM method roots in the continuum hypothesis, leading to its inherent deficiency that LBM fails to reproduce flow behavior once the Knudsen number is beyond 10 [44–46]. Zhao et al. utilized LBM method to simulate shale gas production performance, considering gas adsorption impact [47]. Due to the excellent computational efficiency, LBM method was also widely used to reveal nanoconfined water flow and nanoconfined gas-water two-phase flow. Particularly, the LBM method can serve as the promising upscaling method to link pore-scale fluid flow mechanism and that in porous media. Moreover, Huang et al. studied methane phase behavior in nanopores [48], accounting for the surface-molecule interactions as well as gas adsorption, elaborating the vapor-liquid coexistence feature. It should be highlighted that the MD and LBM method are regarded as the approaches for pore-scale fluid modeling methods, regardless of the upscaling aspect of LBM method. As a result, there exists an evident knowledge gap to characterize fluid flow in porous media. In order to address this issue properly, PNM, pore network modeling, is raised up, coupling the pore connectivity and overall conductivity [49–51]. Evidently, PNM cannot be utilized to investigate the pore-scale fluid flow behavior. Javadpour et al. reviewed gas flow models upon shale gas reservoirs, presenting the robustness of PNM describing gas flow capacity through nanoscale porous media [52]. Song et al. firstly constructed multiscale PNM in accordance with low-resolution and high-resolution SEM images, and then macroscopic parameter, permeability, was predicted by using PNM and compared with laboratory experimental results [53]. Yi et al. focused on the extraction of pore network [54], regarding shale gas samples. In particular, pore size and throat length in Yi’s PNM can alter with pressure, different with existed contributions. In addition to the aforementioned methods, the theoretical model, possessing the analytical formulas and clear applicability preconditions, is also a robust approach to explore nanoconfined gas flow. Comparing with MD, LBM, or laboratory experiments, the advantage of theoretical model is free of numerical simulation complexity and measurement errors caused by apparatus. Also, formulas in the established theoretical model have clear physical meanings, facilitating the understanding of the model and subsequent modifications [55–57]. As mentioned in the above text, the shale rock, composed of organic matter and inorganic matter, is a typical dual-wettability porous media. To the current knowledge, the theoretical models have paid little attention to wettability effect on nanoconfined gas flow. Javadpour et al. revealed the existence of nanopores in shale and proposed a theoretical model [58], combining the continuum flow and Knudsen flow, to characterize gas flow capacity in nanopores. Then, with the development success of shale gas/oil reservoirs, the theoretical investigations, in terms of fluid behavior in nanopores, become heat. The investigations can be roughly divided into two categories, the first one is modifying the boundary conditions for the slip flow [59, 60] and the other one is weight superposition of several gas flow mechanisms [61, 62]. To sum, the wettability effect has not received due attention at this point, while its impact cannot be neglected particularly at nanoscale. Hence, there is an evident knowledge gap to figure out shale gas transport behavior under wettability effect. In this article, a robust theoretical model, putting emphasis on wettability effect, is proposed, expecting to shed light on surface wettability on gas flow in organic nanopores.

The whole paper content is arranged based on the following way. At first, the physical model, presenting the organic nanopore in shale, is introduced, highlighting the wettability effect on adsorption phase and flow behavior. Then, formulas, capturing the wettability effect on shifted critical properties, the adsorption phase thickness, and the methane viscosity, are provided. Then, the formulas, describing nanoconfined flow behavior, are modified by coupling the wettability effect. As a result, the model for gas transport through the organic nanopore, considering wettability effect, is developed. The clarification upon the reliability of the proposed model is presented in Section 4. After that, concrete gas flow behavior is investigated and discussed in Section 5. Finally, several conclusions are drawn.

#### 2. Physical Model

In this article, attempts are implemented to reveal the gas flow behavior at nanopore scale, highlighting the impact induced by surface wettability. To the current knowledge that multiple nanoconfined mechanisms have been properly addressed, the consideration of surface wettability distinguishes this research from previous contributions. Therefore, the underlying reason, for surface wettability altering gas flow capacity, is the key issue in this work. At first, the physical meaning or process, demonstrating the wettability impact, needs to be clarified. At bulk condition, in compliance with the classic theory for phase variation, the gas behavior is mainly governed by intermolecular interactions, indicating the collisions between massive gas molecules. Notably, collision between fluid molecules and surface takes place inevitably, which however can be neglected at bulk condition. Related equations of state [63–65], such as PR-EOS and RK-EOS, root in the intermolecular interactions and can reproduce bulk-fluid phase behavior with high accuracy, claiming the little impact from the surface at bulk condition. With pore size shrinkage, the space volume, available for gas molecules, undergoes reduction. As a result, the quantity, suggesting the frequency of intermolecular collisions, declines rapidly. In the meanwhile, there still exist the molecule-surface interactions, keeping nearly unchanged no matter at bulk condition or in the narrow pores. Therefore, on the basis of the above analysis content, the frequent surface-molecule interactions in narrow pores are expected. Particularly, the surface impact may play the dominant role determining fluid behavior in nanopores. In the other words, when pore size shrinks from several micrometers, denoting the bulk condition, to nanometers, and denoting the shale nanopores in this article, the surface impact, suggesting the interaction force imposed on the gas molecules, cannot be neglected and becomes a predominant role. Thus, the evident difference between the gas behavior in bulk condition and that in the nanoconfined condition is the relative strength of the surface-molecule interactions.

Following the above analysis, it is attractive to put in-depth investigation on key factors, affecting the relative strength of surface-molecule interactions in nanopores. In this article, the surface wettability effect, generally described as the macroscopic contact angle, is the research emphasis. Although dramatic efforts are devoted to studying nanoconfined gas flow behavior, the wettability impact has not been revealed at this point. As depicted in Figure 1, the fluid distribution characteristics under diverse surface wettability are presented. Fluid molecules in nanopores can be categorized as adsorption phase, which is close to surface with a thickness of 1~3 molecular diameters [66, 67], and bulk-like phase away from the surface. As for nanopores with strong affinity, fluid molecules, belonging to adsorption phase, increase a lot, which are highlighted in green in Figure 1(a). From the left side to the right side, the adsorption molecules decline with decreasing surface affinity, as a result of the weak attraction force upon gas molecules. Therefore, the gas flow behavior will be altered due to the wettability impact; from the fluid distribution feature in Figure 1, it is evident that surface diffusion in nanopores with strong affinity will be stronger than that with weak surface affinity. Also, bulk-phase flow capacity will weaken due to the shrinkage of pore size, caused by the occupation of adsorption molecules. Accordingly, wettability effect will make a difference upon nanoconfined gas flow behavior, including both surface diffusion for adsorption molecules and bulk-like gas flow, which however has not received due attention. This article performs attempt to study this issue, focusing on gas flow capacity through organic nanopores considering different surface contact angles.

#### 3. Model Establishment

This article focuses on the wettability effect on gas flow behavior through organic nanopores. Notably, the wettability effect is captured by coupling the shift of critical properties as well as adsorption thickness in the gas transport model. In detail, the shifted critical properties are utilized to evaluate gas viscosity and density, further affecting the bulk-like gas flow behavior. Meanwhile, the adsorption phase thickness is considered while calculating surface diffusion. Following this way, the transport model is modified by considering the wettability effect.

##### 3.1. Wettability Effect on Shifted Critical Properties

The gas critical properties will shrink under nanoconfinement space [68, 69], inherently caused by the strong surface-molecule interaction. Similar with pore size, the surface affinity can also change the strength of surface-molecule interaction, as depicted in Figure 1. As a result, the critical property can be correlated with surface wettability. Feng et al. proposed a simple formula [70], elaborating the relationship between surface contact angle, macroscopic form of surface wettability, and fluid critical properties. Reliability of the formula is verified well, as it can reproduce nanoconfined fluid critical properties and achieve excellent match against experimental data or simulation results. Also, the formula demonstrates that the methane critical property, including critical temperature and pressure, can be described as a function of pore size and surface contact angle. Also, Feng et al. (2021) pointed out that nanopore geometry is also an influential factor upon critical properties, suggesting the decreasing degree of critical properties in the cylindrical nanopores will be severer than that in slit nanopores. where and are methane critical temperature and critical pressure at bulk state, respectively; and are nanoconfined critical temperature and critical pressure, respectively; denotes the surface contact angle, degree; is a constant, related to nanopore geometry, which is equal to 0.56 for cylindrical nanopores; and denotes the representative pore size, defined as the ratio of realistic pore radius to methane molecular diameter.

It can be inferred from Equation (1) that methane critical properties are correlated with pore size and surface contact angle at the same time. In addition, in the case of the large *m*, indicating that the pore size is far beyond methane diameter, the nanoconfined critical properties will approach the bulk value, regardless of the wettability impact. Notably, the wettability effect, in terms of the critical properties, becomes evident once the pore size decreases into nanoscale. As a result, it highlights the urgency to consider the wettability effect when investigating nanoconfined methane behavior. Based on Equation (1), nanoconfined methane critical properties can be calculated over a wide range of pore size and surface contact angle.

##### 3.2. Adsorption Methane Thickness

In this article, we put emphasis on the organic nanopores in shale, inherently possessing the attraction force on methane molecules. Thus, unlike bulk-state methane molecules, freely distributed in space, the adsorption phenomenon, indicating methane molecules adhering on the surface, takes place in nanopores. In this way, the molecules in nanopores are divided into two categories, involving of the adsorption phase and bulk-like phase. The adsorption phase will inevitably occupy the space close to the surface, leading to the decline of effective pore size. Thus, the adsorption phase thickness is the key parameter, requiring to be quantified. In the meantime, there are different transport mechanisms for adsorption phase and bulk-like methane; therefore, the quantification of adsorption thickness contributes to the model establishment for gas transport through organic nanopores.

Zhang et al. developed a robust correlation formula to characterize the adsorption thickness in nanopores [71]; its applicability covers the majority of common fluids, including methane, carbon dioxide, and oil with carbon number ranging from 3 to 10. The formula suggests that the adsorption phase thickness is not only related to the inherent molecular size, but also the pore size. The decrease of pore size will result in strong attraction force, induced by surface, upon molecules, further leading to the climb of adsorption thickness. Concrete correlation formula is given below.
where denotes the adsorption phase thickness, m; and denote the empirical coefficients for the correlation, dimensionless; denotes the nanopore radius, m; and denotes the molecular diameter, and it equals to 0.38 nm for methane.
where *M* is the methane molecular weight per mol, which is 16 g/mol here.

Notably, the formula fails to capture the wettability impact on adsorption thickness. Inferred from Equation (1), the methane phase behavior will be fairly close to the nanoconfined methane once the surface contact angle approaches 180°, indicating that adsorption phenomenon disappears at a super-weak surface affinity condition. In the other words, the adsorption thickness tends to decline with increasing surface contact angle and becomes zero when contact angle reaches 180°. However, the formula for the adsorption thickness at this point cannot reproduce the above scenario, evidently conflict with the Equation (1) and its underlying simulation results, experimental observations. In this regard, we correlate the model, raised by Zhang et al. (2019), with the wettability impact, characterized by surface contact angle. where denotes the surface contact angle, degree.

On the basis of Equation (5), the decline relationship between the surface wettability and adsorption phase thickness can be captured, which keeps in compliance with Equation (1). Therefore, the theoretical background of Equation (5) is more solid than the original Equation (2), suffering the deficiency of not considering the surface wettability impact. Notably, the correlation of wettability on adsorption thickness indeed lacks necessary verification efforts and may produce uncertainty. Also, as mentioned above, consideration of wettability impact in this article is the first attempt to the knowledge, and the developed formula can capture the general variation principle between the surface contact angle and adsorption phenomenon. Thus, although Equation (5) fails to achieve the accurate characterization of adsorption thickness, it has fairly solid scientific basis and is suitable for investigation and discussion at the primary stage. It is important to admit that this technical part may result in error, and some improvements are urgent in the future. Due to the existence of adsorption phase thickness, the effective pore size for bulk-gas flow becomes the primary pore size subtracting the adsorption thickness.

##### 3.3. Bulk-Gas Flow Behavior

Gas flow capacity in the organic nanopore is contributed by two parts, involving of the bulk-gas flow and surface diffusion of adsorption molecules. In terms of the first part, bulk-gas flow behavior is closely related to the Knudsen number, characterizing the frequency of fluid-surface collisions, which is defined as the ratio of mean free path to nanopore radius. where denotes the Knudsen number, dimensionless and denotes the gas free path, nm. Notably, the free path is heavily dependent on gas viscosity [72, 73], which has the following calculation formula. where denotes the gas viscosity, cp; denotes the gas compressibility, dimensionless; denotes the gas universal constant, which is equal to 8.314 J/mol/K; and denotes the surrounding pressure, Pa.

The gas viscosity can be described as a function of pressure and temperature, and its change law is well characterized by the following equation [74]. where denotes the gas viscosity at the standard condition, suggesting the temperature is 293 K and pressure is 0.1 MPa; and denote the reduced pressure and reduced temperature, respectively; and , , and are empirical coefficients, which are assigned as 7.9, , and 0.28, respectively.

Inferred from Equations (9) ~(11), in terms of the calculation of gas viscosity, the dependence on methane critical properties is demonstrated. The methane critical properties, including Tc and Pc, are altered under the nanoconfinement effect and wettability impact simultaneously, as described in Section 3.1, and the methane viscosity is also affected by wettability effect. Therefore, the critical properties, utilized for the calculation of gas viscosity, are the nanoconfined critical properties in Equation (1), instead of that in bulk state. In this way, the gas viscosity under the wettability impact can be calculated.

Utilizing the simulation tool as well as theoretical analysis, Karniadakis et al. [75] developed a robust formula for gas transport through cylindrical nanopores [75], covering the Knudsen number over 10; however, the wettability impact has not been considered. Thus, the model, proposed by Karniadakis et al. [75], can be regarded as a desirable start point and will become a more powerful investigation approach to explore microscopic gas behavior, by taking care of the wettability impact. Also, on the basis of Wu et al. [76], the Knudsen number for typical shale gas reservoirs ranges from 0.0002 to 6 and, therefore, falls in the application scope of Karniadakis et al. [75] research.
where denotes the gas mass flux through the nanopore, kg/m^{2}/s; is the empirical coefficient, dependent on the boundary condition, which is assigned as -1 in this article; and , , and are coefficients for describing gas rarefication impact, which are assigned as 1.19, 4, and 0.4, respectively.

In order to facilitate the evaluation of transport capacity, the conductance, the ratio of gas mass flux to pressure difference, is provided. Notably, in Equation (14), the shrinkage of effective pore size, induced by the adsorption phase thickness, is considered in , and also variation of gas viscosity and Knudsen number manifest the wettability impact.

Meanwhile, real gas effect, denoting that inherent methane molecular volume cannot be overlooked, is coupled in Equation (8). Then, the developed Equation (14) represents the bulk-gas transport conductance in a nanopore. In order to extend its applicability, further work can be devoted to upscaling the pore-scale investigation to nanoscale porous media.

##### 3.4. Surface Diffusion Behavior

Different from the bulk-gas transport behavior, driven by displacement pressure, the mobility of the adsorption molecule is governed by surface diffusion, driven by molecular concentration gradient. At the equilibrium state, the adsorption molecules hop from the adsorption region to the bulk-like region, and the exchange velocity is the same. In the case of a nanopore with a displacement pressure, indicating that the pressure at the inlet is higher than that at the exit, the molecular concentration at the inlet is greater than that at the exit. For the adsorption phase, the concentration gradient takes place, resulting in the adsorption molecules moving from the inlet to the exit. The above physical process is the surface diffusion, on the basis of the analysis, which is closely related to pressure and surface coverage, a key factor representing the ratio of realistic adsorption amount to the maximum value. Wu et al. have established a model for surface diffusion [77], correlating the diffusion capacity with pressure difference, neglecting the capillary pressure between the vapor phase and adsorption phase.
where denotes gas mass flux contributed by surface diffusion, kg/m^{2}/s; is the diffusion coefficient, while gas coverage factor is zero, m^{2}/s; and denotes the gas concentration, derived from the single-layer adsorption assumption, kg/m^{3}.
where denotes the diffusion coefficient under a specified gas coverage, m^{2}/s; denotes the gas coverage factor, dimensionless; denotes the molecular potential for forward migration, m/s; and denotes the molecular potential for blockage, m/s. Notably, the is assigned as 0.5, and isosteric adsorption heat at zero coverage () is J/mol.

The precondition for the above formulas is the single-layer adsorption assumption [78, 79], suggesting that the surface will be fully occupied with the thickness of a molecular diameter, when the gas coverage approaches 1. Notably, in this article, the adsorption phenomenon is correlated with surface wettability; thus, the gas coverage, with the definition of current adsorption amount to the maximum amount, is related to the surface contact angle. In Section 3.2, focusing on the calculation of adsorption thickness, thickness, obtained from the formula, will always be smaller than a methane molecular diameter; therefore, the single-layer assumption holds during the model establishment. Then, the traditional gas coverage was described as a function of pressure; however, the wettability effect is considered in this article.

Similarly, to facilitate the upcoming comparison, the gas mass flux is transformed as the conductance, which is provided below.

##### 3.5. Total Nanoconfined Flow in Organic Pores

Coupling the bulk-like gas conductance and surface diffusion, the total gas flow capacity through an organic nanopore can be evaluated. In this article, an area-average concept is utilized to couple both two flow mechanisms. The concept has been widely applied in the nanoconfined fluid flow theory, like the evaluation of nanoconfined water viscosity and identification of adsorption fluid molecules. Also, some research efforts for nanoconfined gas behavior have achieved good results under the concept. The main discrepancy between this work and previous contributions is the consideration of wettability impact. As stated and derived in the aforementioned context, the adsorption phase thickness, the gas viscosity, and adsorption coverage are all related to surface contact angle. As a result, the research can be regarded as the previous contributions incorporating surface wettability impact. In sum, the area-average concept is doable to handle this issue. where is the gas flow capacity through a specified organic nanopore, s.

The adsorption thickness is a function of pressure and will decline with a decreasing pressure when the other conditions remain unchanged. Thus, the alteration of the weight coefficients for and happens, demonstrating the nanoconfined flow capacity always change with pressure. This phenomenon highlights the research value for the efficient development of shale gas reservoirs, as the proposed model can capture the change principle of the realistic gas flow capacity under the depressurization process of shale gas reservoirs. Besides, in terms of the realistic development process [80, 81], the pore radius will experience the shrinkage impact, induced by the stress dependence, and the enlarge impact, exerted by the matrix shrinkage. However, in this article, the potential factors, upon original pore size, are not coupled at this point. The proposed model can be further modified by taking care of these factors in the future. This work focuses on the wettability effect on pore-scale gas flow performance.

#### 4. Model Validation

Before the proposed model can be utilized to investigate gas flow in organic nanopores, its reliability requires careful examination. As described in Section 3, the proposed model consists of two components, including the bulk-gas model and a diffusion model for adsorption molecules. Notably, the wettability effect, in the form of surface contact angle, is incorporated in both bulk-gas model, as well as the surface diffusion model. To current knowledge, experimental results are hard to identify whether the mass flux contributions from the bulk gas or adsorption gas and so does the molecular simulation. In this regard, the above two models are verified separately in this article.

As for the proposed bulk-gas model, the enhance factor, describing the enhancement degree of gas flow rate under the nanoconfinement effect, has the definition as the ratio of conductance calculated by the proposed bulk-gas model to that evaluated by no-slip NS equation. In accordance with the definition, the enhance factor can be obtained, which is a function of Knudsen number. Loyalka and Hamoodi [82] and Tison [83] have provided fruitful data for the nanoconfined bulk-gas flow, with the help of advanced numerical method and laboratory experiments. Detailed basic data collected from the previous documents is tabulated in Table 1. Notably, in this part, the surface diffusion is neglected, and then the is degenerated from Equations (24) to (14). denotes the gas conductance based on the no-slip NS equation, and the formula for enhance factor is provided.

As depicted in Figure 2(a), it can be demonstrated that the proposed bulk-gas model is able to achieve good agreements with existed simulation results and experimental data. Also, based on the relationship between gas conductance and Knudsen number, it can be inferred that the gas rarefaction, induced by the nanoconfinement impact, plays a positive role for gas transport capacity. Concrete underlying mechanisms will be specified in the following discussion part. As for the proposed surface diffusion model, the ratio of diffusion coefficient at a given gas coverage to that at zero gas coverage is used. Similarly, relevant data is collected from the previous references, in which gas type includes SO_{2}, C_{2}H_{6}, and C_{3}H_{8}, and detailed information is presented in Table 2.

**(a)**

**(b)**

It can be observed from Figure 2(b) that the proposed model for surface diffusion can reach a good match with the actual recorded value. The surface diffusion becomes evident with the increase of gas coverage, and the enhancement amplitude also climbs with the increasing gas coverage. As the surface diffusion is a unique mechanism for gas-flux contribution, comparing with the gas flow through conventional pores, the nanoconfined gas flow capacity strengthens dramatically. Thus, the difference, between nanoconfined gas behavior and bulk gas, arises in both the bulk-like gas flow and surface diffusion. With the intent of capturing gas flow behavior in the organic nanopore, one should take care of both the bulk-like gas transport model and surface diffusion model.

#### 5. Results and Discussion

After clarifying the reliability of the proposed model, it is sensible to shed light on gas flow behavior in the organic nanopore, with the help of the above research efforts. Actually, previous contributions have been performed to investigate the issue; however the wettability effect, denoting the surface affinity to methane molecules and becoming more evident in a nanoscale space, has received little attention. In this article, we focus on the wettability effect on the gas flow behavior, looking forward to enriching relevant knowledge about shale gas flow mechanisms. Some basic parameters are provided in Table 3, facilitating the analysis upon influential factors.

##### 5.1. Nanoconfined Flow Conductivity

To date, the discrepancy between the nanoconfined gas flow behavior and that in bulk state has been widely reported. Intuitively, the discrepancy stems from the shrinkage of pore scale, suggesting the pore size influence. A general knowledge in terms of the role of pore size is urgent. Five sets of pore size are utilized here, including 2 nm, 5 nm, 10 nm, 50 nm, and 100 nm, covering the entire pore size range of the organic shale nanopores. And, in this part, the surface contact angle remains unchanged as 30°, and the other parameters are used from Table 3. As depicted in Figure 3, the nanoconfined gas flow behavior over the pressure, ranging from 0.1 to 50 MPa, is presented. In the case of bulk-like gas, the conductance increases with the increasing pressure. The greater methane density, under the higher pressure, is supposed to take responsible for this phenomenon. Also, the high-pressure atmosphere will mitigate the methane free path, resulting in small Knudsen number; therefore, the molecules at boundary may lose mobility. As a result, the high-pressure atmosphere can impair the gas conductance, regardless of the enhance effect based on the methane density. Meanwhile, at a specific pressure, bulk-gas conductance has a positive correlation with pore size. However, the gas conductance, contributed by surface diffusion, has a negative correlation with pore size. It is because the volume-weight coefficient for adsorption gas becomes greater with the decline of pore size. For example, as the adsorption phase thickness falls in a small range, as inferred from Equation (5), the volume-weight coefficient for surface diffusion in 2 nm will far beyond that in 100 nm. In addition, from Figure 3(b), for a specific pore size, the conductance will increase rapidly at first and then become stable with the increasing pressure. The first stage for rapid increase is mainly attributed by the dramatical increase of diffusion coefficient () as well as gas concentration (), and both are sensitive to the variation of pressure.

**(a)**

**(b)**

**(c)**

After analyzing the flow behavior of bulk-like gas and adsorption molecules separately, the total gas conductance, directly manifesting the gas flow capacity in the organic nanopore, is presented in Figure 3(c). It can be observed that the pore size has little impact on the general variation feature between the gas conductance and pressure; gas flow capacity always has a positive relationship with increasing pressure. In order to achieve a clear image about total gas conductance, for the pressure ranging from 0.1 to 50 MPa, it is surprising to find that total conductance in 5 nm and 10 nm is less than that in 2 nm. Also, in Figure 4, the total gas conductance in 15 nm and 20 nm is less than 2 nm in the pressure range of 0.1~20 nm and 0.1~8 MPa, respectively. Based on the traditional theory, the greater pore size corresponds to the stronger gas flow capacity, while the nanoconfined gas flow behavior can alter the above perspective. The phenomenon can be attributed to the role of surface diffusion, which is dominant in nanopores with pore size less than 5 nm. It should be noted that the traditional theory roots in the bulk-gas flow mechanism and overlooks the surface diffusion. Thus, although the gas conductance in small pores, contributed by bulk gas, is less than that in large pores, the gas conductance, contributed by surface diffusion, may drastically enhance gas flow capacity and allow gas conductance in small pores greater than that in the large pores. The observation is helpful to understand shale gas production behavior in field.

The contributions of bulk-like gas and adsorption molecules are presented in Figure 5. It can be concluded that surface diffusion is dominant for pore size less than 5 nm and bulk-gas flow mechanism becomes the prominent contributor for pore size larger than 50 nm. When pore size falls in the range of 5~50 nm, the relative strengths of bulk-gas flow mechanism and surface diffusion are heavily dependent on pressure. The contribution of bulk-gas conductance will decrease first and then increase stable. On the contrary, the contribution of surface diffusion will increase first and then decrease stable. It is the variation feature that the gas conductance in small pores can exceed that in large pores. Thus, the gas flow capacity through nanopores may be underestimated based on the current theory, and the surface diffusion contribution cannot be neglected for small nanopores.

**(a)**

**(b)**

##### 5.2. Real Gas Effect

In realistic shale organic nanopores, the atmosphere pressure can reach as high as 50 MPa. And, the gas molecules cannot be considered as ideal gas under this condition, as frequency of intermolecular collision climbs a lot, and intermolecular distance becomes comparable to molecular diameter. Associated influence will arise by considering the molecular inherent diameter, such as the variation of gas viscosity and compressibility, as well as MFP, which is called as real gas effect. For previous pieces of research efforts in biological or physical scope, due to the small atmosphere pressure, gas molecules are widely regarded as the real gas effect. However, the assumption appears to break down for shale gas reservoirs. Notably, for ideal gas, the gas viscosity () remains unchanged as the gas viscosity at the standard condition (), regardless of alteration of pressure and temperature. And the idea gas compressibility () is always 1. In the following comparison, the original symbol with an additional suggests the physical parameter for ideal gas assumptions. The other parameters are used from Table 3.

Similar to the verification section, the bulk-gas flow mechanism and surface diffusion are investigated separately. In Figure 6(a), the Knudsen number for real gas can reach as great as 3 times that of ideal gas. Also, the magnitude increases with the increasing pressure. Notably, the discrepancy, induced by real gas effect, upon Knudsen number disappears, while the pressure approaches 0.1 MPa. This phenomenon meets the above analysis that the real gas behavior can be regarded as the same as ideal gas under low pressure. Therefore, the bulk-gas flow capacity will be underestimated, while the real gas effect is not considered. At a specified pressure, the real gas effect will be mitigated by enhancing temperature. As for the surface diffusion, the gas concentration is utilized to shed light on the real gas effect. In the case of temperature less than 500 K in Figure 6(b), the gas concentration will decline with the increasing pressure, and the magnitude can reach as great as 8%. In contrast, when temperature exceeds 500 K, the gas concentration will show a slightly increase trend. The above phenomenon is mainly caused by the dependency of natural gas compressibility on surrounding temperature.

**(a)**

**(b)**

With the intent of quantifying the real gas effect, the concrete deviation is calculated and presented in Figure 7. As depicted in Figure 7(a), due to the existence of real gas effect, gas conductance will be enhanced, and the magnitude can reach 15% when pore size is equal to 5 nm. Notably, the magnitude will be greatly mitigated in large nanopores, and it will be close to zero for pore size beyond 50 nm. As for surface diffusion in Figure 7(b), the gas conductance shows a negative relationship with regard to pressure, indicating that real gas effect indeed impairs the contributions from surface diffusion. The relationship is insensitive to the variation of pore size. In Figure 7(c), combining the bulk-like gas flow mechanism and surface diffusion, the negative correlation between pressure and total gas conductance holds when pore size is less than 10 nm. However, when pore size exceeds 50 nm, the gas conductance will increase with increasing pressure. The relative contribution of gas flow mechanisms, presented in Figure 5, can be used to elucidate the issue. For small nanopores, the prominent factor, in terms of the total gas conductance, is surface diffusion and turns to be bulk-like gas flow for large nanopores. As a result, the total conductance will show the negative correlation with increasing pressure, keeping in line with the surface diffusion, and show the positive correlation, keeping in line with the bulk-like gas conductance.

**(a)**

**(b)**

**(c)**

##### 5.3. Wettability Effect

In shale, the surface affinity for organic nanopores is diversity, relying on the surface composition and pore size, as well as physical structure. Also, shale is a highly-developed heterogeneous porous media across thousands of geological years [87, 88]. There exists a variety of kerogen molecular types, known as the basic components for shale organic nanopores, as well as a wide range of thermal maturity, which will result in different surface wettability upon shale gas. Also, considering the mineral composition in the organic nanopores, particularly at the low-maturity period, the surface contact angle is set to fall in the range of 0~180°. The other parameters are used in Table 3.

In this article, the wettability effect is represented by the methane critical properties and adsorption phase thickness, both which are heavily dependent on the surface contact angle. As depicted in Figure 8(a), the critical temperature will decline with the pore size shrinkage. Also, at a specified pore size, strong surface affinity corresponds to the large decreasing magnitude, manifesting the influence of strong interactions between surface and molecules. In Figure 8(b), the adsorption phase thickness versus surface contact angle is presented. As for the strong surface affinity, the adsorption thickness will approach the ideal gas. And the adsorption phenomenon will disappear for extreme weak surface affinity, imposing a repulsive force upon the methane molecules near the surface.

**(a)**

**(b)**

As for small nanopores with pore size of 2 nm, the wettability effect on gas conductance, contributed by bulk-like gas and adsorption gas, is quantified. In Figure 9(a), it can be found that bulk-gas conductance will decrease while the surface affinity strengthens. Similarly, Figure 9(b) denotes the variation feature of surface diffusion versus pressure, indicating that the gas conductance, contributed by surface diffusion, will enhance with strong surface affinity. After comparison, it can be concluded that the deviation of bulk-gas conductance caused by surface wettability is smaller than the surface diffusion. Hence, wettability impact has minor influence on the bulk-gas flow mechanism and major influence on the surface diffusion. Furthermore, on the basis of Figure 9(c), the tendency of total gas conductance versus pressure is close to that for surface diffusion, which is caused by the dominant role of surface diffusion in small nanopores.

**(a)**

**(b)**

**(c)**

When pore size becomes 10 nm, the overall impact, induced by surface wettability, on gas conductance changes. In Figure 10(a), the tendency is the same with that in Figure 9(a); however, the discrepancy caused by the surface wettability becomes smaller, comparing with that in 2 nm. It demonstrates that the wettability impact on bulk-gas flow behavior will become weak with the increasing pore size. Additionally, wettability effect on surface diffusion remains unchanged, comparing with that in 2 nm, as presented in Figure 10(b). In the meanwhile, the total conductance versus pressure shows dramatic difference with that in 2 nm, which can be explained by the relative contributions, presented in Figure 5. The wettability impact has little influence on bulk-gas flow behavior in large nanopores, and mainly affects the surface diffusion. Thus, the total gas conductance versus pressure will approach that for surface diffusion in 2 nm and approach the bulk-like gas flow mechanism when pore size is beyond 10 nm.

**(a)**

**(b)**

**(c)**

Regularity of nanoconfined flow behavior in the organic nanopore with pore size of 50 nm is presented in Figure 11, demonstrating the correctness of the aforementioned analysis. In the large nanopore, the total conductance and bulk-like gas conductance share the same variation feature, regardless of the wettability effect on surface diffusion. As a result, in the case of the total gas flow capacity, the wettability effect has little impact when pore size is beyond 50 nm, while it cannot be neglected when pore size is less than 10 nm. Accordingly, the wettability impact has the applicability scope, suggesting the upper limit of pore size is 10 nm, which is in line with the surface diffusion. In light of the fact that massive shale organic nanopores have pore size less than 10 nm, thus the wettability impact is worthy of consideration for precise flow behavior characterization.

**(a)**

**(b)**

**(c)**

#### 6. Conclusions

(1)A robust model for gas flow through the shale organic nanopore is developed, coupling surface wettability into both bulk-gas flow model, as well as surface diffusion model. Key factors, induced by surface wettability and pore size shrinkage, are considered properly, including the critical property shift, gas viscosity variation, and adsorption phase thickness(2)Gas conductance, contributed by bulk-gas flow mechanism, has a positive relationship with pore size; however that from surface diffusion has the opposite trend. The gas flux in small nanopores may exceed that in large nanopores, due to the predominant role of surface diffusion while pore size is less than 10 nm. Absence of real gas effect will lead to inaccurate characterization of nanoconfined gas flow capacity, the magnitude can reach 7% for pore size of 5 nm(3)The wettability impact has little influence on bulk-gas flow behavior and mainly affects the surface diffusion. Wettability effect governs the total gas flux when pore size is less than 10 nm, while its impact will be greatly mitigated when pore size is greater than 50 nm. The wettability impact has the applicability scope, and its upper limit of pore size is 10 nm

#### Data Availability

Data is available on request.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

We acknowledge China University of Mining & Technology for the permission to publish this work.