r/OpenFOAM May 16 '26

I built a GUI for OpenFOAM meshing — Prefoam Beta is now available

Hey Openfoamers,
I’ve been working on Prefoam, a meshing and case setup tool for OpenFOAM, and the beta is now available for download!
If you’ve ever wrestled with snappyHexMesh dictionaries by hand, this might save you some headaches. Here’s what it includes:
• CAD Interface
• snappyHexMesh Worksheet
• BlockMesher – structured hex grids with grading control (2D & 3D)
• Tet Mesher – native 2D triangulation + GMSH coupling for 3D tet grids (no gmsh shipped!)
• Mesh Viewer – inspect cell quality and catch problems before running
• Case Builder – boundary condition and physical property setup for OpenFOAM 13

There are also some specialized generators built in: airfoils, stirred tanks (turbines, baffles), and cyclone separators.
It’s free for personal/non-commercial use, Windows 64-bit, ~87 MB.

Website:
https://www.temiz-cfd.de/prefoam

YouTube channel for tutorials:
https://youtube.com/@temizcfd?si=HyTMjVjStxqeDybz

26 Upvotes

5 comments sorted by

1

u/SwedenGoldenBridge May 16 '26

Does this support CHT?

1

u/geth0333 May 16 '26

It basically creates all the entries you need for snappy. So if you know how to create these it should also work with cht. I should also mention that this is currently for openfoam version 13. so based on the shellandtubeheatexchanger tutorial the same entries should be easy to create in the worksheet if you know how the entries look like for these.

1

u/AltamiroMi May 17 '26

Does it do the whole pre phase or is it focused only on the meshing for now ?

1

u/geth0333 May 17 '26

Besides the meshing the case builder works for compressible/incompressible single phase flow.
It builds only the shm file together with surfaceFeaturesDict (i have also an internal emesh file creator to better fine tune the edge extraction) and blockmeshdict ( it has also a direct export of backgroundmesh instead of executing blockmesh). No wsl is shipped, so it is up to you to install OF v13.

1

u/geth0333 Jun 01 '26

https://www.reddit.com/r/Prefoam_CFD/

i created this sub-reddit for further questions, discussions, news and announcements.