arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.17146cs.AIphysics.flu-dyn
收藏

用于火灾动力学模拟的LLM智能体

LLM Agent for Fire Dynamics Simulations

University of Connecticut(康涅狄格大学);FM, Research Division(FM研究部门)

Leidong Xu, Danyal Mohaddes, Yi Wang

AI总结:

本研究提出FoamPilot,一个基于LLM的智能体,通过代码洞察、案例配置和模拟评估三大功能,旨在提升FireFOAM火灾动力学模拟器的可用性并加速工程师的模拟工作流。

摘要:

在利用基础模型(如大型语言模型LLMs)加速复杂科学工作流方面已取得显著进展。在本研究中,我们引入了FoamPilot,这是一个概念验证LLM智能体,旨在增强FireFOAM的可用性。FireFOAM是使用OpenFOAM(一个流行的计算流体力学(CFD)开源工具箱)构建的专门用于火灾动力学和火灾抑制模拟的求解器。FoamPilot提供三项核心功能:代码洞察、案例配置和模拟评估。代码洞察利用检索增强生成(RAG)作为传统关键词搜索的替代方案,旨在为开发者和有经验的用户提供对FireFOAM源代码的高效导航和总结。对于案例配置,该智能体解释自然语言的用户请求,并旨在相应地修改现有模拟设置以支持中级用户。FoamPilot的作业执行功能寻求在高性能计算(HPC)环境中管理模拟的提交和执行,并提供模拟结果的初步分析以支持经验较少的用户。每项功能都取得了有希望的结果,特别是在简单任务上,并为更复杂任务的重大进一步改进确定了机会。将这些功能集成到单个LLM智能体中,旨在加速使用FireFOAM进行对提高消防安全至关重要的复杂模拟的工程师和科学家的模拟工作流。

英文摘要:

Significant advances have been achieved in leveraging foundation models, such as large language models (LLMs), to accelerate complex scientific workflows. In this work we introduce FoamPilot, a proof-of-concept LLM agent designed to enhance the usability of FireFOAM, a specialized solver for fire dynamics and fire suppression simulations built using OpenFOAM, a popular open-source toolbox for computational fluid dynamics (CFD). FoamPilot provides three core functionalities: code insight, case configuration and simulation evaluation. Code insight is an alternative to traditional keyword searching leveraging retrieval-augmented generation (RAG) and aims to enable efficient navigation and summarization of the FireFOAM source code for developers and experienced users. For case configuration, the agent interprets user requests in natural language and aims to modify existing simulation setups accordingly to support intermediate users. FoamPilot's job execution functionality seeks to manage the submission and execution of simulations in high-performance computing (HPC) environments and provide preliminary analysis of simulation results to support less experienced users. Promising results were achieved for each functionality, particularly for simple tasks, and opportunities were identified for significant further improvement for more complex tasks. The integration of these functionalities into a single LLM agent is a step aimed at accelerating the simulation workflow for engineers and scientists employing FireFOAM for complex simulations critical for improving fire safety.

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

↑