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

Chunwei Yang, Yankai Wang, Jianxiang Tang, Haojie Qu, Ziqiang Zou +4 more
1/12/2026
cs.MA

No confident code implementation found for this paper. 3 possible matches can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2026swarmfoam,
  title  = {SwarmFoam: An OpenFOAM Multi-Agent System Based on Multiple Types of Large Language Models},
  author = {Chunwei Yang and Yankai Wang and Jianxiang Tang and Haojie Qu and Ziqiang Zou and YuLiu and Chunrui Deng and Zhifang Qiu and Ming Ding},
  year   = {2026},
  eprint = {2601.07252},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.07252v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.07252.svg)](https://codeofpaper.com/paper/2601.07252)

Discussion