Skip to content

Need Help Creating an Elastic Stomach Model using BREP File and Gmsh in generating 3D mesh #4241

Discussion options

You must be logged in to vote

Hi !

I am sorry but we cannot offer you support on Gmsh, this may get more response on their forum.
But for you to know, you could already use your surface mesh in sofa. Using SparseGrid object, you can mesh automatically the volume represented by your obj into hexahedron. You could then transform it to tetrahedrons by using a Hexa2TetraTopologicalMapping. Here is a small example doing so. But at the end you'll have a plain organ, non hollow.

<Node name="RegularGrid">
	<SparseGrid name="HexaTop" cellWidth="20.0" fileTopology="yourSurfaceMesh.obj" />
	<TetrahedronSetTopologyContainer name="TetraContainer" />
	<TetrahedronSetTopologyModifier name="Modifier7" />
	<Hexa2TetraTopologicalMapping 

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@parabolang
Comment options

@bakpaul
Comment options

@parabolang
Comment options

Answer selected by parabolang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants