meshing error

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Ryu Sangwon
Posts: 6
Joined: Mon May 09, 2022 1:31 am

meshing error

Post by Ryu Sangwon » Fri Nov 25, 2022 12:30 am

Hi I'm SimVascular user, and I had a Problem about Meshing

With out Boundary Layer Meshing, mesh is complete no problem. But With Boundary Layer Meshing, program give error message 'failed in generating meshing' to me. I want to include Boundary Layer Meshing. How can I do?

I did several times of remesh and smoothing sharp point of model.

Here, this is my model.

https://drive.google.com/drive/folders/ ... sp=sharing

Thank you.

Sangwon

User avatar
David Parker
Posts: 1651
Joined: Tue Aug 23, 2005 2:43 pm

Re: meshing error

Post by David Parker » Tue Nov 29, 2022 1:15 pm

Hi Sangwon,

I had a look at your model.

I think the problem with boundary layer meshing failing may be caused by the irregular surface triangles of your model shown below
Screen Shot 2022-11-29 at 12.04.00 PM.png
Screen Shot 2022-11-29 at 12.04.00 PM.png (129.66 KiB) Viewed 234 times

The bend shown below may also be causing problems.
Screen Shot 2022-11-29 at 12.04.22 PM.png
Screen Shot 2022-11-29 at 12.04.22 PM.png (34.99 KiB) Viewed 234 times

This is a really large model so you will need to create a less complicated model to identify what geometry is causing the problem, e.g. create a model of just the bend region and see if that can be meshed. If that is causing the problem then you can modify the geometry by perhaps straightening out the bend a bit.

Cheers,
Dave

User avatar
Ryu Sangwon
Posts: 6
Joined: Mon May 09, 2022 1:31 am

Re: meshing error

Post by Ryu Sangwon » Tue Nov 29, 2022 10:55 pm

Hi Dave

Thank you for your reply and some of advice.

and I have a question that Does this SimVascular program have a function to merge models with models?
I try it, but I can't find any way to merge another models.

thank you for reading

Sangwon

User avatar
David Parker
Posts: 1651
Joined: Tue Aug 23, 2005 2:43 pm

Re: meshing error

Post by David Parker » Wed Nov 30, 2022 12:25 pm

Hi Sangwon,

The SV GUI does not have the capability to merge models. The SV Python API does have a Boolean Union operation that might be able to merge models (see https://github.com/SimVascular/SimVascu ... n-union.py) but this might not work, might be some problems unioning two models along a boundary.

It would probably be easier to use VTK in a Python script to merge the two models, can use the vtkAppendPolyData method to do that I think.

Cheers,
Dave

POST REPLY