Agentic CFD with OpenFOAM (workshop servers)
MCP serverCommunity
Workshop kit with four MCP servers that set up, mesh, solve and validate OpenFOAM cases against published data. By Dilip Kalagotla.
1 starsUpdated 5 weeks agoGitHub data from 5 Nov 2026
At a glance
- Type
- MCP server
- Works with
- OpenFOAM
- How it connects
- Drives a running copy of the tool
- Access
- Can modify models
- Tool versions
- OpenFOAM v2412 (ESI apt package), installed by the setup script
- Operating systems
- Linux, Windows
- Needs a OpenFOAM licence
- No
- Transport
- Local (stdio)
- AI clients documented
- Claude Code, GitHub Copilot CLI, Codex, Kilo, Cursor, Claude Desktop
- Licence
- MIT
- Language
- Python
What it can do
- An openfoam server (17 tools) for meshing, solving, dictionary edits and a live REPORT.md that records each decision.
- A validation server that compares profiles with reference data such as Ghia 1982, Armaly 1983 and XFOIL polars, and classifies convergence.
- A consultant server for mesh-quality verdicts and annotated tutorial lookup, and a research assistant server for wmake builds of custom code.
- Ships scenarios from a lid-driven cavity to a 3D ONERA M6 wing, plus a Claude Code hook that pauses runs at each scenario's automation level.
Limitations
- Built as workshop material (AIAA Aviation 2026, FSU); setup targets Ubuntu 22.04/24.04 or WSL2 and uses sudo for system packages.
- The setup script also installs ParaView, several agent CLIs and an Ollama local model, which is more than a minimal server install.
Install
cd ~
git clone https://github.com/kalagotla/agentic-openfoam-fsu.git agentic-openfoam
cd agentic-openfoam
./setup.sh # ~10–20 min, mostly downloads; safe to re-run
source ~/.bashrc # load the new PATH (or open a new terminal)Source: github.com/kalagotla/agentic-openfoam-fsu#laptop-wsl2--ubuntu
MCP servers and skills run code on your computer. Review the source before installing.
AI-generated models, drawings and results must be checked by a qualified engineer before use.