OpenFOAMGPT 2.0: end-to-end, trustworthy automation for computational fluid dynamics
Jingsen Feng, Ran Xu, Xu Chu
TL;DR
The paper presents OpenFOAMGPT 2.0, a four-agent, end-to-end framework that converts natural language CFD queries into executable simulations with automated pre-processing, prompt generation, simulation, and post-processing. By tightly coupling specialized agents with deterministic OpenFOAM configurations and a closed-loop error refinement, the approach achieves 100% reproducibility across diverse cases, including single- and multi-phase Poiseuille flow, porous-media transport, and motorbike aerodynamics. The work demonstrates robust, conversation-driven workflows that maintain numerical rigor while reducing manual expertise requirements, validated across more than 450 simulations. This framework has significant practical impact by democratizing access to complex CFD analyses and establishing a foundation for trustworthy, scalable, and extensible AI-assisted scientific computing.
Abstract
We propose the first multi agent framework for computational fluid dynamics that enables fully automated, end to end simulations directly from natural language queries. The approach integrates four specialized agents Pre processing, Prompt Generation, OpenFOAMGPT (simulator), and Post processing decomposing complex computational fluid dynamics workflows into collaborative components powered by large language models. Extensive validation through diverse case studies, including Poiseuille flows, single and multi phase porous media flows, and aerodynamic analyses, demonstrates 100% success and reproducibility rates across over 450 simulations. Rigorous trustworthiness verification confirms that properly designed multi agent systems can achieve the reliability standards necessary for zero tolerance scientific computing applications while significantly lowering entry barriers. The framework establishes a foundation for conversation-driven simulation workflows in computational science, potentially accelerating discovery and innovation through more accessible tools for complex numerical simulations. Results reveal that multi-agent architectures, when properly specialized and orchestrated, can effectively handle the stringent requirements of computational physics while maintaining the intuitive interface of natural language interaction.
