Saved in:
Bibliographic Details
Main Authors: Dong, Zhehao, Du, Shanghai, Lu, Zhen, Yang, Yue
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.07917
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917133490847744
author Dong, Zhehao
Du, Shanghai
Lu, Zhen
Yang, Yue
author_facet Dong, Zhehao
Du, Shanghai
Lu, Zhen
Yang, Yue
contents Configuring computational fluid dynamics (CFD) simulations requires significant expertise in physics modeling and numerical methods, posing a barrier to non-specialists. Although automating scientific tasks with large language models (LLMs) has attracted attention, applying them to the complete, end-to-end CFD workflow remains a challenge due to its stringent domain-specific requirements. We introduce CFD-copilot, a domain-specialized LLM framework designed to facilitate natural language-driven CFD simulation from setup to post-processing. The framework employs a fine-tuned LLM to directly translate user descriptions into executable CFD setups. A multi-agent system integrates the LLM with simulation execution, automatic error correction, and result analysis. For post-processing, the framework utilizes the model context protocol (MCP), an open standard that decouples LLM reasoning from external tool execution. This modular design allows the LLM to interact with numerous specialized post-processing functions through a unified and scalable interface, improving the automation of data extraction and analysis. The framework was evaluated on benchmarks including the NACA~0012 airfoil and the three-element 30P-30N airfoil. The results indicate that domain-specific adaptation and the incorporation of the MCP jointly enhance the reliability and efficiency of LLM-driven engineering workflows.
format Preprint
id arxiv_https___arxiv_org_abs_2512_07917
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CFD-copilot: leveraging domain-adapted large language model and model context protocol to enhance simulation automation
Dong, Zhehao
Du, Shanghai
Lu, Zhen
Yang, Yue
Software Engineering
Artificial Intelligence
Fluid Dynamics
Configuring computational fluid dynamics (CFD) simulations requires significant expertise in physics modeling and numerical methods, posing a barrier to non-specialists. Although automating scientific tasks with large language models (LLMs) has attracted attention, applying them to the complete, end-to-end CFD workflow remains a challenge due to its stringent domain-specific requirements. We introduce CFD-copilot, a domain-specialized LLM framework designed to facilitate natural language-driven CFD simulation from setup to post-processing. The framework employs a fine-tuned LLM to directly translate user descriptions into executable CFD setups. A multi-agent system integrates the LLM with simulation execution, automatic error correction, and result analysis. For post-processing, the framework utilizes the model context protocol (MCP), an open standard that decouples LLM reasoning from external tool execution. This modular design allows the LLM to interact with numerous specialized post-processing functions through a unified and scalable interface, improving the automation of data extraction and analysis. The framework was evaluated on benchmarks including the NACA~0012 airfoil and the three-element 30P-30N airfoil. The results indicate that domain-specific adaptation and the incorporation of the MCP jointly enhance the reliability and efficiency of LLM-driven engineering workflows.
title CFD-copilot: leveraging domain-adapted large language model and model context protocol to enhance simulation automation
topic Software Engineering
Artificial Intelligence
Fluid Dynamics
url https://arxiv.org/abs/2512.07917