CS Paper Radar

Subsurface Model Programming: Frontier Large Language Models Natively Interpret and Edit Dynamic Reservoir Models

Yanchen Song, Huizhu Xiang, Zhengdong Lei, Yuezhong Wang, Xingbang Liu

cs.CE ·submitted 2026-11-22 17:11 UTC · v1
code/data

Abstract

Multiphase flow simulation in heterogeneous porous media supports decisions in hydrocarbon recovery, geological carbon sequestration, and geothermal extraction. We introduce Subsurface Model Programming, a workflow in which large language models (LLMs) read and edit reservoir simulation decks directly without numerical gradients or external optimization algorithms. We evaluate four benchmarks using geometric checks for connectivity and open-source simulators for dynamic tasks. In one text-only response, the LLM correctly classified all six reservoir-layer well-pair labels and all three flow-path labels between open completions. On PUNQ-S3, a single proposal modified 54 of 1,761 active cells (3.1%) and reduced well-balanced water-cut RMSE by 71.9%. On the SPE10 sector model, the best of five LLM proposals yielded 1.795 million standard cubic meters of cumulative oil over ten years, 8.9% more than the best plan from 25 particle swarm optimization evaluations. On the 533,403-cell UNISIM-IV-2026 compositional model, five rounds of script-based editing reduced combined field-and-well NRMSE from 37.98% to 11.62% (a 69.4% reduction) and field production error by 73.9%. Replacing exhaustive stochastic search with physically auditable causal interventions in just one to five runs provides a generalizable foundation for autonomous reservoir development, rapid history matching, legacy model diagnosis, and coupled multiphysics engineering.

Comment
18 pages, 9 figures, 6 tables. Code and benchmark materials are available at https://github.com/syclong/llm-reservoir-engineering-benchmarks

Closest papers

Nearest neighbours by meaning across the whole index.

Decision-Support and Modeling with Large Language Models for Geothermal Well Arrays

cs.AI cs.CE ·2026-08-22 ·Edwin Ouko, Emmanuel Lujan, Alan Edelman, Robert Metcalfe
similarity 0.70
Abstract · 10 pages, 8 figures. Presented at the 50th Workshop on Geothermal Reservoir Engineering, Stanford University, February 10-12, 2025

Geothermal well arrays, which organize multiple geothermal wells into carefully planned geometric configurations, provide opportunities to enhance energy production capacity and increase fault tolerance. The development and adoption of these emerging geothermal technologies could be accelerated through the recent advances in large language models (LLMs) and high-level high-performance languages. A challenge in LLM-based applications is the reliability of the generated outputs, as they can be prone to subjective biases and hallucinations. This study assesses the potential of cutting-edge LLMs - such as ChatGPT, Gemini, Claude, Grok, and domain-specific models like AskGDR - as expert assistants that can synthesize insightful interpretations of complex geothermal data, as well as improve feature capabilities of geothermal models and numerical software. We developed a novel approach, leveraging Google's recently introduced AI assistant, NotebookLM, to accelerate the generation of unpublished quantitative geothermal benchmarks. The rapid generation of these evaluation instruments is essential for assessing the swiftly evolving capabilities of emerging language model technologies. In particular, we use these benchmarks and LLM-based interviews to analyze opportunities and limitations of two promising technologies: geothermal well arrays and closed-loop coaxial wells. Furthermore, we present a case study illustrating how LLMs can facilitate auto-parallelization of geothermal numerical models. Our analysis emphasizes their application in digital twins and underscores the importance of high-level, high-performance code generation. This line of research could play a transformative role in the geothermal sector by enabling the next-generation of decision-support applications, integrating data analysis, informed recommendations, and more dynamic numerical modeling workflows.

0.64

PoreML: A Data-Driven Framework for Learning Multiphase Flow in Porous Media

cs.LG physics.flu-dyn ·2026-10-07 ·Chunyang Wang, Mingrui Zhang, Yuyan Zhang, Linqi Zhu, Xin Ju +3 more
code/data similarity 0.58
Abstract

Multiphase flow in porous microstructures is central to CO$_2$ storage, fuel-cell operation, and flip-chip packaging. Predicting these flows remains challenging because wettability and complex pore geometry govern the nonlinear evolution of fluid interfaces. Machine learning holds substantial promise for advancing the field, but progress is constrained by scarce time-resolved 3D datasets and a lack of a unified workflow for training and evaluating models. To fill this critical gap, we introduce PoreML, an open-source framework unifying data generation, model training, and evaluation grounded in pore-scale physics. The framework comprises three core components. (a) A modern GPU-native lattice Boltzmann solver, validated against analytical solutions and published experiments, enables reproducible data generation. (b) A 3.3 TB dataset contains 560 simulation runs and 158,546 stored time steps across four application-driven scenarios. These trajectories span synthetic structures and geometries derived from micro-CT scans of real materials, covering diverse wetting conditions and viscosity ratios. (c) A unified learning framework evaluates one-step prediction and autoregressive rollouts. Its domain-specific evaluation protocols assess predictive accuracy and physical consistency. We evaluate five models of diverse architecture under these protocols. Two complementary challenges assess transfer to larger domains and from synthetic to micro-CT-derived structures. PoreML provides a shared foundation for machine-learning research on multiphase flow in porous media, with the aim of empowering the community to develop reliable predictive models and advance the field.

