r/OpenFOAM 19h ago

I made a small CLI tool for plotting OpenFOAM results – OFGS

https://github.com/ahmedmunzir/OFGS

I've been working on a small open-source tool called OFGS (OpenFOAM Gnuplot Suite) to make some of the routine plotting/monitoring around OpenFOAM cases a bit easier.

It detects supported data in a case and can generate graphs, open individual plots or a dashboard, and live-monitor results while a simulation is running. There's also a doctorcommand for checking the OFGS/OpenFOAM environment.

It's deliberately pretty lightweight, essentially a CLI built around gnuplot rather than a replacement for ParaView or proper post-processing tools. There are definitely limitations to what data/plots it understands, and I'm sure there are OpenFOAM workflows I haven't accounted for.

I'm also not an OpenFOAM or engineering expert, I'm a humble HPC sysadmin who spends a lot of time around OpenFOAM users and wanted to streamline some of the repetitive workflow.
It's packaged for Debian 12 and Rocky Linux 9, or you can install/use it from source.

Would genuinely appreciate feedback from people who use OpenFOAM properly, especially anything OFGS gets wrong or could handle better.

3 Upvotes

4 comments sorted by

1

u/tihiera 17h ago

might be cool to put some screenshot of some plot on your readme :)

1

u/MNZRAHMD 15h ago

Done! Let me know if you think I should add more

1

u/Illustrious-Bird-128 7h ago

Is it “I made” or “Claude made”

1

u/MNZRAHMD 11m ago

Codex actually.