Page 1 of 1

Meshing error for model generated from itk snap

Posted: Mon Jun 24, 2024 8:47 am
by eleven
Hi everyone,

I am trying to import the model generated from itk snap to simVascular by following this video:
https://www.youtube.com/watch?v=OHtAsqe ... imVascular

I did everything explained in the video: clip in paraview, smooth in open flipper, fill holes in the simVascular model. However, when I move on to generate mesh in simVascular, I encounter this error below:

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
MODULE MMGS: IMB-LJLL : 5.3.8 (Apr. 10, 2017)
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

-- PHASE 1 : ANALYSIS

-- MESH QUALITY 200754
BEST 1.000000 AVRG. 0.958875 WRST. 0.000000 (1359)

## Error: _MMG5_minQualCheck: too bad quality for the worst element: (elt 1359 -> 0.000000e+00)
NUMBER OF VERTICES 100379 CORNERS 340
NUMBER OF TRIANGLES 200754
NUMBER OF EDGES 942 RIDGES 942
Checking surface mesh
Regions: 1
Number of Free Edges on Surface: 0
Number of Non-Manifold Edges on Surface: 0
Array name ModelFaceID does not exist. Regions must be identified and named 'ModelFaceID' prior to this function call
Problem with name resetting on cap remeshing
OnSelectionChanged

I wonder how should I read this error and how can I fix it.

Thanks,
Shiyi

Re: Meshing error for model generated from itk snap

Posted: Mon Jun 24, 2024 12:56 pm
by davep
HI Shiyi,

The WRST. 0.000000 statement means that you have a triangle on your surface mesh that has zero area.

You will need to check your surface mesh to see which triangle is bad and then fix the mesh or process it differently (e.g. clip it at a different location).

Cheers,
Dave

Re: Meshing error for model generated from itk snap

Posted: Tue Jun 25, 2024 7:34 pm
by eleven
Hi Dave,

I tried to clip the model multiple times but I still get the same error. I wonder if it possible to mesh it outside like ansys fluent. Then import the mesh into simVascular. If this is possible, is there any tutorial on this?

Best,
Shiyi

Re: Meshing error for model generated from itk snap

Posted: Wed Jun 26, 2024 1:16 pm
by davep
Hi Shiyi,

Email me (davep@stanford.edu) the model and let me have a look.

SV does not have import mesh functionality. You would need to create a VTK file from the ANSYS mesh, could be a bit complicated to do that.

Cheers,
Dave