0.35

Ranking Competing geologic interpretations via foundation-model-assisted generative hydrologic inversion

cs.LG ·2026-09-17 ·Harun Ur Rashid, Daniel O'Malley
benchmark similarity 0.58
Abstract

High-consequence subsurface decisions often rely on sparse data that permit competing geological interpretations. Determining consistency of these interpretations with the available observations remains challenging. We present a workflow that addresses this challenge by translating competing geologic interpretations into alternative priors and ranking them according to their consistency with hydraulic-head observations. A key step in this workflow is exploiting the broad knowledge of image-generation foundation models to transform nuanced geologic interpretations into data ready for computer modeling. For each interpretation, a text-to-image foundation model generates an ensemble of geologic images, and a separately trained variational autoencoder learns an interpretation-specific latent representation. A supervised inverse network maps head observations into this latent space, and the frozen decoder reconstructs an image that is mapped to a log-conductivity field. Steady-state flow simulations predict heads, and the aggregate normalized head error determines the ranking. We evaluate the framework using a synthetic benchmark based on the Johansen Formation with three interpretations of decreasing consistency with the reference geology. Across 595 test cases, the Precise \& Accurate interpretation produces lower normalized errors than Accurate in 58.5\% of cases and Mismatched in 82.5\% of cases. Accurate outperforms Mismatched in 65.5\% of cases. We then compare spatial representations of two published conceptual models of the Culebra Dolomite Member at the Waste Isolation Pilot Plant. The revised representation yields an aggregate normalized error of 7.598, compared with 8.595 for the original, consistent with the documented conceptual-model revision. The framework enables quantitative comparison of competing geological interpretations using available hydraulic observations.

0.29

LLM-Assisted Generation of Transparent, Open-Source Multiphysics Models of Electrochemical Devices

cs.AI physics.chem-phphysics.comp-ph ·2026-10-07 ·Sebastian Castro, Maya F. Schuchert, Spencer A. McCluskey, Eric W. Lees, Justin C. Bui
code/data similarity 0.57
Abstract · 25 pages, 6 figures, Supplementary Information and implementation guide provided as ancillary files

Multiphysics continuum models are powerful tools for studying electrochemical devices, enabling in silico reactor design and resolution of local pH, potential, and concentration fields that govern device performance but are difficult to measure experimentally. However, constructing such models requires substantial numerical expertise or reliance on proprietary software. Here, we show that frontier large language model agents can remove this implementation burden while keeping the underlying physics under researcher control. Using one-dimensional electrochemical CO2 reduction to CO in a porous gas diffusion electrode as a test case, we develop a machine-readable, human-specified modeling harness containing governing equations, parameters, numerical methods, logical build stages, and human-verifiable checkpoints. From this specification, the agent reproducibly constructs complete multiphysics models in open-source Julia. Independently built models, including fully autonomous agent-built models, agree with an equivalent COMSOL implementation to within 0.7% of the peak CO partial current density, and with one another to within 0.04%. Systematically planted errors demonstrate the importance of explicit specifications for reproducibility and reveal the agent's capabilities and limitations in debugging model physics. This framework establishes a more transparent approach to multiphysics modeling in which physical descriptions and governing equations, rather than specialized code, become the primary inputs for computational model development.

0.47

Flow Mesh: A Velocity-Regularized Flow Matching Framework for Stable Distributional Modeling of Physical Fields on Unstructured Meshes

cs.LG physics.flu-dyn ·2026-10-23 ·Siddharth Verma, Jaewan Park, Jay Phil Yoo, Kazuma Kobayashi, Souvik Chakraborty +1 more
similarity 0.56
Abstract

Thermal-fluid field distributions underpin the analysis and operation of energy infrastructure, from nuclear-reactor cooling channels to industrial heat exchangers, but resolving these distributions through computational fluid dynamics requires prohibitively large simulation ensembles. Their complex geometries also demand unstructured meshes that are poorly accommodated by generative models developed for regular grids. Here we introduce FlowMesh, a generative framework that combines permutation-invariant mesh encoding with deterministic latent flow matching and an l1 penalty on the learned transport velocity. FlowMesh generates full-field realizations directly on fixed unstructured meshes without auxiliary grid interpolation or a stochastic denoising chain. Across lid-driven-cavity, pressurized-water-reactor subchannel and heat-exchanger datasets, evaluated over six matched training seeds, FlowMesh achieves macro-averaged probability-density-function coverage of 91.7%-97.0%, exceeding an architecture-controlled latent diffusion model by $11.6$--$45.4$ percentage points. Latent-velocity regularization increases coverage by $3.8$ percentage points for reactor flows and 1.1 points for heat-exchanger flows, while reducing temperature-field Kullback--Leibler divergence by 1.7-2.4-fold. Each full-field realization requires 1.23 \pm 0.15 s, providing a 585--1902-fold wall-clock acceleration over computational fluid dynamics. FlowMesh therefore makes large-scale generative characterization of thermal-fluid states computationally feasible, providing a foundation for data-driven analysis and digital-twin development in fixed-geometry energy systems.

