export to obj with groups and same mesh

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

robros
Posts: 6
Joined: Sat Sep 09, 2017 3:14 pm

Re: export to obj with groups and same mesh

Post by robros »

I think the color segments approach is not very good, see here: https://www.cfd-online.com/Forums/openf ... post690681

I have a better approach (at least for openfoam):
Freecad -> export as step -> import into GMSH -> make physical groups -> mesh with gmsh -> export as default `.msh` file (or similar) -> use openfoams gmshToFoam script -> then use `surfaceMeshTriangulate` to get the stl/obj.
Post Reply