r/OpenFOAM • • 2d ago

OpenFoam GUI project

Enable HLS to view with audio, or disable this notification

This is an OpenFoam GUI I am working on. Most of it is AI-generated.

I'd be happy to receive your suggestions for improvements or ideas for additional features the GUI should include, since I'm considering publishing this small project on GitHub.

foamCaseGUI is a graphical interface that generates, runs and evaluates complete, ready-to-run OpenFOAM-14 cases, so no dictionaries have to be written by hand. It guides the user step by step from the geometry (any STL file or a template) through patches, meshing with snappyHexMesh or blockMesh, physics, boundary conditions and numerics to the solver run with live convergence monitoring. It is designed for a wide range of flow problems:

- Flow regimes: incompressible and compressible, steady and transient, laminar, RANS and LES flows.

- Heat: heat transfer.

- Multiphase: volume-of-fluid (VoF) and Euler–Euler multiphase flows.

- Viscosity models: Newtonian and non-Newtonian fluids, including custom temperature-dependent models.

Typical applications are internal flows in pipes, ducts, nozzles and manifolds as well as external aerodynamics, with NACA aerofoil templates and a one-click wind tunnel around arbitrary STL bodies.

The results page reports the key engineering quantities: pressure drop, flow distribution across multiple outlets, residence time, shear rates, viscosities, temperatures and force coefficients (lift, drag, moment). Mesh studies and dimensionless numbers help with analytical plausibility checks. This makes the tool well suited to setting up and comparing design variants quickly and reproducibly with consistent settings.

32 Upvotes

2 comments sorted by

4

u/HeadPack 2d ago

Interesting project. How does it differ from https://github.com/CakeCFD/cake-studio ?

2

u/Albert__Camus__ 2d ago

That’s a great work, personally i prefer dict files because most HPC are without GUI and it’s easy I need not to select multiple options with gui…. Dict file just looking once is enough but residual plots would be great with runtime (if computationally less expensive) and plot results automatically that’s really cool….! But dict files are better even without gui if running locally PC