Page 1 of 1

meshing error

Posted: Fri Nov 25, 2022 12:30 am
by ryu99
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

Re: meshing error

Posted: Tue Nov 29, 2022 1:15 pm
by davep
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 235 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 235 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

Re: meshing error

Posted: Tue Nov 29, 2022 10:55 pm
by ryu99
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

Re: meshing error

Posted: Wed Nov 30, 2022 12:25 pm
by davep
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