The automation of simulation setup—including geometry creation and input file generation—remains a complex and time-intensive task in engineering workflows. In this study, we investigate the potential of Large Language Models (LLMs) to automate this process by translating natural language descriptions into Gmsh-compatible geometry scripts and Elmer simulation input files. We compare the performance of a state-of-the-art off-the-shelf model (LLaMA 3-70B) with a small model (Phi-3 Mini) before and after fine-tuning using Low-Rank Adaptation (LoRA). Using a complex benchmark geometry (wheel-and-axle) and a curated dataset of shapes such as I-beam, we evaluate the models’ capabilities in generating syntactically correct and simulation-ready outputs. Our results show that while large models excel in zero-shot scenarios, fine-tuned small models can match or exceed their accuracy on domain-specific tasks. This approach lowers the barrier for non-expert users and demonstrates the value of lightweight, task-adapted AI in engineering simulation workflows.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Automating Engineering Simulation Setup with AI-Driven Generative Models

  • Ossama Shafiq,
  • Alessio Alexiadis,
  • Bahman Ghiassi

摘要

The automation of simulation setup—including geometry creation and input file generation—remains a complex and time-intensive task in engineering workflows. In this study, we investigate the potential of Large Language Models (LLMs) to automate this process by translating natural language descriptions into Gmsh-compatible geometry scripts and Elmer simulation input files. We compare the performance of a state-of-the-art off-the-shelf model (LLaMA 3-70B) with a small model (Phi-3 Mini) before and after fine-tuning using Low-Rank Adaptation (LoRA). Using a complex benchmark geometry (wheel-and-axle) and a curated dataset of shapes such as I-beam, we evaluate the models’ capabilities in generating syntactically correct and simulation-ready outputs. Our results show that while large models excel in zero-shot scenarios, fine-tuned small models can match or exceed their accuracy on domain-specific tasks. This approach lowers the barrier for non-expert users and demonstrates the value of lightweight, task-adapted AI in engineering simulation workflows.