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.
export to obj with groups and same mesh
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum