Topological analysis of permeability tensor in anisotropic porous media
Authors: Rafał Topolnicki, Paweł Dłotko, Maciej Matyka
Organizations: Dioscuri Center in Topological Data Analysis, Center of Trustworthy AI for Life Sciences, International Research Agendas Programme, Warsaw University, 00-927, Warsaw, Poland. · Institute of Experimental Physics, Faculty of Physics and Astronomy, University of Wrocław, pl. M. Borna 9, 50-204, Wrocław, Poland. · Institute of Theoretical Physics, Faculty of Physics and Astronomy, University of Wrocław, pl. M. Borna 9, 50-204, Wrocław, Poland. · Parallel and Distributed Systems Laboratory, Jožef Stefan Institute, Jamova cesta 39, 1000, Ljubljana, Slovenia.
The permeability of an anisotropic porous medium is a tensor whose off-diagonal components, which describe the deflection of the macroscopic flux away from the driving force, are small and change sign under reflections. We ask whether direction-aware topological data analysis can predict the full permeability tensor of three-dimensional porous media directly from their geometry. We introduce two direction-aware topological descriptors for flow problems: a cone-based filtration, adapted from our earlier work on the elastic stiffness tensor, and a throat-scale filtration built on the distance transform of the pore space. Using permeability tensors computed with the lattice Boltzmann method, we compare them with a comprehensive set of non-topological baselines, comprising statistical microstructure descriptors and physics-based permeability estimators. The topological descriptors are most informative for the off-diagonal components, which the baselines capture least well. There the throat-scale filtration alone outperforms every non-topological descriptor set, including the union of all statistical descriptors and physics-based estimators, and adding it to the baselines consistently improves the prediction. We also confirm the approach on real rock data.
Figures & tables
Figure 1: Two exemplary structures of the dataset, both at porosity 0.78 , with streamlines of the LBM velocity field, coloured by speed (logarithmic scale, the same for both panels); the blue arrow shows the direction of the body force, along x in (a) and along y in (b). In (b) the streamlines turn towards z , which is the large kyz seen directly. (a) An isotropic structure ( A=B=1 ); its off-diagonal permeabilities are below 1.4% of the mean permeability and are a pure finite-size effect Koza et al. (2009) ; Matyka et al. (2013) . (b) A strongly anisotropic structure ( A=2.97 , B=1.76 ) with kyz=4.91 lattice units, about half of its diagonal components; the direction of its largest principal permeability lies close to the [011] diagonal.
Figure 2: The two direction-aware filtrations, illustrated on a periodic two-dimensional random-trigonometric structure (solid in grey); the actual filtrations are computed on three-dimensional grids with the same parameters. (a) TDA: for the solid voxel marked in red, the double cone of height h=6 and base radius r=3 voxels oriented along d^=[1,1] (black arrow) is constructed; the filtration value is the void fraction inside the cone (light: void, dark: solid). (b) THR: from the pore voxel marked in red, a walk of at most H=6 steps is made along ±d^ ; at every visited voxel the inscribed radius dt is shown as a blue circle, and the smallest one (red) is the narrowest constriction met along d^ , which sets the filtration value. (c, d) The resulting THR filtration over the whole structure for d^=[1,1] and d^=[1,1ˉ] . Low values (yellow) mark channels that remain wide along d^ ; the two maps differ because the pore channels of the structure are elongated close to the [1,1] direction.
Figure 3: Predicted vs. LBM-computed permeability for (a) the diagonal component kxx and (b) the off-diagonal component kyz , comparing THR (red circles), TDA (green triangles), Baselines (blue diamonds) and Stats (grey squares). Each panel pools the test-set predictions of all 5 cross-validation folds; the dashed line marks perfect prediction. R2 and MAE are averaged across the 5 folds. The inset shows the distribution of the prediction error, predicted − LBM. Lattice units.
Figure 4: Accuracy of the main descriptor sets for the diagonal component kxx and the three off-diagonal components: (a) the coefficient of determination R2 and (b) the mean absolute error (MAE) of the predicted components with respect to the LBM-computed ones, in lattice units. Markers show the mean over the five test folds and error bars the standard deviation across the folds. Open markers: non-topological descriptor sets; filled markers: sets that contain topological descriptors. In each panel kxx has its own vertical axis, because its scale differs from that of the off-diagonal components. The values for all descriptor sets and all six components are given in Tables S4.1 and S4.2 of the Supplementary Information.
Figure 5: Accuracy as a function of the number of training structures n for (a) the diagonal component kxx and (b–d) the three off-diagonal components: R2 on a fixed hold-out set (one fifth of the dataset) for Stats (grey squares), TDA (green triangles), THR (red circles) and Stats + THR (dark red, dashed). Lines show the mean and shaded bands the standard deviation over five random training subsets of each size. The dotted line marks R2 of Stats trained on n=4000 structures, and the arrow the number of structures with which THR reaches the same accuracy.
Flow in porous media is difficult to address using standard analytical or numerical methods due to its complexity. However, since synthetic representations of porous media are easy to produce and data from physical experiments are becoming more widely available, the problem is well-suited to studies that include machine learning (ML) techniques. We discuss a number of features that can be extracted from such data, and their utility as input variables into a standard ML algorithm. These features include structural measures describing the geometry of the porous media, topological measures describing the connectivity, and network measures obtained by modeling the porous media as simplified pore networks. These features enable the prediction of the permeability of the considered (synthetic) porous materials using ML techniques that also leverage the separately computed exact permeability (ground truth). Comparing results obtained using different input variables helps develop a better understanding of the utility of various measures for predicting permeability based on the porous media structure. We show, in particular, that topological data analysis (TDA) provides a useful set of features that can be easily combined with ML to yield meaningful results.
Department of Mathematical Sciences, New Jersey Institute of Technology, Newark, NJ · Department of Physics, New Jersey Institute of Technology, Newark, NJ
Accurate prediction of permeability tensors from pore-scale microstructure images is essential for subsurface flow modeling, yet direct numerical simulation requires hours per sample, fundamentally limiting large-scale uncertainty quantification and reservoir optimization workflows. A physics-informed deep learning framework is presented that resolves this bottleneck by combining a MaxViT hybrid CNN-Transformer architecture with progressive transfer learning and differentiable physical constraints. MaxViT's multi-axis attention mechanism simultaneously resolves grain-scale pore-throat geometry via block-local operations and REV-scale connectivity statistics through grid-global operations, providing the spatial hierarchy that permeability tensor prediction physically requires. Training on 20000 synthetic porous media samples spanning three orders of magnitude in permeability, a three-phase progressive curriculum advances from an ImageNet-pretrained baseline with D4-equivariant augmentation and tensor transformation, through component-weighted loss prioritizing off-diagonal coupling, to frozen-backbone transfer learning with porosity conditioning via Feature-wise Linear Modulation (FiLM). Onsager reciprocity and positive definiteness are enforced via differentiable penalty terms. On a held-out test set of 4000 samples, the framework achieves variance-weighted R2 = 0.9960 (R2_Kxx = 0.9967, R2_Kxy = 0.9758), a 33% reduction in unexplained variance over the supervised baseline. The results offer three transferable principles for physics-informed scientific machine learning: large-scale visual pretraining transfers effectively across domain boundaries; physical constraints are most robustly integrated as differentiable architectural components; and progressive training guided by diagnostic failure-mode analysis enables unambiguous attribution of performance gains across methodological stages.
Mohammad Nooraiepour
Faculty of Mathematics and Natural Sciences, University of Oslo, PO Box 1047 Blindern, 0316 Oslo, Norway
Diffusion-based voxel prior modelling is challenging for the reconstruction of large-scale 3D porous microstructures. Due to the demanding requirements for simultaneously modelling both the continuous pore morphology and the discrete pore-throat topology, the diffusion models require fully observed CT scans to provide topology-faithful priors, which results in an inherent trade-off among throughput, topological fidelity, and field of view in practical industrial applications. We propose GeoTopoDiff, a graph diffusion-based framework for reconstructing 3D porous microstructures from sparse CT slices. GeoTopoDiff transfers the learning of diffusion priors from a voxel-based space to a mixed graph state space, which simultaneously encompasses continuous pore geometry and discrete pore-throat topology. A topology-aware partial graph prior from sparsely observed CT slices is introduced to constrain the reverse denoising process. Experiments on anisotropic PTFE and Fontainebleau sandstone show that GeoTopoDiff reduces morphology-related errors by 19.8% and topology-sensitive transport errors by 36.5% on average. Our findings suggest that the mixed graph state space promotes the diffusion denoising process to reduce posterior uncertainty under a sparse observations. All models and code have been made publicly available to facilitate the exploration of diffusion models in the field of 3D porous microstructures simulation.
Yue Shi, Peng Wang, Mingzhe Yu +5
Manchester Metropolitan University, Manchester M1 5GD, U.K. · University of Surrey, Surrey, GU2 7XH, U.K. · Johnson Matthey Billingham, TS23 1LB, U.K. +1