mlsanityData to 14 Oct 2026

Fine-tuning a Large Language Model for Automating Computational Fluid Dynamics Simulations

arXiv 2504.09602 ↗First posted 13 Apr 2025physics.flu-dyn cs.AI cs.CLcited by 18

Not on the map. Why?

Abstract (arXiv)

Configuring computational fluid dynamics (CFD) simulations typically demands extensive domain expertise, limiting broader access. Although large language models (LLMs) have advanced scientific computing, their use in automating CFD workflows is underdeveloped. We introduce a novel approach centered on domain-specific LLM adaptation. By fine-tuning Qwen2.5-7B-Instruct on NL2FOAM, our custom dataset of 28716 natural language-to-OpenFOAM configuration pairs with chain-of-thought (CoT) annotations, we enable direct translation from natural language descriptions to executable CFD setups. A multi-agent framework orchestrates the process, autonomously verifying inputs, generating configurations, running simulations, and correcting errors. Evaluation on a benchmark of 21 diverse flow cases demonstrates state-of-the-art performance, achieving 88.7% solution accuracy and 82.6% first-attempt success rate. This significantly outperforms larger general-purpose models like Qwen2.5-72B-Instruct, DeepSeek-R1, and Llama3.3-70B-Instruct, while also requiring fewer correction iterations and maintaining high computational efficiency. The results highlight the critical role of domain-specific adaptation in deploying LLM assistants for complex engineering workflows. Our code and fine-tuned model have been deposited at https://github.com/YYgroup/AutoCFD.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 18 of its 31 references that are in the map. First posted on arXiv 13 Apr 2025.

Builds on

18 of 31 references.

References · 18

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  7. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  8. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  9. 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
  10. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  11. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 735
  12. 2023Llemma: An Open Language Model For Mathematicscited by 388
6 more
  1. 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 262
  2. 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 127
  3. 2024CRUD-RAG: A Comprehensive Chinese Benchmark for Retrieval-Augmented Generation of Large Language Modelscited by 50
  4. 2024MetaOpenFOAM: an LLM-based multi-agent framework for CFDcited by 39
  5. 2025MetaOpenFOAM 2.0: Large Language Model Driven Chain of Thought for Automating CFD Simulation and Post-Processingcited by 13
  6. 2025A Status Quo Investigation of Large Language Models towards Cost-Effective CFD Automation with OpenFOAMGPT: ChatGPT vs. Qwen vs. Deepseekcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 16.

18 papers.

Sort:

By area:

  1. 2026ALL-FEM: Agentic Large Language models Fine-tuned for Finite Element Methodscited by 12
  2. 2026MDAgent2: Large Language Model for Code Generation and Knowledge Q&A in Molecular Dynamicscited by 7
  3. 2026Agentic Scientific Simulation: Execution-Grounded Model Construction and Reconstructioncited by 4
  4. 2025Engineering.ai: A Platform for Teams of AI Engineers in Computational Designcited by 3
  5. 2026Towards LLM-enabled autonomous combustion research: A literature-aware agent for self-corrective modeling workflowscited by 3
  6. 2026COSMO-Agent: Tool-Augmented Agent for Closed-loop Optimization,Simulation,and Modeling Orchestrationcited by 3
  7. 2026AI CFD Scientist: Toward Open-Ended Computational Fluid Dynamics Discovery with Physics-Aware AI Agentscited by 3
  8. 2026SCICONVBENCH: Benchmarking LLMs on Multi-Turn Clarification for Task Formulation in Computational Sciencecited by 2
  9. 2025CFD-copilot: leveraging domain-adapted large language model and model context protocol to enhance simulation automationcited by 1
  10. 2026Perceptual Self-Reflection in Agentic Physics Simulation Code Generationcited by 1
  11. 2026Foundation-Model-Based Agents in Industrial Automation: Purposes, Capabilities, and Open Challengescited by 1
  12. 2026A Multi-AI-agent Framework Enabling End-to-end Finite Element Analysis for Solid Mechanics Problemscited by 1
6 more
  1. 2026Simulation Code Generation for Fluid Systems using Large Language Models: Benchmarking Models and Prompting Strategiescited by 1
  2. 2026A unified foundational framework for knowledge injection and evaluation of Large Language Models in Combustion Sciencecited by 0
  3. 2026Tool-Augmented Agent for Closed-loop Optimization,Simulation,and Modeling Orchestrationcited by 0
  4. 2026Automating structural reliability analysis with a multi-agent large language model frameworkcited by 0
  5. 2026Large language models for partial differential equation workflowscited by 0
  6. 2026LLM Agents Perform Controlled Experiments Using Simulation Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Foam-Agent: A Large Language Model-Based Multi-Agent Framework for Automating Computational Fluid Dynamics Workflows
  2. 2025ChatCFD: An LLM-Driven Agent for End-to-End CFD Automation with Structured Knowledge and Reasoning
  3. 2026AutoFOAM: The Self-Refining Autonomous OpenFOAM Agent
  4. 2025OptMetaOpenFOAM: Large Language Model Driven Chain of Thought for Sensitivity Analysis and Parameter Optimization based on CFD
  5. 2024FLUID-LLM: Learning Computational Fluid Dynamics with Spatiotemporal-aware Large Language Models
  6. 2025Foam-Agent 2.0: An End-to-End Composable Multi-Agent Framework for Automating CFD Simulation in OpenFOAM
  7. 2025Automating Data-Driven Modeling and Analysis for Engineering Applications using Large Language Model Agents
  8. 2026Full-Stack Domain Enhancement for Combustion LLMs: Construction and Optimization