Reproduce “Foam-Agent: A Large Language Model-Based Multi-Agent Framework for Automating Computational Fluid Dynamics Workflows” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ling Yue, Nithin Somasekharan, Tingwen Zhang, Yadi Cao, Zhangze Chen, Shimin Di, Shaowu Pan
Foam-Agent organizes OpenFOAM simulation setup, execution, debugging, and visualization as a coordinated six-agent workflow driven by retrieval and language models. On the FoamBench benchmark, it raises execution success to 88.2% for Basic cases and 62.5% for Advanced cases, while showing that successful execution does not necessarily imply accurate physical fields.
Key insights
- Modeling file dependencies explicitly improves consistency: multi-index retrieval raises no-reviewer execution success by 12.8 percentage points, while dependency-aware generation reduces the average number of repair iterations from 1.87 to 0.96 when review is enabled.
- Execution-grounded repair is more effective than retrieval alone, recovering about 80.9% of initial failures under multi-index retrieval, particularly for syntax, boundary-condition, and missing-file errors.
- Runnable simulations are not automatically scientifically reliable: on Basic cases, 46 of 110 met the strict execution-and-high-fidelity criterion, while additional cases ran with larger field errors.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.