English

Research and Prototyping Study of an LLM-Based Chatbot for Electromagnetic Simulations

Computational Engineering, Finance, and Science 2026-03-11 v2 Artificial Intelligence

Abstract

This work addresses the question of how generative artificial intelligence can be used to reduce the time required to set up electromagnetic simulation models. A chatbot based on a large language model is presented, enabling the automated generation of simulation models with various functional enhancements. A chatbot-driven workflow based on the large language model Google Gemini 2.0 Flash automatically generates and solves two-dimensional finite element eddy current models using Gmsh and GetDP. Python is used to coordinate and automate interactions between the workflow components. The study considers conductor geometries with circular cross-sections of variable position and number. Additionally, users can define custom post-processing routines and receive a concise summary of model information and simulation results. Each functional enhancement includes the corresponding architectural modifications and illustrative case studies.

Keywords

Cite

@article{arxiv.2511.17680,
  title  = {Research and Prototyping Study of an LLM-Based Chatbot for Electromagnetic Simulations},
  author = {Albert Piwonski and Mirsad Hadžiefendić},
  journal= {arXiv preprint arXiv:2511.17680},
  year   = {2026}
}

Comments

This paper has been submitted to COMPEL for possible publication, published by Emerald Publishing Limited