arXiv Science⌕ Search

arXiv · 2610.14104

CFD Forge: A Physics-Constrained Agentic Framework for Autonomous CFD

Abstract

Setting up, running, and assessing a computational fluid dynamics (CFD) simulation requires substantial manual effort, from meshing and solver setup to diagnosis and interpretation, and repeating it across design variants slows engineering iteration. We present CFD Forge, an agentic framework built around OpenFOAM that carries an engineering request through case construction, meshing, solver execution, diagnostics, and reporting. A large language model interprets the request, reads the simulation evidence, identifies likely causes of problems, and proposes actions from a closed set. Automation is only useful if its results can be trusted, so acceptance is not left to the model: deterministic checks, registered for each type of flow, measure explicit criteria and decide. We demonstrate the framework on a converging-diverging nozzle and a two-dimensional forward-facing step, including geometry and operating changes requested in text. A turbulent cube, run outside the agent loop, shows why the checks matter: the solver completed and the mean drag settled, but the lateral-force oscillations were still growing, so a retrospective assessment withheld acceptance. To test this separation, we replayed 36 recorded simulation states, some with deliberately altered diagnostics, through the same model in two setups. Judging from the evidence without the check results, the model accepted 12 of the 13 detectable faults in all three repeats; with CFD Forge's checks deciding, none was accepted. The two setups also differ in prompting, and a fixed rule reached the same verdicts, so the model's value lies in the open-ended work rather than the verdict. Case files, recorded model calls, and decisions are retained for audit. A model that does the work, paired with checks that decide what is accepted, is a step toward automated CFD that can be trusted in high-throughput design and active-learning loops.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Aakash Shailesh Oza, Ryan F. Johnson, Amir Barati Farimani. 2026-10-08. CFD Forge: A Physics-Constrained Agentic Framework for Autonomous CFD. https://arxiv.org/abs/2610.14104

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Kinematic Closure of Drop Impact

Predicting how far a liquid droplet spreads upon impacting a solid surface is governed by a complex competition between inertia, surface tension, and viscous dissipation. Existing models typically estimate this maximum spreading diameter by prescribing the spreading time or velocity from a decoupled asymptotic limit, restricting predictive accuracy across regimes. Here, we formulate a reduced kinematic description by resolving both the characteristic spreading time and spreading velocity from an energy balance coupling capillary storage and viscous dissipation. Unifying these two asymptotically constrained closures via the kinematic relation $D_{\max} = V_s t_s$ yields a compact, parameter-free approximation for the maximum spreading ratio that bridges the inertio-capillary and inertio-viscous regimes. We quantify the accuracy of this reduced closure against the exact implicit energy relation and demonstrate that it quantitatively collapses our experimental measurements alongside extensive literature data across wide ranges of Weber and Ohnesorge numbers, droplet sizes, and surface wettabilities without adjustable prefactors.

physics.flu-dyn↗

Azimuthal Instability in Oscillating Liquid Jets by the Weber Number Variations

This paper investigates the dependence of azimuthal mode growth rate of oscillating liquid laminar jets on the Weber number. The oscillating liquid laminar jets were simulated over a range of Weber numbers. The simulation setup was validated by comparing the instantaneous interface shapes and the visible azimuthal mode from experimental measurements. As the Weber number increases, the spreading angle rises due to the small surface tension, and higher azimuthal modes are observed. Fourier Transform analysis is used to find the exact azimuthal mode of the simulation results. The dominant azimuthal mode increases as the Weber number increases. A power-law dependence of the growth rate on the Weber number is identified, with the obtained exponents showing good agreement with linear instability analysis. Furthermore, the rescaled Fast Fourier Transform (FFT) results collapse onto a single growth curve for each azimuthal mode, validating the proposed power-law for predicting the growth rates of oscillating liquid jets.

physics.flu-dyn↗

Streamwise dispersion with interphase mass transfer through a tube

Reactive solute transport in shear flows is of broad importance in chemical engineering, liquid--solid chromatography, and environmental mechanics, particularly in flow reactors and fluidic devices involving interphase mass transfer. Based on the recently developed streamwise dispersion theory for inert solutions (Guan & Chen, 2024, J. Fluid Mech., vol. 980, A33), we present an analytical model for reactive dispersion of chemically active solutes characterized by first-order, irreversible surface reactions. The extension is not a simple perturbation because the reactive boundary destroys mass conservation with streamwise and radial derivatives coupled. The model establishes how the microscopic kinetic reactivity and radial eigenmodes combine to determine a newly defined (effective) local exchange rate. We derive rigorous explicit solutions for the local moments, concentration, and phenomenological transport coefficients at arbitrary reactivity, in quantitative agreement with numerical simulations across all regimes. For tube Poiseuille flows, we reveal pre-asymptotic behaviours including sign-changing radial exchange, reactivity-enhanced drift, reactivity-reduced dispersivity, and non-Gaussian concentration profiles. Small- and large-Damköhler-number asymptotics for the local and global transport coefficients identify the reaction-limited and diffusion-limited regimes, connecting the conservative case to the Dirichlet limit at infinite reactivity. This streamwise perspective could advance our understanding of macroscale transport in chemically active systems.

physics.flu-dyn↗