arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.04997cs.AIcs.MA
收藏

Foam-Agent:迈向自动化智能CFD工作流程

Foam-Agent: A Large Language Model-Based Multi-Agent Framework for Automating Computational Fluid Dynamics Workflows

Department of Computer Science, Rensselaer Polytechnic Institute(里士满理工学院计算机科学系);Department of Mechanical, Aerospace, and Nuclear Engineering, Rensselaer Polytechnic Institute(里士满理工学院机械、航空航天与核工程系);Department of Computer Science and Engineering, University of California San Diego(加州大学圣地亚哥分校计算机科学与工程系);College of Education, Zhejiang Normal University(浙江师范大学教育学院);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院)

Ling Yue, Nithin Somasekharan, Tingwen Zhang, Yadi Cao, Zhangze Chen, Shimin Di, Shaowu Pan

AI总结:

Foam-Agent通过多智能体框架和大型语言模型,实现自动化CFD工作流程,显著提升模拟效率和成功率。

摘要:

计算流体动力学(CFD)一直是计算物理学的主要工具。然而,其陡峭的学习曲线和碎片化、多阶段的工作流程造成了显著障碍。为解决这些挑战,我们提出了Foam-Agent,一种利用大型语言模型(LLMs)的多智能体框架,旨在通过单个自然语言提示自动化整个CFD工作流程。Foam-Agent负责从网格生成和高性能计算作业脚本到后处理可视化在内的全面模拟工作流程。系统集成了检索增强生成与依赖意识调度,以合成高保真度的模拟配置。此外,Foam-Agent采用了模型上下文协议,将核心功能暴露为离散、可调用的工具。这允许任何其他智能体系统灵活集成和使用。在110个模拟任务上评估,Foam-Agent实现了88.2%的执行成功率,无需专家干预。这些结果展示了专用多智能体系统如何有效降低专业壁垒,简化复杂的流体模拟。

英文摘要:

Computational fluid dynamics (CFD) has been the main workhorse of computational physics, yet its steep learning curve and fragmented, multi-stage workflow create significant barriers to entry. We present Foam-Agent, a multi-agent framework that leverages large language models (LLMs) to automate the end-to-end CFD workflow in OpenFOAM from a single natural-language prompt. Foam-Agent rests on three methodological contributions. First, a multi-index retrieval scheme organizes domain knowledge along four complementary structural dimensions and selects indices by workflow stage, sharpening retrieval precision over conventional single-index retrieval-augmented generation. Second, dependency-aware file generation is formulated as a topological traversal of the OpenFOAM case dependency graph, so that each configuration file is synthesized in the context of its already-generated predecessors, enforcing cross-file consistency. Third, a trajectory-conditioned reviewer loop iteratively repairs failed runs by conditioning each correction on the accumulated error-and-diagnosis trajectory of its own previous attempts, applying a minimal configuration edit that targets a reduced solver-error set. Around these contributions, six specialist agents span planning, meshing, file writing, execution, review, and visualization; Foam-Agent additionally exposes its capabilities through the Model Context Protocol as a deployment surface for external orchestrators. On FoamBench, Foam-Agent achieves an 88.2% execution success rate on the 110 Basic-tier tasks and 62.5% on the out-of-distribution Advanced tier, all without expert intervention. These results show how strategic harnessing of specialized multi-agent systems can reduce expertise barriers while preserving the rigor of solver-based simulation workflows.

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

↑