Jump to content

Consulting for Houdini tet mesh export to gmsh format


davide445

Recommended Posts

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 by davide445
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...