the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
An AI-assisted Framework for Image-Based Multiphase Flow Simulations
Abstract. Image-based pore-scale models are critical for studying pore-scale multiphase displacement physics and connecting pore-scale processes to Darcy-scale constitutive relationships. However, systematic image-based modeling studies remain challenging due to the fragmentation of image acquisition and processing approaches, pore-scale simulators, and post-processing tools. To address this challenge, we develop a human-in-the-loop, AI-assisted workflow that integrates complex image-based modeling tasks into a state-aware framework for multiphase flow simulations. External or local AI tools (i.e., large language models) are used to translate natural-language instructions into validated model actions and parameter updates, while deterministic codes are implemented to execute image generation/import and processing, quasi-static and dynamic two-phase displacement simulations, postprocessing. We demonstrate the framework through deterministic two-phase displacement simulations, direct comparison with reported primary-drainage measurements, and ensemble analyses across porous-medium realizations. Our simulations show that: (1) Sample-scale constitutive relationships (e.g., capillary-pressure–saturation and fluid–fluid-interfacial-area–saturation curves) from dynamic simulations deviate from their quasi-static counterparts and do not collapse onto universal curves, revealing flow-regime-dependent nonequilibrium behavior. (2) Comparison with reported primary-drainage measurements further shows that model–experiment agreement is strongly affected by pore-body and pore-throat geometric representations. (3) Quasi-static capillary-pressure and interfacial-area relationships are relatively insensitive to microstructural variability, whereas relative permeability is substantially more variable because of its dependence on connected flow pathways. (4) For dynamic displacements, constitutive relationships remain comparatively consistent within each flow regime but distinctly separated among regimes across overlapping saturation ranges. These results highlight the importance of developing regime-aware Darcy-scale constitutive relationships and demonstrate a reproducible framework for model benchmarking, model–data evaluation, and uncertainty-aware pore-scale analysis.
- Preprint
(5730 KB) - Metadata XML
- BibTeX
- EndNote
Status: open (until 24 Nov 2026)
- RC1: 'Comment on egusphere-2026-6229', Anonymous Referee #1, 13 Oct 2026 reply
-
RC2: 'Comment on egusphere-2026-6229', Anonymous Referee #2, 14 Oct 2026
reply
This study presents an AI-assisted workflow that integrates complex image-based modeling tasks into a state-aware framework for pore-scale multiphase flow simulations. The manuscript provides a reproducible framework for model benchmarking, model–data evaluation, and uncertainty-aware pore-scale analysis. The paper is well written and logically organized, and the figures and tables are appropriate. Several technical issues should be addressed to further improve the clarity and scientific robustness of the study.
1. Why is the fluid–fluid interfacial area needed as an additional state variable in the framework presented in this study? A clearer justification should be provided.
2. What is the difference between the “bulk” and “bulk + film (total)” fluid–fluid interfacial areas, and how is the film contribution calculated? Why is only the bulk fluid–fluid interfacial area used in the dynamic PNM analysis and the model–experiment comparison (Figures 5, 6, and 9)?
3. How is the dynamic domain-averaged capillary pressure in Section 3.1 calculated? It would be more clear if the authors can provide the corresponding equation and clarify whether the bulk or total fluid–fluid interfacial area is used as the weighting factor.
4. What time-step control, convergence criterion, and mass-conservation tolerance are used in the dynamic PNM? This information could be provided to assess the numerical accuracy and ensure the reproducibility of the simulations.
5. How are the 100 porous-medium realizations used in the uncertainty analysis generated? Are all input parameters fixed while only the random seed is varied? What are the resulting ranges of the key structural properties, particularly the geometrical properties of the pore bodies and pore throats?Citation: https://doi.org/10.5194/egusphere-2026-6229-RC2 -
CC1: 'Comment on egusphere-2026-6229', Chao-Zhong Qin, 24 Oct 2026
reply
The manuscript presents an integrated AI-assisted framework for image-based pore-scale multiphase flow simulations. The study is generally well organized and demonstrates the application of the framework to deterministic simulations, model–experiment comparisons, and uncertainty quantification. I have the following comments that could help improve the clarity and scientific robustness of the manuscript.
1. Section 2.3: The manuscript describes an AI-assisted framework in which large language models translate natural-language instructions into predefined modeling actions and parameter values, while the subsequent numerical simulations and postprocessing are performed by deterministic codes. It would be helpful if the authors could more explicitly distinguish the tasks performed by the LLM from those handled by conventional automation. In particular, the authors could clarify the current capabilities and limitations of the AI component and discuss how the framework differs from a conventional scripted workflow with a natural-language interface.
2. Section 3.1.2, Lines 223–226: The authors use capillary numbers ranging from (10^{-8}) to (10^2) to reproduce different displacement regimes. The upper capillary number appears considerably higher than those typically encountered in many porous-media applications. Could the authors clarify the physical relevance of these conditions and discuss whether the assumptions underlying the dynamic pore-network model remain applicable at such high capillary numbers?
3. Sections 3.1.3 and 3.3.2: The authors conclude that the dynamic capillary-pressure–saturation and interfacial-area–saturation relationships exhibit distinct flow-regime dependence, suggesting the need for regime-aware constitutive relationships. However, only three combinations of capillary number and viscosity ratio are investigated. Could the authors discuss the extent to which these findings can be generalized to other flow conditions, particularly near transitions between displacement regimes? A discussion of the limitations of the current analysis would strengthen the interpretation of the results.
4. Section 3.2, Figure 6 and Table 2: The model–experiment comparison shows that the agreement depends strongly on the definitions of pore-body and pore-throat diameters. Different geometric representations also appear to provide the best agreement for capillary pressure and fluid–fluid interfacial area. Could the authors discuss whether the geometric representation yielding the smallest prediction error is necessarily the most physically appropriate? In particular, could the improved agreement partly reflect compensation for other modeling assumptions rather than a more accurate representation of the pore geometry?
5. Sections 3.1.2 and 3.3.2, Figures 4 and 8: The temporal evolution of the domain-averaged properties is compared using time normalized by the breakthrough time. Although this normalization facilitates comparisons among different displacement regimes and porous-medium realizations, it also removes differences in the absolute displacement timescale. Could the authors report representative breakthrough times for the three displacement regimes and briefly discuss how this normalization affects the interpretation of the temporal responses and their variability?
6. Section 3.3.2, Figure 9: The authors conclude that the differences among displacement regimes are more significant than the variability among porous-medium realizations within each regime. This conclusion is mainly supported by visual comparisons of the percentile bands. Could the authors provide a quantitative comparison of the within-regime variability and between-regime differences over a common saturation interval? Such an analysis would provide stronger support for the conclusion that displacement regime is a more important organizing variable than microstructural variability under the investigated conditions.Citation: https://doi.org/10.5194/egusphere-2026-6229-CC1 -
RC3: 'Comment on egusphere-2026-6229', Anonymous Referee #3, 06 Nov 2026
reply
This manuscript presents a well-designed and substantial human-in-the-loop, AI-assisted workflow for image-based pore-scale multiphase flow simulations. The integration of natural-language orchestration, state-aware workflow tracking, image generation/import, pore-network extraction, quasi-static and dynamic two-phase simulations, visualization, and uncertainty quantification is ambitious and practically useful. The demonstration is broad: deterministic quasi-static and dynamic displacements, regime comparisons, model–experiment evaluation against primary-drainage data, and ensemble uncertainty analyses across 100 realizations. The manuscript is generally well organized, and the reproducible run-record concept is a meaningful contribution. I recommend minor revision.
I have three minor comments:
The workflow is demonstrated with many simulations, including 100 realizations for quasi-static runs and 100 realizations for each of three dynamic regimes. However, the manuscript provides little information on computational cost. It would be helpful to report representative wall-clock times for image generation, network extraction, quasi-static simulation, dynamic simulation, and postprocessing, as well as the overhead introduced by the LLM/GUI orchestration. A brief discussion of parallelization, scaling, and practical limits for larger images or larger ensembles would strengthen the practical assessment of the framework.
The ensemble analysis is informative, but the generated porous media share the same sample-scale properties and generation procedure. This likely underestimates uncertainty associated with real heterogeneous media, image resolution, segmentation, network extraction, and geometric definitions. The authors partially address geometry in Section 3.2, but a clearer separation between realization-to-realization variability and modeling/parameter uncertainty would be valuable. A short sensitivity discussion or caveat regarding synthetic-media generality and REV scale would improve the interpretation.
The framework is currently demonstrated for two-phase flow. Since the Introduction motivates applications involving water, gas, and NAPL, it would be useful to discuss how the workflow could be extended to three-phase systems. Key challenges include three-fluid configurations, wettability and hysteresis, interfacial-area definitions, increased state-space complexity, and the computational cost of dynamic three-phase pore-network simulations. A concise outlook on which workflow components are general and which require substantial modification would help readers assess transferability.
Citation: https://doi.org/10.5194/egusphere-2026-6229-RC3
Viewed
| HTML | XML | Total | BibTeX | EndNote | |
|---|---|---|---|---|---|
| 383 | 186 | 43 | 612 | 41 | 39 |
- HTML: 383
- PDF: 186
- XML: 43
- Total: 612
- BibTeX: 41
- EndNote: 39
Viewed (geographical distribution)
| Country | # | Views | % |
|---|
| Total: | 0 |
| HTML: | 0 |
| PDF: | 0 |
| XML: | 0 |
- 1
The manuscript egusphere-2026-6229 reports on the development of an AI-driven workflow to automate a dynamic pore network model simulation for multiphase flow in porous media on the basis of a segmented 3D image of a porous structure by using AI/large language models.
The paper is well-written and plausible, numerical results validated against experimental data, and publication is supported.
The image processing itself is not part of the workflow. However, image segmentation and subsequent network extraction is a primary source of uncertainty in the whole workflow. Therefore, recently there are publications on grey-level LBM simulations which avoid this issue to some extent. It would be good if the authors could comment on that. Furthermore, for pore network extraction it depends a bit on the type of porous media, but for rocks the watershed method produced somewhat less reliable results than the maximum ball method by Dong & Blunt. The underlying reason is that the watershed method uses maxima in the Euclidean distance map as seed points but most pores in e.g. sandstone rock have already multiple maxima within a single pore, which leads to topological issues. Anyway, this is a detail, but it has quite some impact on the result, therefore, would be good to mention that.
For the dynamic PNM it would be good to provide some more literature references, e.g. the early work by
There are probably more, but these are the classical papers on dynamic PNM.
Fig. 3 – maybe it would be nice to map the results on the classical Lenormand diagram (mobility ratio vs. capillary number)
This is more of a suggestion: It might be nice to also show the Euler characteristic – because together with saturation, interfacial area and mean curvature we would have the complete Minkowski functionals, which are the capillary state variables (Phys. Rev. Fluids 3(8), 084306, 2018.). It would be in general very interesting to follow trajectories of displacement processes in Minkowski space, see. E.g. work by the R. T. Johns group at PennState (various papers, e.g. Transport in Porous Media 153 (8), 103, 2026), Parente et al. (International Journal of Hydrogen Energy 229, 154730, 2026.), Wildenschild group (Physics of Fluids 38 (2),2026).