SwarmFoam: An OpenFOAM Multi-Agent System Based on Multiple Types of Large Language Models

πŸ“… 2026-01-12
πŸ“ˆ Citations: 1
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This work proposes SwarmFoam, the first large language model–based multi-agent framework that integrates multimodal perception, retrieval-augmented generation (RAG), and an intelligent error-correction mechanism to address the challenges of automating high-fidelity computational fluid dynamics (CFD) simulations in complex geometries. Traditional multi-agent systems struggle to effectively fuse multimodal inputs and achieve robust automation in such settings. SwarmFoam overcomes these limitations by jointly interpreting visual and natural language instructions to autonomously drive OpenFOAM simulations. Evaluated on 25 test cases, the system achieves an overall success rate of 84%, with 80% accuracy for natural language inputs and 86.7% for multimodal inputs, demonstrating significantly enhanced adaptability and automation capabilities for handling intricate geometries and diverse multimodal commands.

Technology Category

Application Category

πŸ“ Abstract
Numerical simulation is one of the mainstream methods in scientific research, typically performed by professional engineers. With the advancement of multi-agent technology, using collaborating agents to replicate human behavior shows immense potential for intelligent Computational Fluid Dynamics (CFD) simulations. Some muti-agent systems based on Large Language Models have been proposed. However, they exhibit significant limitations when dealing with complex geometries. This paper introduces a new multi-agent simulation framework, SwarmFoam. SwarmFoam integrates functionalities such as Multi-modal perception, Intelligent error correction, and Retrieval-Augmented Generation, aiming to achieve more complex simulations through dual parsing of images and high-level instructions. Experimental results demonstrate that SwarmFoam has good adaptability to simulation inputs from different modalities. The overall pass rate for 25 test cases was 84%, with natural language and multi-modal input cases achieving pass rates of 80% and 86.7%, respectively. The work presented by SwarmFoam will further promote the development of intelligent agent methods for CFD.
Problem

Research questions and friction points this paper is trying to address.

Computational Fluid Dynamics
multi-agent system
complex geometries
multimodal input
Large Language Models
Innovation

Methods, ideas, or system contributions that make the work stand out.

Multi-agent system
Large Language Models
Computational Fluid Dynamics
Multi-modal perception
Retrieval-Augmented Generation
πŸ”Ž Similar Papers
No similar papers found.
C
Chunwei Yang
Heilongjiang Provincial Key Laboratory of Nuclear Power System & Equipment, Harbin Engineering University, Harbin, 150001 China
Y
Yankai Wang
Heilongjiang Provincial Key Laboratory of Nuclear Power System & Equipment, Harbin Engineering University, Harbin, 150001 China
J
Jianxiang Tang
Heilongjiang Provincial Key Laboratory of Nuclear Power System & Equipment, Harbin Engineering University, Harbin, 150001 China
H
Haojie Qu
Heilongjiang Provincial Key Laboratory of Nuclear Power System & Equipment, Harbin Engineering University, Harbin, 150001 China
Z
Ziqiang Zou
State Key Laboratory of Advanced Nuclear Energy Technology, Nuclear Power Institute of China, Chengdu, 610041, China
Y
YuLiu
State Key Laboratory of Advanced Nuclear Energy Technology, Nuclear Power Institute of China, Chengdu, 610041, China
C
Chunrui Deng
State Key Laboratory of Advanced Nuclear Energy Technology, Nuclear Power Institute of China, Chengdu, 610041, China
Z
Zhifang Qiu
State Key Laboratory of Advanced Nuclear Energy Technology, Nuclear Power Institute of China, Chengdu, 610041, China
M
Ming Ding
Heilongjiang Provincial Key Laboratory of Nuclear Power System & Equipment, Harbin Engineering University, Harbin, 150001 China