davide445 Posted March 25, 2022 Share Posted March 25, 2022 (edited) Since Houdini tet embed mesher is very good and very fast I will use it for prototyping, but need next to export the tetrahedron volumetric mesh in a simulation ready format such as gmsh .msh format. https://gmsh.info/doc/texinfo/gmsh.html#MSH-file-format I suppose this can be done directly using Houdini API and gmsh API without going through a mesh file, writing a Python reader from Houdini, then import the data directly in Gmsh using gmsh.model.mesh.addNodes and gmsh.model.mesh.addElements Another option will be converting Houdini native .geo format in the .msh format. Attached an example of the .geo format containing a tet mesh created in Houdini. Another path will be using third party converters such as this one https://people.sc.fsu.edu/~jburkardt/m_src/fem_to_gmsh_test/fem_to_gmsh_test.html https://github.com/nschloe/meshio so first exporting Houdini mesh in an intermediate format and next using the converter to create the final .msh mesh Will leave to the specialist the definition of the best path. I need an estimate to understand how complex and portabe around Houdini releases the result can be. liver3hd60kv2.geo Edited March 25, 2022 by davide445 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.