원시데이터 수집 시스템
선정목록으로

Spatially distributed wettability characterization in porous media

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)(18) VENT(방수통기 부품)

기본 정보

저자
  1. Faisal Aljaberi — Chemical and Petroleum Engineering Department, Khalifa University of Science and Technology, P.O. Box 127788, Abu Dhabi, United Arab Emirates
  2. Hadi Belhaj — Chemical and Petroleum Engineering Department, Khalifa University of Science and Technology, P.O. Box 127788, Abu Dhabi, United Arab Emirates
  3. Sajjad Foroughi — Department of Earth Science and Engineering, Imperial College London, London, SW7 2AZ, UK
  4. Martin J. Blunt — Department of Earth Science and Engineering, Imperial College London, London, SW7 2AZ, UK
  5. Mohammed Al Kobaisi — Chemical and Petroleum Engineering Department, Khalifa University of Science and Technology, P.O. Box 127788, Abu Dhabi, United Arab Emirates. Mohammed.Alkobaisi@ku.ac.ae
DOI
101038s41598026436881
저널
Scientific Reports
발행년도
2026
발행기관
Nature Portfolio
피인용수
2
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-026-43688-1
토픽
Electrostatics and Colloid Interactions
OpenAlex ID
W7134197123

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막), (18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
wettability, porous media, contact angle, electrochemical devices, membrane separations
판단 근거
다공성 매질 내의 젖음성(wettability)과 접촉각을 정밀하게 측정하는 알고리즘에 관한 연구로, 논문에서 수소 저장 및 전기화학 소자(electrochemical devices), 분리막(membrane) 응용을 직접 언급하고 있습니다.
R&D 활용 포인트
PEMFC의 가습기(중공사막)나 전해질막(PEM) 내의 액체/기체 경로 제어, 또는 방수통기용 멤브레인의 다공성 구조 내 유체 거동 분석 및 성능 예측 모델링에 활용 가능합니다.
평가 입력
본문 67,157자 중 30,032자 발췌

초록

Multiphase displacement in porous media is governed by local wetting, yet its spatial variability in situ remains difficult to quantify. In micro-CT imaging, wettability is characterized by a geometric contact angle, but estimating contact angles is challenging since the three-phase contact loop is difficult to identify due to partial-volume effects and uncertainty in the segmentation. Existing methods cannot reliably resolve pore-scale heterogeneity in wettability. We introduce a novel automated geometric algorithm to measure the contact angle pore-by-pore contact angle that bypasses explicit detection of the contact loop by extrapolating surface normals from neighboring two-phase interfaces, reducing sensitivity to segmentation errors. The method is validated on synthetic datasets and applied to water-wet and mixed-wet rocks. We quantify measurement uncertainty arising from mesh smoothing and segmentation, and show that smaller pores amplify uncertainty. Wettability heterogeneity broadens the contact angle distribution because local wetting varies across the pore space. Our workflow produces spatially resolved contact angle maps that reveal heterogeneity masked by bulk averages; in a mixed-wet sample with a mean contact angle of 64.7°-conventionally classified as weakly water-wet-40% of pore space lies in the intermediate-wetting regime (70-110°), explaining the coexistence of minimal interfaces and mixed filling mechanisms. Open-source software is also provided enabling accurate wettability characterization for CO<sub>2</sub> sequestration, hydrogen storage, and multiphase flow applications.

본문 67,157자

본문 펼치기
### Scientifc Reportsi #### Article in Press [https://doi.org/10.1038/s41598-026-43688-1](https://doi.org/10.1038/s41598-026-43688-1) ## Spatially distributed wettability characterization in porous media <u>Received: 13 December 2025</u> <u>Accepted: 5 March 2026</u> Cite this article as: Aljaberi F., Belhaj H., Foroughi S. _et al._ Spatially distributed wettability characterization in porous media. _Sci Rep_ [(2026). https://doi.](https://doi.org/10.1038/s41598-026-43688-1) [org/10.1038/s41598-026-43688-1](https://doi.org/10.1038/s41598-026-43688-1) Faisal Aljaberi, Hadi Belhaj, Sajjad Foroughi, Martin J. Blunt & Mohammed Al Kobaisi We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply. If this paper is publishing under a Transparent Peer Review model then Peer Review reports will publish with the final article. © The Author(s) 2026. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain [permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.](http://creativecommons.org/licenses/by-nc-nd/4.0) ## Spatially Distributed Wettability Characterization in Porous Media Faisal Aljaberi <sup>1</sup> , Hadi Belhaj <sup>1</sup> , Sajjad Foroughi <sup>2</sup> , Martin J. Blunt <sup>2</sup> , and Mohammed Al Kobaisi <sup>1,*</sup> 1 Chemical and Petroleum Engineering Department, Khalifa University of Science and Technology, Abu Dhabi, P.O. Box 127788, United Arab Emirates 2 Department of Earth Science and Engineering, Imperial College London, SW7 2AZ London, United Kingdom [*Corresponding author: Mohammed.Alkobaisi@ku.ac.ae](mailto:Mohammed.Alkobaisi@ku.ac.ae) Abstract Multiphase displacement in porous media is governed by local wetting, yet its spatial variability _in situ_ remains difficult to quantify. In micro-CT imaging, wettability is characterized by a geometric contact angle, but estimating contact angles is challenging since the three-phase contact loop is difficult to identify due to partial-volume effects and uncertainty in the segmentation. Existing methods cannot reliably resolve pore-scale heterogeneity in wettability. We introduce a novel automated geometric algorithm to measure the contact angle pore-by-pore contact angle that bypasses explicit detection of the contact loop by extrapolating surface normals from neighboring two-phase interfaces, reducing sensitivity to segmentation errors. The method is validated on synthetic datasets and applied to water-wet and mixed-wet rocks. We quantify measurement uncertainty arising from mesh smoothing and segmentation, and show that smaller pores amplify uncertainty. Wettability heterogeneity broadens the contact angle distribution because local wetting varies across the pore space. Our workflow produces spatially resolved contact angle maps that reveal heterogeneity masked by bulk averages; in a mixed-wet sample with a mean contact angle of 64.7°— conventionally classified as weakly water-wet—40% of pore space lies in the intermediate-wetting regime (70-110°), explaining the coexistence of minimal interfaces and mixed filling mechanisms. Open-source software is also provided enabling accurate wettability characterization for CO2 sequestration, hydrogen storage, and multiphase flow applications. Introduction Wettability, the preference of a solid for a fluid over another, governs capillary forces <sup>1</sup> and thus fluid displacement and trapping in porous media with applications for geological CO2 and H2 storage <sup>2,3</sup>, oil recovery and electrochemical devices <sup>4</sup> . The wettability is inherently non-uniform, as pore surfaces exhibit a distribution of contact angles that varies by material and even within a single sample. This spatial heterogeneity controls pore-scale trapping and displacement patterns in rocks <sup>5,6</sup> and, at larger scales, influences injectivity, trapping, and ultimate recovery and storage efficiency. In manufactured media, such as electrolysers and fuel cells, the wettability of the catalyst and porous layers determines liquid and gas pathways and hence device performance <sup>4,7–9</sup> . Wettability comes from the balance of adhesion at the solid-fluid interfaces and cohesion across the fluid-fluid interface, expressed by the surface energies of the denser fluid-solid (σ1s), lighter fluid-solid σ2s and fluid-fluid interfacial tension (σ ). The force balance at a three-phase (fluid-fluid-solid) contact is expressed by the Young equation: cosθ = <sup><u>σ2s</u></sup> <sup><u>- σ1s</u></sup> σ (1) where _q_ is the contact angle measured through the denser phase, 1. The contact angle can be measured by optical goniometry, where a droplet is placed on a flat or titled substrate and the angle at three-phase contact loop—the continuous intersection of the three phases—is read from the droplet profile <sup>10</sup> . For porous media, _in situ_ measurements are enabled by X-ray micro-computed tomography (micro-CT), which provides 3D pore-scale images <sup>11</sup> . Sequential scans during flow at different saturations resolve evolving fluid-fluid interfaces, enabling quantification of wettability and capillary pressure <sup>12,13</sup> . From micro-CT data, contact angles can be obtained using three main approaches: direct geometric measurements from 3D images <sup>12,14–16</sup>, an energy balance method that combine interface curvature with changes in saturation and interfacial areas between scans <sup>17</sup>, and topological methods based on the analysis of isolated phase clusters <sup>18–21</sup> . Each has distinct strengths and limitations summarized in 1. Table 1. Summary of key pore-scale contact angle measurement approaches, including their methodology, advantages, limitations, and applicable material contexts. Measurement <u>Approach</u> Methodology Pros Cons <u>Description</u> Image-quality dependent; challenged by roughness and partial-volume effects; reflects angles at rest (not transient). It neglects viscous and dissipative losses, oversimplifies wetting dynamics (viscous/kinetic effects), requires multiple images to quantify energy changes, and cannot resolve spatial heterogeneity. Relies on measuring curvature in isolated clusters; simplifies <u>contact-line physics;</u> Direct, straightforward measurement that captures local heterogeneity and hysteresis, with high accuracy under ideal conditions and high quality images. Simple implementation; captures a displacementeffective angle; tolerant to small local segmentation noise. Elegant theoretical link; broader applicability, and less sensitive to small Geometric (direct) micro-CT (θg) <sup>12,14</sup> Extract contact angles at the three phase contact loop from segmented 3D pore-scale images. Solve for contact angle using thermodynamic principles (Helmholtz free energy), assuming equilibrium states, reversible processes, and no energy loss. Use interface curvature and topology (Euler characteristic of <u>isolated clusters),</u> Thermodynamic energy balance <sup>17</sup> Topological (Gauss- Bonnet) <sup>18–21</sup> with surfaceorientation at the contact loop, to derive pore-to-continuum wettability metrics. segmentation artifacts. returns bulk metrics; does not provide an independent contact angle measure and converges toward geometry-based estimates in high <u>quality images.</u> Despite recent advances, accurately quantifying wettability remains a major challenge. Measuring contact angle is highly sensitive to segmentation quality, voxel size, partial-volume effects, and surface roughness <sup>12,22</sup> . Macroscopic flow properties, such as capillary pressure and relative permeability are controlled by pore structure, displacement direction, and wettability <sup>23</sup> . Pore-scale simulation that uses only an average angle often fails to match experimental results even when the pore structure is captured accurately <sup>6,24</sup> . The local distribution of contact angle dictates displacement sequences and fluid configurations. Assigning wettability pore-by-pore significantly improves predictions from pore-scale simulations <sup>6,25</sup> . Direct numerical simulations show that surfaces with intermediate wettability (70°-110°) can lead to both positive and negative capillary pressure in converging-diverging pores <sup>24</sup> . _In situ_ measurements are therefore essential, both for interpreting experimental displacement behaviour <sup>26–28</sup> and for supplying accurate inputs to pore-scale simulations <sup>24,29,30</sup> . Among the aforementioned methods, the geometric method (θg ) approach is most informative when resolution and segmentation are well controlled because it maps local angles and therefore heterogeneity. In the geometric approach, θg is evaluated locally at three-phase contact loops by calculating the angle between the normal vectors of the adjacent interfaces. Because this method depends explicitly on the accurate determination of interface normals, it is highly sensitive to image quality, resolution, segmentation errors, and surface smoothing. Any noise or uncertainty in the image data directly propagates into the normal vector estimation, leading to increased uncertainty in the resulting geometric contact angle. In small rock samples containing two immiscible fluids, there can be tens to hundreds of thousands of three-phase contact points from which contact angles could be measured. This makes automation essential. In this work, we develop an extended geometric approach to quantify wettability from 3D images on pore-by-pore basis. Rather than directly using the interface normals, the method is based on the extrapolation of the surface normals, and through careful image processing, in which we investigate and optimize image processing techniques to accurately resolve three-phase contact loops from the images, we achieve higher accuracy than existing methods, enabling spatially resolved wettability mapping in porous rocks and engineered materials. We demonstrate the method’s efficacy on a range of experimental datasets with different imaging and flow conditions, including oil recovery in water-wet and mixed-wet systems and hydrogen storage, and systematically benchmark the results against existing tools. By refining the surface normals using local neighborhood information, explicitly accounting for boundary uncertainties, and employing physics-informed interpolation, our algorithm outperforms current approaches in accuracy and robustness. Materials and methods Image data used and processing steps We assembled two complementary datasets to evaluate our contact angle measurement algorithm and establish its accuracy across diverse wetting conditions. Synthetic voxelized images with known analytical solutions provided rigorous validation benchmarks, while high-resolution micro-CT scans of rock samples subjected to flooding experiments tested the method’s performance on real porous media with complex geometries. Two synthetic voxelized test cases were generated to validate the algorithm (Fig. 1). The first case tests a droplet on a flat plane across the full wettability spectrum, while the second case examines curved surface interactions typical of real geological materials. Both cases admit exact analytical solutions for validation. a)Droplet on Flat Surface b)Droplet on Curved Surface Fig. 1 . Synthetic voxel models of a droplet on (a) a flat surface and (b) a curved surface. Green represents the droplet; red represents the solid. These cases were used to validate the contact angle measurements. Four experimental datasets from flooding experiments were analyzed <sup>16,31–34</sup>, including isolated oil ganglia in Ketton limestone, waterflooding experiments in Bentheimer sandstone under different wetting conditions, and a hydrogen storage case in Bentheimer sandstone. These datasets represent diverse fluid systems and wetting states relevant to subsurface energy applications (Table 2 & Fig. 2). Table 2. Summary of the data used in this study. Datase t Datase Sample Fluid Wetting Voxel Experimental Source/ t type system Conditi size Conditions Referen <u>on</u> <u>(μm)</u> <u>ce</u> <u>Synthetic Cases</u> Sample type Fluid system Wetting Conditi <u>on</u> Voxel size <u>(μm)</u> Experimental Conditions Flat Case-1 Droplet/Air surface Curved Case-2 Droplet/Air surface <u>Experimental cases</u> Variable Analytical solution (30°- N/A This study available 150°) This study 16,31 16,31 33 32 34 Variable (30°- N/A 150°) Analytic solutions available for nonplanar interface geometry Postwaterflooding, isolated ganglion (large, complex) Ketton WaterSSa Oil/Brine 2.0 limestone wet PostKetton WaterSSb Oil/Brine 2.0 waterflooding, limestone wet isolated ganglion Fractional-step MixedOil/Brine 3.58 waterflooding, wet crude oil aged Fractional-step WaterOil/Brine 3.58 waterflooding, no wet alteration WFMW WFWW H2 storage Bentheime r sandstone Bentheime r sandstone Bentheime r <u>sandstone</u> Hydrogen/Br ine H₂ injection into Water3.58 brine-saturated wet <u>rock</u> Fig. 2. Two-dimensional slices from the three-dimensional X-ray micro-CT volumes used in this study. (a) Ketton limestone: grains (white), oil ganglion (black), brine (gray). (b) Mixed-wet Bentheimer sandstone: grains (white), oil (black), brine (gray). (c) Water-wet Bentheimer sandstone: grains (white), oil (black), brine (gray). (d) Water-wet Bentheimer sandstone: grains (gray), hydrogen phase (black), brine (white). Direct analysis of raw micro-CT images is complicated by noise and partial volume effects at phase boundaries <sup>35</sup> . Therefore, all experimental images underwent a systematic preprocessing pipeline before contact angle measurements. First, non-local means filtering <sup>36</sup> was applied to reduce noise while preserving interfaces. For automated measurements, three-phase segmentation (solid, brine, and oil/gas) was performed using the watershed method <sup>37</sup>, which provides accurate boundary labelling between phases. For manual benchmark measurements, an additional processing pathway was implemented: unsharp masking was applied to enhance edges, followed by Canny edge detection <sup>38</sup> to generate binary interface images. This dual approach, direct segmentation for automated measurements versus edge detection for manual measurements, enabled independent validation of our contact angle algorithm. Details of the processing workflow and examples are provided in the Supporting Information (section S1). Measurement of contact angle _Manual method for contact angle estimation_ Manual measurements followed a modified version of the method by Andrew et al. <sup>12</sup> . Contact angles were measured from 2D slices perpendicular to three-phase contact loops. Our key modification was using edge-detected images rather than filtered grayscale images for interface identification, which reduces user subjectivity and measurement bias. Tangent lines were drawn at contact points to determine angles. The detailed five-step procedure is provided in the Supporting Information (section S2). _Geometric contact angle measurements_ The geometric contact angle (θg) was calculated at each node, defined as an individual discrete point along the three-phase contact loop from θg,i = arccos(nfs,i ⋅nff,i) × <sup><u>180</u></sup> π (2) π where nfs,i and nff,i represent the normal vectors to the fluid-solid interface (Isf) and fluid-fluid interface (Iff) respectively, as illustrated in step 5 in Fig. 3. While previous automated methods <sup>14</sup> directly extract these vectors from segmented images, we demonstrate this approach systematically fails near three-phase loops. Curvature smoothing causes interface shrinkage (see Fig. S2), and more critically, previous methods ignore segmentation artefacts that are unavoidable at contact loops due to partial volume effects, sub-voxel features, and poor phase contrast <sup>39,40</sup> . Our fundamental insight is that the exact determination of the positions of threephase contact loops remains impossible, even at the highest current imaging resolutions. These regions—where solid and two fluid phases converge— inherently suffer from partial volume effects and sub-voxel features that prevent accurate segmentation. In addition, the true interface may be deflected around nanoscopic surface features or films <sup>41</sup> . Rather than forcing measurements through these problematic zones, we reconstruct normal vectors by extrapolating from the centers of interfaces where segmentation is more reliable. This concept—working around rather than through segmentation limitations—enables robust measurements, which is particularly critical for mixed-wet systems, as we show later. Our algorithm (Fig. 3) systematically addresses each measurement challenge through an integrated workflow. The process begins with interface extraction (Algorithm 1), where triangular meshes are generated using the marching cubes algorithm <sup>42,43</sup> . We specifically chose triangular over quadrilateral meshes due to their superior geometric preservation under minimal smoothing, as demonstrated in our curvature analysis (see Table S1). These surfaces are then automatically classified as either fluid-solid (denoted by Ifs) or fluid-fluid (denoted by Iff) interfaces based on their topological connectivity within the three-phase system. Following surface generation, contact loop identification (Algorithm 2) locates the critical measurement regions by identifying vertices shared between both interface types, where Vtp = VSF ∩ VFF; VSF and VFF denote the sets of vertices on the solid-fluid and fluid-fluid interfaces, respectively. These three-phase vertices are systematically connected to form continuous loops, establishing the spatial framework along which contact angles will be measured. The algorithm distinguishes between closed loops and open lines, ensuring robust handling of diverse interface topologies. Algorithm 2: Define Three-phase Contact Loops Input: MFF , MSF Output: L= (l1, l2, ......., lm) (Set of three-phase contact loops) Phase 1: Three-Phase Vertices 1: Vtp {vi : vi ∈ VFF ∩ VSF} // Shared Vertices Phase 2: Define Edges 2: E {(vi, vj) : vi, vj ∈ Vtp, are adjacent (vi, vj)} Phase 3: Line and Loop Construction 3: L  Φ // Initialize line set 4: For each _C_ in Connected Components (Vtp, E) do - Select v0 from _C_ - l ← Trace Path (v0, E) // Trace sequential path - If Is Closed Loop (l) then // Check if path returns to v0 - l.type ← " _loop_ " - else - l.type← " _line_ " - end if L ← L ∪ { l } // Add to set regardless of type 5: End for Return L The third step applies to our dual smoothing strategy, which critically differs from previous approaches that aggressively smooth interfaces, causing volume loss and geometric distortion. We implement B-spline fitting techniques <sup>44</sup> for contact loops which provides continuous representation while preserving the original loop length – essential for maintaining measurement positions. For mesh surfaces, we employ Taubin smoothing <sup>45</sup>, a two-step Laplacian-based process using forward and backward step-size coefficients _λ_ and _μ_ . In the first ( _λ_ - 0) pass, the mesh is smoothed but undergoes shrinkage; this is counteracted by the second pass ( _μ_ < 0, with | _μ|_ slightly larger than _λ_ ), which restores volume and yields band-limited smoothing with improved geometric fidelity compared to standard Laplacian methods. <u>1</u> The vertex position adjustment in Taubin smoothing is calculated as Δvi = |N(i)| ∑vj∈N(i)(vj - vi), where vi and vj represent the current vertex and its neighboring vertices, respectively. Here, N(i) is the set of neighboring vertices, and |N(i)| is the number of these neighbors. The first step adjusts the current vertex position as is v <sup>(k+1/2)</sup> i <sup>k</sup> i <sup>+</sup> <sup>λΔv</sup> i <sup>k</sup> i <sup>(k+1)</sup> = v <sup>(k+1/2)</sup> i <sup>(k+1/2)</sup> i = v <sup>k</sup> i i <sup>k, followed by a second adjustment v</sup> i <sup>(k+1)</sup> <sup>(k+1/2)</sup> i + μΔ v <sup>(k+1/2)</sup> i v <sup>(k+1/2)</sup> i, which compensates for shrinkage and preserves mesh volume, across all data we set _λ_ = 0.5 and _μ_ = -0.51, values consistent with prior work and empirically found to provide stable smoothing without noticeable volume loss. The fourth step embodies our core innovation: normal vector extrapolation. For each contact node vi along the loops, mesh faces are selected within a 12-unit radius, which corresponds to convergence at approximately 10 units with an added margin of 2 units (Fig. S6). The selected faces must be located within ±0.5 units in the direction perpendicular to the contact loop and must include at least 20 faces, as a smaller number does not provide sufficient data for accurate extrapolation or statistical reliability. The extrapolation method adapts to local geometry – polynomial regression captures curved meniscus interfaces within three units of the contact point, while LOWESS handles flat or constant-curvature regions. Crucially, our quality control mechanism automatically rejects any extrapolated normal that deviates more than 30° from local mean values, ensuring robustness against segmentation artifacts and outliers that would otherwise corrupt measurements (see example in SI Fig. S5 ). Fig. 3. Workflow steps for measuring geometric contact angle from a segmented image. Finally, contact angles are calculated using the extrapolated normal vectors (Equation 2), producing a comprehensive list of θg values for every three-phase node along all contact loops. Each measurement is indexed by its node ID, contact loop number, and spatial position, providing the foundation for generating spatially distributed contact angle maps throughout the porous medium. _Generate a spatially distributed contact angle map_ We developed a hierarchical approach to assign contact angles throughout threedimensional porous media from sparse measurements at contact loops. The method recognizes that different pore regions require distinct interpolation strategies based on their invasion history and proximity to measured interfaces, particularly for primary drainage processes that follow invasion percolation <sup>46,47</sup> . The methodology operates on segmented 3D images with three phases: solid ( _φ_ = 2), invading fluid ( _φ_ = 1), and defending fluid ( _φ_ = 0). Contact angle manual measurements provide θg values at discrete positions along three-phase contact loops, each indexed by loop number and spatial coordinates. The interpolation proceeds through three distinct stages. First, uninvaded pore regions—identified through connected component analysis of defending fluid clusters—are assigned θg = 30 <sup>o</sup> representing strongly water-wet conditions preserved during primary drainage. Second, invading fluid objects are assigned contact angles using inverse distance weighting from nearby contact loops, with each loop's contribution weighted by its measurement density to reflect statistical confidence. Third, remaining defending fluid voxels within 20 voxels of measurement points receive interpolated values, representing transition zones where wettability has been altered by proximity to three-phase interfaces. This hierarchical approach ensures physically consistent contact angle distributions that respect both fluid topology and measurement uncertainty. The θg values are computed arithmetic means of the contact angles θg,i per-vertex over the three-phase contact loop (l). Performing this loop-level averaging attenuates zero-mean noise and reduces bias from smoothing, segmentation, and related errors. The method captures the heterogeneous wetting states critical for accurate pore-scale modeling, particularly in mixed-wet systems where spatial variations in wettability control displacement mechanisms. Implementation details and validation are provided in the Supporting Information (section S5). Results and discussion Measurement accuracy and uncertainty To validate the accuracy and robustness of our automated contact-angle algorithm, we used synthetic, voxelized images with idealized geometry (Fig. 1). Spherical droplets were rendered on two substrate types—a flat plane (Fig. 1a) and a curved surface (Fig. 1b). Because the geometry and phase labels are fully specified, these tests bypass segmentation artifacts and boundary ambiguity, isolating algorithmic performance from segmentation-related errors—a significant challenge in pore-scale 3D image processing. Our goal is to verify that the automated method measures the contact angle between phases accurately across a wide range (30–150°) and at multiple resolutions, while also assessing sensitivity to surface smoothing and to the nfs,i and nff,i extrapolation approximation in these cases (Fig. 4). The method returns a contact angle at every three-phase contact point along each contact loop; in Fig. 4a and 4c, we report the arithmetic mean of these pointwise values. Fig. 4. Tests of the algorithm on flat surfaces (top) and curved surfaces (bottom). The left column shows accuracy; the right column shows precision/uncertainty. (a) Deviation from the intrinsic contact angle for our method (blue) and AlRatrout et al. (2017) <sup>14</sup> (red). (b) Coefficient of variation (%) versus intrinsic angle. (c) Deviation versus intrinsic angle comparing loop level arithmetic mean (red) and mode (blue). (d) Per-vertex RMSE without loop averaging versus intrinsic angle. On the flat-surface case, our algorithm performs consistently well across the full contact-angle range and at all tested resolutions (sphere radii = 6, 10, 14, 28, and 50 voxels; Fig. 4a). Here, the data are presented using the normalized voxel size, defined as the voxel size (in microns) divided by the sphere radius (also in microns), providing a dimensionless measure of image resolution; this is the same normalization as AlRatrout et al.¹⁴. We also benchmarked against the widely used open-source method of AlRatrout _et al._ <sup>14</sup>, which systematically overestimates low contact angles, underestimates high ones, and is markedly more sensitive to voxel resolution (Fig. 4a). AlRatrout _et al._ <sup>14</sup> reported higher nominal precision (Fig. 4b) due to volume-preserving curvature smoothing, which produces uniformly oriented normals for ideal geometries (e.g., a single-surface sphere). However, this smoothing can oversimplify real surfaces, causing a systematic shift in the mean contact angle. By contrast, our method extrapolates the surface normal independently at each three-phase contact point. Results show that the extrapolation-based strategy outperforms direct evaluation of nff,iand nff,i at the three-phase point for estimating the contact angle (Eq. 1) and is less sensitive to voxel resolution. In the flat case, the extrapolation of nfs,i affects only the out-of-plane ( _z_ ) component, whereas on curved substrates, all components of nfs,i contributes. For curved surfaces, we compared two aggregators—the arithmetic mean and the mode of the pointwise angles (Fig. 4c) both recover the intrinsic angle within ±5°, but the modal estimator shows less scatter, consistent with a lower RMSE (Fig. 4d). Accuracy is slightly lower on curved than flat substrates because nff,i varies spatially on curved geometries but remains constant on a plane. As surface complexity increases, larger deviations are expected due to roughness, noise, and residual segmentation error. The analysis performed on synthetic voxelized images shows that the mean absolute error remains within ±5° across the full contact-angle range, with minimal error near 90°, even at a low resolution corresponding to a droplet radius of six voxels. For constructing spatially resolved contact-angle fields from voxel-wise data, we therefore report the mean over each contact loop. The use of normal vector extrapolation is necessary because the actual threephase contact point is inherently difficult to identify. In the natural rock sample (Ketton SSb), a 2D slice (Fig. 5a) shows an oil ganglion surrounded by brine. The fluid–fluid and fluid–solid interfaces can be identified, as illustrated in Fig. 5b. However, precisely locating the point where these two interfaces meet—the three-phase contact point—is considerably more difficult. In grayscale images, edges are often blurred by the partial-volume effect. Moreover, the physical three-phase loop itself can be diffuse, film-covered, or dynamically deformed. These factors make a single “true” contact point inherently ambiguous. This challenge is illustrated in Fig. 5c, where a Canny edge detector was applied to highlight sharp changes in grayscale intensity. While the operator clearly describes the two-phase boundaries, the three-phase junction remains uncertain. Ambiguity in interface boundaries is relatively minor for two-phase systems but becomes critical when estimating three-phase contact geometry. Our algorithm addresses this by not relying on direct normal vectors at the three-phase point. Instead, it approximates the local normal direction by extrapolating from adjacent two-phase interfaces, yielding an estimate that is less sensitive to inherent ambiguities in interface boundaries. Fig. 5. Ketton limestone (SSb) sample, (a) Filtered grayscale axial ortho slice (XY plane) at z-index 102 visualizing oil ganglia (black), brine (gray), and rock matrix (white). (b) Zoomed view highlighting the fluid–solid and fluid–fluid interfaces in the filtered grayscale image. (c) Canny edge detection; note the difficulty in capturing the precise point where the two interfaces meet. (d) Segmented zoomed interface using the WEKA (machine-learning) method. (e) Segmentation using the watershed method. A clear difference in the fluid–fluid interface geometry between (d) and (e) is evident, which significantly affects contact-angle and mean-curvature measurements. Segmentation introduces another source of uncertainty in contact-angle estimation. The Ketton SSb dataset was segmented using two independent approaches: a machine-learning classifier (WEKA) and a morphological watershed algorithm. To estimate the contact-angle, the key difference is how each method delineates the two-phase interface geometry. Compare Fig. 5d-e to see the distinct interface placement. These differences propagate to the calculated contact angles. Fig. 6a reports values obtained by applying the same contact-angle algorithm to images produced by the two segmentations. The watershed approach yields a much smaller contact-angle standard deviation (12.5° versus 45.8° for WEKA), indicating higher accuracy—due to fewer segmentation artifacts—and, because boundaries are anchored to intensity transitions, greater physical fidelity. In the watershed method, the gradient image is treated as a topographic surface, and “dams” are placed along ridgelines that mark actual intensity changes. With a marker-controlled watershed, noisy minima are replaced by selected seeds, preventing over-segmentation and producing closed, watertight, repeatable boundaries. This stabilizes the three-phase line and the measured angles. In contrast, the WEKA random-forest classifier operates voxel-by-voxel and does not explicitly optimize a global, edge-constrained surface. Its multiscale features can blur or offset edges by a few voxels, allowing boundaries to wander and inflating the standard deviation. No single segmentation method is universally optimal. For images with limited mineral heterogeneity (e.g., Bentheimer sandstone and Ketton limestone) and immiscible two-phase systems, watershed performs robustly <sup>26,28,32,34</sup> . In contrast, for multimineral rocks with complex textures, recent neural network methods often perform best <sup>48</sup> . Therefore, segmentation should be selected and validated with care, as it directly sets the interface geometry and three-phase line and, in turn, governs the accuracy of the contact-angle measurements. Fig. 6. Contact angle histogram for Ketton limestone (SSb) ganglion. (a) Distributions from two segmentations of the same image. (b) Benchmark comparing automated tools with manual direct measurements performed on the watershed-segmented image: Direct measurements, AlRatrout et al. [14], and our algorithm. Legends report the mean m, standard deviation s, and number of measurement points n. We therefore use watershed-segmented images for all experimental analyses in the remainder of this study. In Fig. 6b (Ketton limestone, SSb), we compare contact-angle histograms from three methods: direct manual measurements (36.4° ± 4.4°), AlRatrout et al. <sup>14</sup> (53.3° ± 11.0°), and our algorithm (40.4° ± 12.5°). Our algorithm yields contact-angle distributions that are closer to those obtained from direct manual measurements. Although the standard deviation is slightly higher than that produced by the AlRatrout _et al._ <sup>14</sup>, the mean value is more accurate. The AlRatrout _et al._ <sup>14</sup> code, while producing narrower distributions, significantly overestimates the contact angle—the same behavior observed in Fig. 4a-b and, as explained, is attributed to curvature smoothing. This upward bias inflates the mean and mischaracterizes the system as almost weakly water-wet rather than strongly water-wet. This distinction between strong and weak wettability is critical as it fundamentally alters the displacement mechanism: strongly water-wet systems exhibit corner flow where the defending phase maintains connectivity through corners and crevices, while weakly waterwet conditions lead to cooperative pore filling where multiple pores fill simultaneously during capillary-dominated displacement <sup>49</sup> . This mechanistic difference is crucial for pore network model simulations, where incorrect wettability classification can lead to erroneous predictions of relative permeability and residual saturation <sup>50</sup> . Smoothing is a critical preprocessing step that can bias interfacial properties— both the contact angle and any _in situ_ capillary-pressure estimate derived from mean curvature. To quantify this effect, we performed a sensitivity study in which the reconstructed interface was smoothed from 0 (no smoothing) to 200 iterations using two smoothing methods (Fig. 7): classical Laplacian smoothing and the volume-preserving extended Laplacian (Taubin). We tracked (i) the average contact angle with its standard deviation and (ii) the interface volume-shrinking factor (ratio of smoothed to original enclosed volume). Fig. 7. Sensitivity of contact angle estimates to mesh smoothing for the SSb sample. Average contact angle (markers) with ±SD (shaded) and the fluid–fluid interface shrinking factor (right axis) versus smoothing iterations (0–200) for two filters: classical Laplacian (orange) and volume-preserving Taubin (blue). Early iterations primarily remove high-frequency “staircase” noise from the triangulated surface. This denoising step inevitably reduces the enclosed volume for both convex and concave mesh surface patches, leading to a sharp initial drop in the shrinkage factor. Consistent with this, the contact-angle spread collapses rapidly: under Taubin smoothing, the standard deviation falls from ~±20° at zero iterations to a minimum of ±11.9° at ~80 iterations. As discussed earlier, beyond roughly 30–80 iterations, the filters begin to attenuate real mid-scale curvature due to oversmoothing, leading to loss of geometric detail and mild surface deformation rather than noise removal. After this point, the methods diverge. Taubin smoothing becomes relatively stable: the shrinkage factor levels off and the mean contact angle stays nearly constant, with a slight late-stage drift; oversmoothing at very high iterations weakly increases the spread again (e.g., ~±12.7° by ~200 iterations). Laplacian smoothing, in contrast, continues to shrink the geometry iteration by iteration; as the surface contracts, local tangents rotate and the mean contact angle drifts upward, so the estimate never truly “locks in.” Two practical notes. First, even without smoothing (iteration = 0), the mean contact angle is ~41° with a broad but acceptable spread for a discrete surface (~±20°), reflecting the robustness of the extrapolation algorithm with high-frequency noise. Second, the overall pattern is classic denoise-then-bias behavior: early smoothing is beneficial (variance reduction), whereas excessive smoothing—especially with a Laplacian operator—introduces systematic bias by deforming the actual geometry. Accordingly, in the remainder of the paper, we favor Taubin smoothing and restrict iterations to the regime where the variance is minimized (~50) and the mean remains stable. Segmentation or smoothing uncertainty alone does not explain the wide spread of contact angles in real porous media. Manual readings (Fig. 6b) across 308 data points span 18° to 65°, a range driven by true variability rather than measurement error. At the pore scale, even after inlet and outlet pressures stabilize, contact angles relax toward equilibrium, and the meniscus can continue to creep during scanning, creating an intermediate-gray band at the three-phase loop. Capturing images while the interface is still evolving broadens the distribution, an effect that is especially strong in carbonates <sup>51</sup> . Surface roughness and chemical heterogeneity also widen the spread by pinning the contact loop on micro-CT– resolved asperities. The geometric contact-angle method captures this true heterogeneity, which is relevant to displacement. Even when the three phases have distinct grayscale values, segmentation is least reliable at the three-phase contact loops. This leads to three issues around contact loops—ambiguous surface normals from the one-voxel-thick interface, uncertain contact-point location, and strong resolution dependence <sup>22</sup> . Our algorithm addresses these challenges by extrapolating normals from regions with reliable segmentation, bypassing the inherent uncertainties at contact loops, and enabling robust contact-angle measurements where previous methods fail. Tests on complex pore geometry This section addresses the sources of variability in the measured contact angle distribution. We show that the observed distribution width arises from three main contributions: (i) image segmentation and smoothing procedures, discussed in the previous section; (ii) pore-size distribution; and (iii) intrinsic wettability heterogeneity. The latter two effects are analyzed here using experimental images. Fig. 8 presents the results from four experimental images, using three contact angle measurement methods: our own code, Altratorut _et al._ (2017) <sup>14</sup>, and an open-source geometric contact angle measurement tool developed by Wang _et al._ (2024) <sup>21</sup> in MATLAB. Wang _et al_ .’s tool, originally designed to compare geometric and topological contact angles, identifies and analyzes individual phase clusters independently. However, it applies a maximum cluster size constraint, limiting analysis to ganglia with a radius of up to 64 voxels. As a result, it cannot measure larger connected ganglia, for example, the large ganglion in the Ketton limestone SSa image. In Fig. 8a, our algorithm demonstrated robust performance with a contact angle of 41.1° ± 14.3°, in close agreement with validated results of Scanziani et al. <sup>16</sup> (42.2° ± 14.6° from 4,025 measurements) and with our SSb image measurement (40.4° ± 12.5°). Because SSa and SSb were acquired from the same experiment, this close agreement is expected and supports the reliability of measurements in morphologically complex systems. Compared to AlRatrout et al. <sup>14</sup>, our method yielded fewer valid data points due to contact loop smoothing and filtering of unreliable normal vector extrapolations. This quality control prioritizes accuracy over quantity when estimating contact angles from voxel data. We applied the algorithm to Bentheimer sandstone across two fluid systems (oil– brine and H₂–brine) and two wettability states: water-wet (Fig. 8b,c) and mixed wet—wettability was altered by an aging process in which, after drainage, crude oil remained in contact with the rock for several weeks under high temperature and pressure. For the water-wet cases, the recovered contact-angle distributions are physically reasonable, with mean values near 41° for oil–brine and 38° for H₂– brine. The method also succeeds on the gas–brine dataset where AlRatrout et al. <sup>14</sup> returned no measurements. The water-wet waterflood case shows a broader distribution (41.1° ± 15.8°) than the hydrogen case (37.9° ± 10.2°). Pore and throat size distributions were estimated using pore-network extraction, as described elsewhere <sup>25,52,53</sup> . These distributions show that the waterflood sample has smaller pore and throat radii (Fig. 9a, 9b), which reduces the interfacial area of each fluid–fluid patch even though many patches are present in the image (Fig. 9c). With the same voxel size, smaller patches are represented by fewer voxels, which increases partial-volume effects and sensitivity to segmentation and smoothing. This leads to a broader distribution of measured angles. This trend is also evident in Fig. 10, where higher standard deviations are observed at smaller pore radii for the water-wet waterflood case, whereas the hydrogen storage dataset displays reduced variability due to its larger characteristic pore sizes. Overall though there is no clear trend of average contact angle with pore size. Fig. 8. Comparisons of contact angle distributions from three automated geometric measurement tools. The mean contact angle m, standard deviation s, and number of measurement points n are shown in the legend. Fig. 9 . Pore- and throat size distributions and fluid-fluid interfacial area distribution. Fig. 10. Mean contact angle per pore size (± one standard deviation) as a function of pore radius for three datasets. The upper panel shows pore-radius distributions, and the right panel shows contact-angle distributions, enabling direct comparison between local pore geometry and local wetting behavior. For the mixed-wet sample (Fig. 8d), our measurements yield a contact angle of 64.7° ± 19.8°. The pores are larger than in the waterflooding (water-wet) case, so the associated fluid–fluid interfaces are larger, and, in principle, the uncertainty should be lower. Synthetic tests in the earlier subsection also indicate higher accuracy near intermediate angles (70–110°) than at more extreme meniscus shapes (<70° or >110°). Despite these expectations, the standard deviation across all pore radius ranges (Fig. 10), is larger here because it reflects true spatial heterogeneity in wettability. Contact with crude oil alters wettability non-uniformly: surfaces that oil directly contacts experience an increase in contact angle through adsorption of polar components, while surfaces protected by connate brine films remain water-wet. The spatial variation of wettability is discussed in the following subsection. Another important finding from the macroscopic averaging perspective is that using the mean contact angle to represent the whole system suggests weakly water-wet conditions. However, this classification appears inconsistent with the presence of minimal surfaces—an interface surface characterized by zero mean curvature and negative Gaussian curvature that typically form under intermediate-wet conditions (θ ≈ 90°) <sup>33</sup> . This inconsistency shows that simple averaging can mischaracterize complex wetting. In practice, mixed-wettability describes systems with a variation in wettability across the pore space, not merely those with an average angle between 70° and 110°. A mixture of intermediatewet regions and water-wet regions can yield a mean below 70°, while the porescale physics remains mixed-wet, with complex pore-filling mechanisms driven by the pronounced spatial variation in wettability. Comparative analysis reveals method-specific limitations: AlRatrout _et al._ 's <sup>14</sup> approach generates smooth distributions with numerous data points but exhibits systematic overestimation due to curvature smoothing artifacts for the waterflooding samples, while Wang _et al._ 's <sup>21</sup> tool, designed primarily for clusterbased measurements, is less robust for phase continuity and thus has limited applicability for comprehensive contact angle characterization. Spatially-distributed contact angles Following successful validation and benchmarking of our algorithm, we applied the comprehensive list of θg values from every three-phase node along all contact loops to generate spatially distributed contact angle maps for waterflooding cases in both water-wet (Fig. 11a) and mixed-wet (Fig. 11b) systems to demonstrate the critical importance of local wetting information. The water-wet results reveal relatively homogeneous wetting behaviour across all regions, with contact angles varying from strongly water-wet (θ < 45°) to weakly water-wet (50° < θ < 70°) conditions. While the displacement mechanism remains fundamentally the same throughout the sample (imbibition-dominated), the local variations in wetting strength affect displacement efficiency and capillary pressure gradients. Fig. 11. Top: 3D view of segmented subvolumes for the water-wet and mixed-wet samples. Middle: Pore space colored by the contact angle according to the legend. Bottom histogram comparing raw and interpolated contact angle distributions. In contrast, the mixed-wet system exposes the severe limitations of relying solely on mean values for wettability characterization. Despite the mean contact angle of 64.7°, suggesting weakly water-wet conditions, the spatial distribution reveals a heterogeneous system: 59.6% of the surface exhibits water-wet behaviour (θg= 1-69°), while 40.4% displays intermediate-wet characteristics (θg= 70-110°), with some pores reaching contact angles of 100° or more. This heterogeneity explains the presence of minimal surface interfaces observed in the micro-CT Images <sup>33</sup> : these saddle-shaped menisci with zero mean curvature are hypothesized to occur at pinned contacts, where a range of contact angles is possible <sup>33</sup> . It is evident from recent studies that both pore geometry and wettability control displacement in capillary-dominated flows <sup>1,6,24</sup>, with the former resolved by highresolution micro-CT imaging. However, local wettability remains the critical missing piece for accurate multiphase flow prediction. Our spatially-resolved contact angle measurements bridge this gap by providing pore-specific wetting information that, when combined with geometry, fully defines the displacement physics. During imbibition in water-wet pores, corner flow dominates, promoting snap-off events that create trapped ganglia <sup>31,46</sup> . As the contact angle increases, piston-like advance and cooperative pore filling become progressively more dominant <sup>49</sup> . Moreover, the terminal interface shape is directly controlled by contact angle—transitioning from concave menisci in water-wet conditions to convex menisci in oil-wet pores, with the distinctive saddle-shaped interfaces appearing in intermediate-wet regions <sup>24,33</sup> . These mechanistic differences are not seen in averaged measurements, yet determine relative permeability, residual saturation, and breakthrough behaviour <sup>6,25</sup> . This spatial mapping capability is therefore essential for next-generation pore-scale models that require both geometric and wetting heterogeneity to accurately capture multiphase physics in mixed-wet systems. Conclusions Measuring local wetting behavior to resolve spatial variations in wettability remains a significant challenge in geostorage and other applications involving multiphase flow in porous materials. _In situ_ characterization using the geometric contact angle, θg, is indispensable for pore-scale measurements due to its clear physical meaning and computational efficiency. However, existing methods depend on precise identification of the three-phase contact loop, which is highly uncertain in micro-CT images due to partial-volume effects, sub-voxel roughness, and bias induced by segmentation and smoothing. Building on previous work, this study demonstrates that accurate, pore-by-pore wettability characterization can be achieved by extrapolating surface normals from interior two-phase interfaces, where segmentation is more reliable. This approach avoids inherent ambiguities at three-phase loops and enables robust, spatially resolved quantification of wettability in complex pore geometries. The algorithm was rigorously validated on synthetic cases and tested on complex porous media. Our uncertainty analysis quantifies the impact of smoothing, and the method is less sensitive to segmentation errors near contact loops than existing tools. On ideal geometries, it is accurate across the full range of contact angles and robust to voxel resolution. In experimental images, watershed segmentation combined with Taubin smoothing produces distributions consistent with manual measurements. Extrapolating normals away from the ambiguous contact loop stabilizes estimates where previous methods fail. Although not entirely free of measurement uncertainty, the observed spread also reflects true spatial heterogeneity in contact angle, especially in mixed-wet systems. This enables reliable pore-scale wettability characterization with reduced bias and variance. Some remaining limitations present opportunities for future research. The method assumes well-resolved, sharp interfaces, so performance degrades when image resolution is low or segmentation is uncertain at two-phase boundaries. Future advances in image acquisition and super-resolution neural networks promise improved interface geometry, making the method even more useful. Additionally, our steady-state measurements capture θg, whereas dynamic porescale simulations require effective contact angles that account for flow conditions. Future work should focus on developing correlations between our spatially distributed θg and the effective values necessary for dynamic simulations, enabling more accurate predictions of relative permeability and capillary pressure. Importantly, our hierarchical spatial interpolation approach is based on physics-informed assumptions specific to geoengineering transport phenomena, analogous physics-based interpolation schemes would need to be developed for electrochemical devices or other applications where spatial wettability information is required, accounting for their distinct transport mechanisms and interface dynamics. To maximize impact and reproducibility, we provide a comprehensive opensource Python implementation (see the Data Availability statement below), enabling the scientific community to leverage precise automated _in situ_ wettability measurements. This contribution is particularly timely given the critical importance of accurate wettability characterization for CO₂ sequestration, hydrogen storage, and enhanced oil recovery applications where mixed-wet conditions are common. Beyond geoengineering applications, these tools could offer valuable insights into electrochemical energy devices, membrane separations, and other fields where multiphase flow in porous materials plays a crucial role. The framework's adaptability allows researchers to modify the interpolation schemes according to their specific physics, making it a versatile platform for advancing wettability characterization across disciplines. Data Availability The code with example test datasets is available at <u>[https://github.com/ImperialCollegeLondon/geometricContactAngle.git.](https://github.com/ImperialCollegeLondon/geometricContactAngle.git)</u> References 1. K. Singh, M. Jung, M. Brinkmann, R. Seemann, Capillary-Dominated Fluid Displacement in Porous Media, Annu. Rev. Fluid Mech. 51 (2019) 429–449. https://doi.org/10.1146/annurev-fluid-010518-040342. 2. M. AlDhuhoori, H. Belhaj, F. AlHameli, F. Aljaberi, Hydrogen underground storage potential in sandstone formation: A thorough study utilizing surface complexation modelling, Fuel 383 (2025) 133902. https://doi.org/10.1016/j.fuel.2024.133902. 3. S. Krevor, H. De Coninck, S.E. Gasda, N.S. Ghaleigh, V. De Gooyert, H. Hajibeygi, R. Juanes, J. Neufeld, J.J. Roberts, F. Swennenhuis, Subsurface carbon dioxide and hydrogen storage for a sustainable energy future, Nat Rev Earth Environ 4 (2023) 102–118. https://doi.org/10.1038/s43017-02200376-8. 4. L. Zhao, Y. Li, M. Yu, Y. Peng, F. Ran, Electrolyte‐Wettability Issues and Challenges of Electrode Materials in Electrochemical Energy Storage, Energy Conversion, and Beyond, Advanced Science 10 (2023) 2300283. https://doi.org/10.1002/advs.202300283. 5. A. Irannezhad, B.K. Primkulov, R. Juanes, B. Zhao, Fluid-fluid displacement in mixed-wet porous media, Phys. Rev. Fluids 8 (2023) L012301. https://doi.org/10.1103/PhysRevFluids.8.L012301. 6. A.Q. Raeini, L.M. Giudici, M.J. Blunt, B. Bijeljic, Generalized network modelling of two-phase flow in a water-wet and mixed-wet reservoir sandstone: Uncertainty and validation with experimental data, Advances in Water Resources 164 (2022) 104194. https://doi.org/10.1016/j.advwatres.2022.104194. 7. M. Sun, J. Cheng, M. Yamauchi, Gas diffusion enhanced electrode with ultrathin superhydrophobic macropore structure for acidic CO2 electroreduction, Nat. Commun. 15 (2024) 491. https://doi.org/10.1038/s41467-024-44722-4. 8. Y. Li, Z. Kang, X. Deng, G. Yang, S. Yu, J. Mo, D.A. Talley, G.K. Jennings, F.Y. Zhang, Wettability effects of thin titanium liquid/gas diffusion layers in proton exchange membrane electrolyzer cells, Electrochimica Acta 298 (2019) 704–708. https://doi.org/10.1016/j.electacta.2018.12.162. 9. S. Yuan, C. Zhao, X. Cai, L. An, S. Shen, X. Yan, J. Zhang, Bubble evolution and transport in PEM water electrolysis: Mechanism, impact, and management, Progress in Energy and Combustion Science 96 (2023) 101075. https://doi.org/10.1016/j.pecs.2023.101075. 10.M. Arif, S.A. Abu-Khamsin, S. Iglauer, Wettability of rock/CO2/brine and rock/oil/CO2-enriched-brine systems:Critical parametric analysis and future outlook, Advances in Colloid and Interface Science 268 (2019) 91– 113. https://doi.org/10.1016/j.cis.2019.03.009. 11.M.J. Blunt, B. Bijeljic, H. Dong, O. Gharbi, S. Iglauer, P. Mostaghimi, A. Paluszny, C. Pentland, Pore-scale imaging and modelling, Advances in Water Resources 51 (2013) 197–216. https://doi.org/10.1016/j.advwatres.2012.03.003. 12.M. Andrew, B. Bijeljic, M.J. Blunt, Pore-scale contact angle measurements at reservoir conditions using X-ray microtomography, Advances in Water Resources 68 (2014) 24–31. https://doi.org/10.1016/j.advwatres.2014.02.014. 13.R.T. Armstrong, M.L. Porter, D. Wildenschild, Linking pore-scale interfacial curvature to column-scale capillary pressure, Advances in Water Resources 46 (2012) 55–62. https://doi.org/10.1016/j.advwatres.2012.05.009. 14.A. AlRatrout, A.Q. Raeini, B. Bijeljic, M.J. Blunt, Automatic measurement of contact angle in pore-space images, Advances in Water Resources 109 (2017) 158–169. https://doi.org/10.1016/j.advwatres.2017.07.018. 15.M. Prodanovic, W.B. Lindquist, R.S. Seright, Residual fluid blobs and contact angle measurements from x-ray images of fluid displacement, in: XVI International Conference on Computational Methods in Water Resources, Copenhagen, Denmark, (2006) 1529–1535. 16.A. Scanziani, K. Singh, M.J. Blunt, A. Guadagnini, Automatic method for estimation of in situ effective contact angle from X-ray micro tomography images of two-phase flow in porous media, Journal of Colloid and Interface Science 496 (2017) 51–59. https://doi.org/10.1016/j.jcis.2017.02.005. 17.M.J. Blunt, Q. Lin, T. Akai, B. Bijeljic, A thermodynamically consistent characterization of wettability in porous media using high-resolution imaging, Journal of Colloid and Interface Science 552 (2019) 59–65. https://doi.org/10.1016/j.jcis.2019.05.026. 18.C. Sun, J.E. McClure, P. Mostaghimi, A.L. Herring, S. Berg, R.T. Armstrong, Probing Effective Wetting in Subsurface Systems, Geophysical Research Letters 47 (2020) 1-9. https://doi.org/10.1029/2019GL086151. 19.C. Sun, J.E. McClure, P. Mostaghimi, A.L. Herring, D.E. Meisenheimer, D. Wildenschild, S. Berg, R.T. Armstrong, Characterization of wetting using topological principles, Journal of Colloid and Interface Science 578 (2020) 106–115. https://doi.org/10.1016/j.jcis.2020.05.076. 20.C. Sun, J.E. McClure, P. Mostaghimi, A.L. Herring, M. Shabaninejad, S. Berg, R.T. Armstrong, Linking continuum-scale state of wetting to porescale contact angles in porous media, Journal of Colloid and Interface Science 561 (2020) 173–180. https://doi.org/10.1016/j.jcis.2019.11.105. 21.Y.D. Wang, L.M. Kearney, M.J. Blunt, C. Sun, K. Tang, P. Mostaghimi, R.T. Armstrong, In situ characterization of heterogeneous surface wetting in porous materials, Advances in Colloid and Interface Science 326 (2024) 103122. https://doi.org/10.1016/j.cis.2024.103122. 22.A. Ibekwe, D. Pokrajac, Y. Tanino, Automated extraction of in situ contact angles from micro-computed tomography images of porous media, Computers & Geosciences 137 (2020) 104425. https://doi.org/10.1016/j.cageo.2020.104425. 23.R.T. Armstrong, C. Sun, P. Mostaghimi, S. Berg, M. Rücker, P. Luckham, A. Georgiadis, J.E. McClure, Multiscale Characterization of Wettability in Porous Media, Transp Porous Med 140 (2021) 215–240. https://doi.org/10.1007/s11242-021-01615-0. 24.T. Zhou, M. Vasheghani Farahani, S. An, V. Niasar, Interplay of pore geometry and wettability in immiscible displacement dynamics and entry capillary pressure, Physics of Fluids 36 (2024) 112129. https://doi.org/10.1063/5.0238578. 25.S. Foroughi, B. Bijeljic, Q. Lin, A.Q. Raeini, M.J. Blunt, Pore-by-pore modeling, analysis, and prediction of two-phase flow in mixed-wet rocks, Phys. Rev. E 102 (2020) 023302. https://doi.org/10.1103/PhysRevE.102.023302. 26.A.M. Alhammadi, Y. Gao, T. Akai, M.J. Blunt, B. Bijeljic, Pore-scale X-ray imaging with measurement of relative permeability, capillary pressure and oil recovery in a mixed-wet micro-porous carbonate reservoir rock, Fuel 268 (2020) 117018. https://doi.org/10.1016/j.fuel.2020.117018. 27.S. Higgs, Y.D. Wang, C. Sun, J. Ennis-King, S.J. Jackson, R.T. Armstrong, P. Mostaghimi, Direct measurement of hydrogen relative permeability hysteresis for underground hydrogen storage, International Journal of Hydrogen Energy 50 (2024) 524–541. https://doi.org/10.1016/j.ijhydene.2023.07.270. 28.Z. Jangda, H. Menke, A. Busch, S. Geiger, T. Bultreys, H. Lewis, K. Singh, Pore-scale visualization of hydrogen storage in a sandstone at subsurface pressure and temperature conditions: Trapping, dissolution and wettability, Journal of Colloid and Interface Science 629 (2023) 316–325. https://doi.org/10.1016/j.jcis.2022.09.082. 29.L.M. Giudici, A. Qaseminejad Raeini, M.J. Blunt, B. Bijeljic, Representation of Fully Three‐Dimensional Interfacial Curvature in Pore‐Network Models, Water Resources Research 59 (2023) e2022WR033983. https://doi.org/10.1029/2022WR033983. 30.A. Jahanbakhsh, O. Shahrokhi, M.M. Maroto-Valer, Understanding the role of wettability distribution on pore-filling and displacement patterns in a homogeneous structure via quasi 3D pore-scale modelling, Sci Rep 11 (2021) 17847. https://doi.org/10.1038/s41598-021-97169-8. 31.K. Singh, H. Menke, M. Andrew, Q. Lin, C. Rau, M.J. Blunt, B. Bijeljic, Dynamics of snap-off and pore-filling events during two-phase fluid flow in permeable media, Sci Rep 7 (2017) 5192. https://doi.org/10.1038/s41598017-05204-4. 32.Q. Lin, B. Bijeljic, R. Pini, M.J. Blunt, S. Krevor, Imaging and Measurement of Pore‐Scale Interfacial Curvature to Determine Capillary Pressure Simultaneously With Relative Permeability, Water Resources Research 54 (2018) 7046–7060. https://doi.org/10.1029/2018WR023214. 33.Q. Lin, B. Bijeljic, S. Berg, R. Pini, M.J. Blunt, S. Krevor, Minimal surfaces in porous media: Pore-scale imaging of multiphase flow in an alteredwettability Bentheimer sandstone, Phys. Rev. E 99 (2019) 063105. https://doi.org/10.1103/PhysRevE.99.063105. 34.W. Dokhon, S. Goodarzi, H.M. Alzahrani, M.J. Blunt, B. Bijeljic, Pressure decline and gas expansion in underground hydrogen storage: A pore-scale percolation study, International Journal of Hydrogen Energy 86 (2024) 261–274. https://doi.org/10.1016/j.ijhydene.2024.08.139. 35.D. Wildenschild, A.P. Sheppard, X-ray imaging and analysis techniques for quantifying pore-scale structure and processes in subsurface porous medium systems, Advances in Water Resources 51 (2013) 217–246. https://doi.org/10.1016/j.advwatres.2012.07.018. 36.A. Buades, B. Coll, J.-M. Morel, A Non-Local Algorithm for Image Denoising, in: 2005 IEEE computer society conference on computer vision and pattern recognition (CVPR’05), IEEE, San Diego, CA, USA, (2005) 60–65. https://doi.org/10.1109/CVPR.2005.38. 37.S. Beucher, F. Meyer, The Morphological Approach to Segmentation: The Watershed Transformation, in: E.R. Dougherty (Ed.), Mathematical Morphology in Image Processing, 1st ed., CRC Press, 2018: pp. 433–481. https://doi.org/10.1201/9781482277234-12. 38.J. Canny, A Computational Approach to Edge Detection, IEEE Trans. Pattern Anal. Mach. Intell. PAMI-8 (1986) 679–698. https://doi.org/10.1109/TPAMI.1986.4767851. 39.S. Schlüter, A. Sheppard, K. Brown, D. Wildenschild, Image processing of multiphase images obtained via X‐ray microtomography: A review, Water Resources Research 50 (2014) 3615–3639. https://doi.org/10.1002/2014WR015256. 40.K. Singh, B. Bijeljic, M.J. Blunt, Imaging of oil layers, curvature and contact angle in a mixed‐wet and a water‐wet carbonate rock, Water Resources Research 52 (2016) 1716–1728. https://doi.org/10.1002/2015WR018072. 41.T.K. Tokunaga, DLVO-Based Estimates of Adsorbed Water Film Thicknesses in Geologic CO2 Reservoirs, Langmuir 28 (2012) 8001–8009. https://doi.org/10.1021/la2044587. 42.T. Lewiner, H. Lopes, A.W. Vieira, G. Tavares, Efficient Implementation of Marching Cubes’ Cases with Topological Guarantees, Journal of Graphics Tools 8 (2003) 1–15. https://doi.org/10.1080/10867651.2003.10487582. 43.W.E. Lorensen, H.E. Cline, Marching cubes: A high resolution 3D surface construction algorithm, in: Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques, ACM, 1987: pp. 163–169. https://doi.org/10.1145/37401.37422. 44.G. James, D. Witten, T. Hastie, R. Tibshirani, An introduction to statistical learning: with applications in R, Corrected at 8th printing 2017, Springer, New York, 2017. 45.G. Taubin, T. Zhang, G. Golub, Optimal surface smoothing as filter design, in: B. Buxton, R. Cipolla (Eds.), Computer Vision — ECCV ’96, Springer Berlin Heidelberg, Berlin, Heidelberg, 1996: pp. 283–292. https://doi.org/10.1007/BFb0015544. 46.M.J. Blunt, Multiphase flow in permeable media: a pore-scale perspective, Cambridge University Press, Cambridge, United Kingdom ; New York, NY, 2017. 47.D. Wilkinson, J.F. Willemsen, Invasion percolation: a new form of percolation theory, J. Phys. A: Math. Gen. 16 (1983) 3365–3376. <u>[https://doi.org/10.1088/0305-4470/16/14/028.](https://doi.org/10.1088/0305-4470/16/14/028)</u> 48.Y.D. Wang, M. Shabaninejad, R.T. Armstrong, P. Mostaghimi, Deep neural networks for improving physical accuracy of 2D and 3D multi-mineral segmentation of rock micro-CT images, Applied Soft Computing 104 (2021) [107185. https://doi.org/10.1016/j.asoc.2021.107185.](https://doi.org/10.1016/j.asoc.2021.107185) 49.B.K. Primkulov, S. Talman, K. Khaleghi, A. Rangriz Shokri, R. Chalaturnyk, B. Zhao, C.W. MacMinn, R. Juanes, Quasistatic fluid-fluid displacement in porous media: Invasion-percolation through a wetting transition, Phys. Rev. Fluids 3 (2018) 104001. <u>[https://doi.org/10.1103/PhysRevFluids.3.104001.](https://doi.org/10.1103/PhysRevFluids.3.104001)</u> 50.P.H. Valvatne, M.J. Blunt, Predictive pore‐scale modeling of two‐phase flow in mixed wet media, Water Resources Research 40 (2004) 2003WR002627. <u>[https://doi.org/10.1029/2003WR002627.](https://doi.org/10.1029/2003WR002627)</u> 51.C. Spurin, T. Bultreys, B. Bijeljic, M.J. Blunt, S. Krevor, Intermittent fluid connectivity during two-phase flow in a heterogeneous carbonate rock, Phys. Rev. E 100 (2019) 043103. <u>[https://doi.org/10.1103/PhysRevE.100.043103.](https://doi.org/10.1103/PhysRevE.100.043103)</u> 52.H. Dong, M.J. Blunt, Pore-network extraction from micro-computerizedtomography images, Phys. Rev. E 80 (2009) 036307. <u>[https://doi.org/10.1103/PhysRevE.80.036307.](https://doi.org/10.1103/PhysRevE.80.036307)</u> 53.A.Q. Raeini, B. Bijeljic, M.J. Blunt, Generalized network modeling: Network extraction as a coarse-scale discretization of the void space of porous media, Phys. Rev. E 96 (2017) 013312. <u>[https://doi.org/10.1103/PhysRevE.96.013312.](https://doi.org/10.1103/PhysRevE.96.013312)</u> Author Contributions F.A. conceived and designed the study with H.B., S.F., M.J.B. and M.A., developed the methodology and software, curated the data with S.F., carried out the investigation, performed the formal analysis and prepared the visualizations. F.A. drafted the manuscript; H.B., S.F., M.J.B. and M.A. revised it, and H.B., M.J.B. and M.A. supervised the research. All authors approved the final manuscript. Funding : The authors received no funding for this work. Competing Interest The authors declare no competing interests.

섹션 본문

섹션 본문이 없습니다.

참고문헌 50건

  1. The Morphological Approach to Segmentation: The Watershed Transformation 2018 10.1201/9781482277234-12
  2. Predictive pore‐scale modeling of two‐phase flow in mixed wet media Water Resources Research · Wiley · 2004 10.1029/2003wr002627
  3. Optimal surface smoothing as filter design Lecture notes in computer science · Springer Science+Business Media · 1996 10.1007/bfb0015544
  4. Pore-network extraction from micro-computerized-tomography images Physical Review E · American Physical Society · 2009 10.1103/physreve.80.036307
  5. X-ray imaging and analysis techniques for quantifying pore-scale structure and processes in subsurface porous medium systems Advances in Water Resources · Elsevier BV · 2012 10.1016/j.advwatres.2012.07.018
  6. Image processing of multiphase images obtained via X‐ray microtomography: A review Water Resources Research · Wiley · 2014 10.1002/2014wr015256
  7. Pore-scale imaging and modelling Advances in Water Resources · Elsevier BV · 2012 10.1016/j.advwatres.2012.03.003
  8. Pore-scale contact angle measurements at reservoir conditions using X-ray microtomography Advances in Water Resources · Elsevier BV · 2014 10.1016/j.advwatres.2014.02.014
  9. Linking pore-scale interfacial curvature to column-scale capillary pressure Advances in Water Resources · Elsevier BV · 2012 10.1016/j.advwatres.2012.05.009
  10. Invasion percolation: a new form of percolation theory Journal of Physics A Mathematical and General · Institute of Physics · 1983 10.1088/0305-4470/16/14/028
  11. Efficient Implementation of Marching Cubes' Cases with Topological Guarantees Journal of Graphics Tools · Taylor & Francis · 2003 10.1080/10867651.2003.10487582
  12. A Non-Local Algorithm for Image Denoising 2005 10.1109/cvpr.2005.38
  13. DLVO-Based Estimates of Adsorbed Water Film Thicknesses in Geologic CO<sub>2</sub> Reservoirs Langmuir · American Chemical Society · 2012 10.1021/la2044587
  14. A Computational Approach to Edge Detection IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1986 10.1109/tpami.1986.4767851
  15. Marching cubes: A high resolution 3D surface construction algorithm 1987 10.1145/37401.37422
  16. Imaging of oil layers, curvature and contact angle in a mixed‐wet and a water‐wet carbonate rock Water Resources Research · Wiley · 2016 10.1002/2015wr018072
  17. Automatic method for estimation of in situ effective contact angle from X-ray micro tomography images of two-phase flow in porous media Journal of Colloid and Interface Science · Elsevier BV · 2017 10.1016/j.jcis.2017.02.005
  18. Dynamics of snap-off and pore-filling events during two-phase fluid flow in permeable media Scientific Reports · Nature Portfolio · 2017 10.1038/s41598-017-05204-4
  19. Generalized network modeling: Network extraction as a coarse-scale discretization of the void space of porous media Physical review. E · American Physical Society · 2017 10.1103/physreve.96.013312
  20. Automatic measurement of contact angle in pore-space images Advances in Water Resources · Elsevier BV · 2017 10.1016/j.advwatres.2017.07.018
  21. Imaging and Measurement of Pore‐Scale Interfacial Curvature to Determine Capillary Pressure Simultaneously With Relative Permeability Water Resources Research · Wiley · 2018 10.1029/2018wr023214
  22. Quasistatic fluid-fluid displacement in porous media: Invasion-percolation through a wetting transition Physical Review Fluids · American Physical Society · 2018 10.1103/physrevfluids.3.104001
  23. Capillary-Dominated Fluid Displacement in Porous Media Annual Review of Fluid Mechanics · Annual Reviews · 2019 10.1146/annurev-fluid-010518-040342
  24. Wettability effects of thin titanium liquid/gas diffusion layers in proton exchange membrane electrolyzer cells Electrochimica Acta · Elsevier BV · 2019 10.1016/j.electacta.2018.12.162
  25. Wettability of rock/CO2/brine and rock/oil/CO2-enriched-brine systems:Critical parametric analysis and future outlook Advances in Colloid and Interface Science · Elsevier BV · 2019 10.1016/j.cis.2019.03.009
  26. A thermodynamically consistent characterization of wettability in porous media using high-resolution imaging Journal of Colloid and Interface Science · Elsevier BV · 2019 10.1016/j.jcis.2019.05.026
  27. Minimal surfaces in porous media: Pore-scale imaging of multiphase flow in an altered-wettability Bentheimer sandstone Physical review. E · American Physical Society · 2019 10.1103/physreve.99.063105
  28. Intermittent fluid connectivity during two-phase flow in a heterogeneous carbonate rock Physical review. E · American Physical Society · 2019 10.1103/physreve.100.043103
  29. Linking continuum-scale state of wetting to pore-scale contact angles in porous media Journal of Colloid and Interface Science · Elsevier BV · 2019 10.1016/j.jcis.2019.11.105
  30. Automated extraction of in situ contact angles from micro-computed tomography images of porous media Computers & Geosciences · Elsevier BV · 2020 10.1016/j.cageo.2020.104425
  31. Probing Effective Wetting in Subsurface Systems Geophysical Research Letters · American Geophysical Union · 2020 10.1029/2019gl086151
  32. Pore-scale X-ray imaging with measurement of relative permeability, capillary pressure and oil recovery in a mixed-wet micro-porous carbonate reservoir rock Fuel · Elsevier BV · 2020 10.1016/j.fuel.2020.117018
  33. Characterization of wetting using topological principles Journal of Colloid and Interface Science · Elsevier BV · 2020 10.1016/j.jcis.2020.05.076
  34. Pore-by-pore modeling, analysis, and prediction of two-phase flow in mixed-wet rocks Physical review. E · American Physical Society · 2020 10.1103/physreve.102.023302
  35. Deep neural networks for improving physical accuracy of 2D and 3D multi-mineral segmentation of rock micro-CT images Applied Soft Computing · Elsevier BV · 2021 10.1016/j.asoc.2021.107185
  36. Multiscale Characterization of Wettability in Porous Media Transport in Porous Media · Springer Science+Business Media · 2021 10.1007/s11242-021-01615-0
  37. Understanding the role of wettability distribution on pore-filling and displacement patterns in a homogeneous structure via quasi 3D pore-scale modelling Scientific Reports · Nature Portfolio · 2021 10.1038/s41598-021-97169-8
  38. Generalized network modelling of two-phase flow in a water-wet and mixed-wet reservoir sandstone: Uncertainty and validation with experimental data Advances in Water Resources · Elsevier BV · 2022 10.1016/j.advwatres.2022.104194
  39. Pore-scale visualization of hydrogen storage in a sandstone at subsurface pressure and temperature conditions: Trapping, dissolution and wettability Journal of Colloid and Interface Science · Elsevier BV · 2022 10.1016/j.jcis.2022.09.082
  40. Fluid-fluid displacement in mixed-wet porous media Physical Review Fluids · American Physical Society · 2023 10.1103/physrevfluids.8.l012301
  41. Bubble evolution and transport in PEM water electrolysis: Mechanism, impact, and management Progress in Energy and Combustion Science · Elsevier BV · 2023 10.1016/j.pecs.2023.101075
  42. Subsurface carbon dioxide and hydrogen storage for a sustainable energy future Nature Reviews Earth & Environment · Nature Portfolio · 2023 10.1038/s43017-022-00376-8
  43. Representation of Fully Three‐Dimensional Interfacial Curvature in Pore‐Network Models Water Resources Research · Wiley · 2023 10.1029/2022wr033983
  44. Electrolyte‐Wettability Issues and Challenges of Electrode Materials in Electrochemical Energy Storage, Energy Conversion, and Beyond Advanced Science · Wiley · 2023 10.1002/advs.202300283
  45. Direct measurement of hydrogen relative permeability hysteresis for underground hydrogen storage International Journal of Hydrogen Energy · Elsevier BV · 2023 10.1016/j.ijhydene.2023.07.270
  46. Gas diffusion enhanced electrode with ultrathin superhydrophobic macropore structure for acidic CO2 electroreduction Nature Communications · Nature Portfolio · 2024 10.1038/s41467-024-44722-4
  47. In situ characterization of heterogeneous surface wetting in porous materials Advances in Colloid and Interface Science · Elsevier BV · 2024 10.1016/j.cis.2024.103122
  48. Pressure decline and gas expansion in underground hydrogen storage: A pore-scale percolation study International Journal of Hydrogen Energy · Elsevier BV · 2024 10.1016/j.ijhydene.2024.08.139
  49. Interplay of pore geometry and wettability in immiscible displacement dynamics and entry capillary pressure Physics of Fluids · American Institute of Physics · 2024 10.1063/5.0238578
  50. Hydrogen underground storage potential in sandstone formation: A thorough study utilizing surface complexation modelling Fuel · Elsevier BV · 2024 10.1016/j.fuel.2024.133902