ModSolAgent: Automated Finite Element Code Generation for Abaqus via LLM-Based Agent
Zidi Li, Hongwei Ge, Guozhi Tang, Yuxuan Liu
Dalian University of Technology
阅读操作
确认中在文库中上传 PDF 后可生成中文音频讲解。
摘要与影响
Finite element simulation and solution process represents a critical component in engineering analysis. While large language models (LLMs) have demonstrated remarkable capabilities in general-purpose code generation from textual descriptions, their application to generating structured and specialized finite element simulation scripts presents unique challenges. A key challenge is AI-generated hallucination, as these tasks require precise intent analysis, complex planning and reasoning, and strict adherence to logical consistency during execution. This often results in outputs that seem convincing but are ultimately erroneous. To address this challenge, we propose ModSolAgent, an LLM-based agent that generates Python scripts for Abaqus software to perform finite element modeling and solving tasks. ModSolAgent ensures the accuracy and logical coherence of code generation by leveraging a structured reasoning instruction, dynamic retrieval guidance template, and iterative verification generation. Experimental results demonstrate that LLMs augmented by ModSolAgent achieve an 83.3% success rate on real-world finite element simulation tasks, effectively meeting most Abaqus scripting requirements while significantly outperforming baseline models. To further enhance accessibility, we construct the AbqInstruct dataset by distilling knowledge from ModSolAgent to fine-tune the lightweight open-source models. Experiments show that fine-tuning on AbqInstruct leads to substantial performance improvements, with the lightweight model achieving proficiency across most finite element modeling and solving tasks. This work establishes a paradigm for integrating LLMs with specialized engineering software and providing novel insights for other structured, domain-specific code generation scenarios in industrial applications.
逐年被引趋势
暂无年度引用数据
关键指标
同类平均 = 1
同领域 · 同年份 · 同类型
Google Scholar 与 OpenAlex 的被引统计范围不同,数值存在差异属正常。
AI 辅助阅读
依据:摘要
可就本文提问;依据不足时会说明。
学术脉络
学科主题
计算机 / AISoftware Engineering Research
Topic Modeling · Artificial Intelligence Applications
参考文献 14
此处列出前 3 条