0.22

LM-SimBench: A Unified Framework, Dataset, and Benchmark for Large Language Model Training Simulation

cs.AI ·2026-11-10 ·Yu Dong, Hong Li, Qiang Sun, Xu Zhou, Jinbiao Huo +2 more
benchmark similarity 0.55
Abstract

Evaluating candidate parallelization strategies through distributed training runs makes strategy selection prohibitively expensive at scale. Performance simulation offers a lower cost alternative, yet controlled comparisons among existing simulators remain difficult because they differ in the training stages they model and the workloads on which they are evaluated. We introduce LM-SimBench, a unified framework, profiling dataset, and benchmark for evaluating LLM training simulators. The framework decomposes simulation into functional stages from model compilation to schedule level aggregation, connecting execution representations and cost estimators to measurable evaluation targets. Following this framework, we profile 23 model settings from 10 dense and Mixture-of-Experts (MoE) LLM families on an Ascend Neural Processing Unit (NPU) cluster. The resulting dataset contains 348 feasible configurations that jointly vary five parallelism dimensions and activation recomputation, with six views spanning configuration, rank, operator, event, and kernel granularity. Evaluations of representative training simulators demonstrate how LM-SimBench supports comparisons of prediction accuracy, assessment of configuration selection, and diagnosis of prediction errors. Matched GPU-NPU experiments validate the cross-platform applicability of the collection and evaluation protocol and demonstrate NPU-guided GPU configuration selection.

0.19

Reliability by Architecture: Agentic Workflows for Validated Multi-Physics Simulation from Natural Language

cs.CE cs.AIphysics.comp-ph ·2026-11-17 ·Søren Taverniers, Eric Darve, Hamdi A. Tchelepi
similarity 0.55
Abstract

Preparing, executing, and validating strongly coupled multi-physics simulations require expert time. Agentic workflows use large language models (LLMs) to coordinate them from natural-language descriptions, but reliability requires checks of physical consistency and fidelity to the problem description. Our agentic harness implements explicit task allocation: LLMs interpret user requests and simulator diagnostics, generate input components not covered by predefined construction rules, and propose repairs, while deterministic routines construct supported components and check inputs, edits, and results. We evaluate CO2-storage problems using the multi-physics simulator GEOS, from compositional flow to flow-poromechanics with frictional fault contact. In 80 attempts on two flow problems, grounding raises the proportion of structurally valid inputs from 5/20 to 20/20, but acceptance reaches 20/20 only with complete rule-based input preparation. With identical inputs, local repairs correct three seeded defects while preserving valid inputs. Supporting tests identify simulations passing physics checks despite differing from the problem description or reference results.

0.31

OceanCoder: A Verification-Guided Large Language Model for Automated Simulation Modelling in Ocean Engineering

cs.LG cs.SE ·2026-11-19 ·Can Xue, Changhong He, Ziyi Sun, Anliang Ge, Shimin Yu +1 more
benchmark similarity 0.55
Abstract · 22 pages, 11 figures, including appendices

Numerical simulation is important in ocean engineering, but model construction requires expert knowledge. Large language models support automated modelling, but code syntax and successful execution alone do not establish whether generated models and results meet engineering requirements. We present OceanCoder, a Qwen3-8B-based large language model for automated simulation modelling in ocean engineering. To address specialised programming requirements and scarce training data, we develop an extensible data construction pipeline producing 12,000 verified supervised fine-tuning (SFT) examples across 12 engineering task categories. A three-layer verification framework checks model inputs against engineering parameters and task constraints, verifies completion of required simulation analyses, and assesses the engineering plausibility of computed outputs. Its outcomes provide graded rewards for group relative policy optimisation (GRPO), guiding the model towards engineering task completion. We also construct the first benchmark for automated modelling in ocean engineering, covering out-of-distribution tasks and real-world engineering cases. Experiments and ablation studies demonstrate the effectiveness of the data pipeline, verification framework and reward design. OceanCoder outperforms both base models and the closed-source comparison, with Pass@1 increasing from 0% for the base model to 46.77% after SFT and 51.43% after GRPO. These results support engineering verification as a training signal for automated simulation modelling.

0.18