arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.07917cs.SEcs.AIphysics.flu-dyn
收藏

CFD-copilot: 利用领域适应的大语言模型和模型上下文协议增强仿真自动化

CFD-copilot: leveraging domain-adapted large language model and model context protocol to enhance simulation automation

State Key Laboratory for Turbulence and Complex Systems(湍流与复杂系统国家重点实验室);School of Mechanics and Engineering Science(力学与工程科学学院);Peking University(北京大学);HEDPS-CAPT

Zhehao Dong, Shanghai Du, Zhen Lu, Yue Yang

AI总结:

CFD-copilot通过领域适应的大语言模型和模型上下文协议提升CFD仿真的自动化水平。

摘要:

配置计算流体动力学(CFD)仿真需要深厚的物理建模和数值方法专业知识,这对非专业人士构成障碍。尽管利用大语言模型(LLMs)自动化科学任务已引起关注,但将其应用于完整的端到端CFD工作流程仍面临挑战,因为其具有严格领域特定的要求。我们介绍了CFD-copilot,一种专门用于领域的LLM框架,旨在通过自然语言驱动CFD仿真从设置到后处理。该框架使用微调的LLM直接将用户描述转换为可执行的CFD设置。一个多智能体系统将LLM与仿真执行、自动错误修正和结果分析相结合。在后处理方面,该框架利用模型上下文协议(MCP),一种开放标准,将LLM推理与外部工具执行解耦。这种模块化设计使LLM能够通过统一且可扩展的接口与众多专用后处理功能交互,提高数据提取和分析的自动化程度。该框架在NACA~0012翼型和三元件30P-30N翼型等基准上进行了评估。结果表明,领域特定的适应和MCP的引入共同提高了LLM驱动的工程工作流程的可靠性和效率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