arXiv:2603.04756cs.AIcs.CE2026-03被引 2

让不懂代码的工程师也能用自然语言快速生成可运行的物理仿真输入文件。

MOOSEnger -- a Domain-Specific AI Agent for the MOOSE Ecosystem

  • 用对话方式将自然语言指令转为符合语法的MOOSE输入文件
  • 在125个测试案例中实现90%的成功率,远超纯大模型方案
  • 适合需要快速搭建多物理场仿真的科研与工程人员

MOOSEnger 是一个专为多物理场面向对象仿真环境(MOOSE)设计的工具增强型AI代理。MOOSE案例通过独特的HIT“.i”输入文件定义,其庞大的对象目录和严格语法导致初期设置与调试耗时。MOOSEnger 提供对话式工作流,结合经过筛选的文档/示例的检索增强生成(RAG)与确定性、懂MOOSE的解析、验证及执行工具,将自然语言意图转化为可运行输入。其核心加领域架构将通用代理基础设施(配置、注册表、工具调度、检索服务、持久化与评估)与专门的MOOSE插件分离,后者支持基于HIT的解析、保持语法的输入文件摄取,以及输入修复与检查等专用功能。输入预检流程可清除隐藏格式、通过有限文法约束循环修复结构错误,并利用应用语法注册表中的相似性搜索解决无效对象类型问题。随后通过基于MCP的执行后端(本地降级)在循环中进行验证与烟雾测试,将求解器诊断转化为迭代式验证与修正。内置评估报告包括RAG指标(忠实性、相关性、上下文精确率/召回率)及实际执行的成功率。在涵盖扩散、瞬态热传导、固体力学、多孔介质流动、不可压缩纳维-斯托克斯、相场与塑性共7类问题的125个提示基准上,MOOSEnger 实现0.90的执行通过率,相较纯大模型基线的0.06有显著提升。

原文摘要 · Abstract (English)

MOOSEnger is a tool-enabled AI agent tailored to the Multiphysics Object-Oriented Simulation Environment (MOOSE). MOOSE cases are specified in HIT ".i" input files; the large object catalog and strict syntax make initial setup and debugging slow. MOOSEnger offers a conversational workflow that turns natural-language intent into runnable inputs by combining retrieval-augmented generation over curated docs/examples with deterministic, MOOSE-aware parsing, validation, and execution tools. A core-plus-domain architecture separates reusable agent infrastructure (configuration, registries, tool dispatch, retrieval services, persistence, and evaluation) from a MOOSE plugin that adds HIT-based parsing, syntax-preserving ingestion of input files, and domain-specific utilities for input repair and checking. An input precheck pipeline removes hidden formatting artifacts, fixes malformed HIT structure with a bounded grammar-constrained loop, and resolves invalid object types via similarity search over an application syntax registry. Inputs are then validated and optionally smoke-tested with the MOOSE runtime in the loop via an MCP-backed execution backend (with local fallback), translating solver diagnostics into iterative verify-and-correct updates. Built-in evaluation reports RAG metrics (faithfulness, relevancy, context precision/recall) and end-to-end success by actual execution. On a 125-prompt benchmark spanning diffusion, transient heat conduction, solid mechanics, porous flow, incompressible Navier--Stokes, phase field and plasticity, MOOSEnger achieves a 0.90 execution pass rate versus 0.06 for an LLM-only baseline.

AI代理仿真自动化多物理场自然语言编程

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。