Development of an LLM-Driven Abaqus MCP-Integrated Finite Element Analysis Automation System with Hallucination Suppression and Performance Improvement
본 논문에서는 대규모 언어모델(LLM) 기반 에이전트를 활용하여 상용 유한요소해석(FEA) 소프트웨어인 Abaqus의 해석 절차를 자동화하는 에이전틱(Agentic) 시스템을 제안한다. 이를 위해 LLM 에이전트(Claude Code)와 Abaqus를 모델 컨텍스트 프로토콜 (MCP) 규격으로 연동하는 통합 파이프라인을 구축하였다. 기존의 LLM 기반 자동화는 단순한 코드 실행 수준에 머물러 사용자의 설 계 의도와 불일치하거나 모델이 임의로 파라미터를 설정하는 환각(Hallucination) 현상 등의 한계가 존재하였다. 이를 해결하기 위해 본 연구는 프롬프트 입력 단계에서 핵심 파라미터를 정형화하고 사용자 확인 절차를 포함하는 논리적 제약 메커니즘(Logical Constraint Mechanism)을 도입하여 환각을 효과적으로 억제하고 해석 결과의 의도 재현성을 향상시켰다. 또한 해석 과정에서 발생하 는 오류를 진단 문서 기반으로 식별하고 수정하는 자기 수정 루프(Self-correction loop)를 구현하였다. 대표적인 정적 및 모달 해석 사 례와 고난도 풍력 블레이드 사례를 통해 시스템을 검증한 결과, 경험적 지식 데이터가 축적됨에 따라 오류 복구 루프 횟수는 5회에서 0회로 감소하였고 전체 소요 시간은 90% 단축되었다. 이러한 결과는 제안한 프레임워크가 경험 기반의 수행 효율 향상에 효과적임을 보여준다. 본 연구는 LLM을 단순한 코드 생성 도구를 넘어 신뢰성 있는 공학 자동화 체계로 확장하기 위한 구체적인 기술적 프레임 워크를 제시한다.
This paper proposes an agentic automation system in which a large language model (LLM)-based agent supports an automated finite element analysis (FEA) workflow, spanning from problem definition to final result derivation, using the commercial software Abaqus. To implement this system, an integrated pipeline was established connecting an LLM agent (Claude Code) and Abaqus via the Model Context Protocol (MCP). Existing LLM-based automation has often been limited to mere code execution, leading to discrepancies with the user’s design intent or hallucination issues where parameters are arbitrarily assumed. To address these limitations, this study introduces a ‘Logical Constraint Mechanism’ that formalizes parameters and enforces user confirmation at the prompt input stage, thereby effectively mitigating hallucinations and improving the intent reproducibility of the analysis. Furthermore, a diagnostic document-based ‘Self-correction loop’ was implemented to enable the agent to identify and rectify errors occurring during the analysis process. Performance validation through representative static and modal analyses, as well as a highly complex wind turbine blade case, quantitatively demonstrated that as experiential data accumulated, the number of error recovery loops decreased from five to zero, and the total execution time was reduced by 90%. This confirms a significant optimization in execution performance based on empirical knowledge. Ultimately, this study presents a concrete technical framework for utilizing LLMs beyond simple code generation tools, toward reliable engineering automation.