A Status Quo Investigation of Large Language Models towards Cost-Effective CFD Automation with OpenFOAMGPT: ChatGPT vs. Qwen vs. Deepseek

Wang, Wenkang, Xu, Ran, Feng, Jingsen, Zhang, Qingfu, Chu, Xu

–arXiv.org Artificial Intelligence 

Wenkang Wang (王文康) International Research Institute for Multidisciplinary Science, Beihang University, 100191 Beijing, China Ran Xu (徐冉) Cluster of Excellence SimTech, University of Stuttgart, Stuttgart, Germany Jingsen Feng (冯晶森) Faculty of Environment, Science and Economy, University of Exeter, Exeter EX4 4QF, United Kingdom Qingfu Zhang (张清福) Institute of Fluid Mechanics, Beihang University, 100191 Beijing, China Sandeep Pandey Institute of Thermodynamics and Fluid Mechanics, Technische Universit at Ilmenau, Ilmenau D-98684, Germany Xu Chu (初旭) Faculty of Environment, Science and Economy, University of Exeter, Exeter EX4 4QF, United Kingdom and Cluster of Excellence SimTech, University of Stuttgart, Stuttgart, Germany We evaluated the performance of OpenFOAMGPT incorporating multiple large-language models. Some of the present models efficiently manage different CFD tasks such as adjusting boundary conditions, turbulence models, and solver configurations, although their token cost and stability vary. Locally deployed smaller models like QwQ-32B struggled with generating valid solver files for complex processes. Zero-shot prompting commonly failed in simulations with intricate settings, even for large models. Challenges with boundary conditions and solver keywords stress the requirement for expert supervision, indicating that further development is needed to fully automate specialized CFD simulations.