ChatCFD: an End-to-End CFD Agent with Domain-specific Structured Thinking

📅 2025-05-28
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
CFD simulation remains inaccessible to non-experts due to its operational complexity and heavy reliance on domain expertise. To address this, we propose the first end-to-end large language model (LLM)-based agent specifically designed for CFD, enabling users to automatically configure and execute OpenFOAM simulations via natural language queries or literature inputs. Our method introduces a structured CFD reasoning framework that integrates a domain-specific knowledge graph, structured prompt engineering, LLM inference, and OpenFOAM workflow orchestration—augmented by a configuration validation and error self-reflection module to ensure robustness. Experiments demonstrate that the agent fully reproduces published CFD results across multiple benchmark cases. Notably, it achieves significantly higher success rates than general-purpose LLMs on unseen, complex flow scenarios, substantially lowering the barrier to practical CFD adoption.

Technology Category

Application Category

📝 Abstract
Computational Fluid Dynamics (CFD) is essential for scientific and engineering advancements but is limited by operational complexity and the need for extensive expertise. This paper presents ChatCFD, a large language model-driven pipeline that automates CFD workflows within the OpenFOAM framework. It enables users to configure and execute complex simulations from natural language prompts or published literature with minimal expertise. The innovation is its structured approach to database construction, configuration validation, and error reflection, integrating CFD and OpenFOAM knowledge with general language models to improve accuracy and adaptability. Validation shows ChatCFD can autonomously reproduce published CFD results, handling complex, unseen configurations beyond basic examples, a task challenging for general language models.
Problem

Research questions and friction points this paper is trying to address.

Automates CFD workflows in OpenFOAM via natural language
Reduces expertise needed for complex CFD simulations
Validates configurations and reflects errors autonomously
Innovation

Methods, ideas, or system contributions that make the work stand out.

Automates CFD workflows using large language models
Integrates OpenFOAM knowledge for accurate simulations
Validates configurations and reflects errors autonomously
🔎 Similar Papers
No similar papers found.
E
E. Fan
Department of Mechanics and Aerospace Engineering, Southern University of Science and Technology
W
Weizong Wang
School of Astronautics, Beihang University; Key Laboratory of Spacecraft Design Optimization and Dynamic Simulation Technology, Ministry of Education
Tianhan Zhang
Tianhan Zhang
Beihang University
AI for ScienceCombustionChemical KineticsDetonationPropulsion