meshpro / dmsh

:spider_web: Simple mesh generator inspired by distmesh.
GNU General Public License v3.0
210 stars 25 forks source link

Mesh 2 surfaces in different planes #76

Closed senseiMasai closed 2 years ago

senseiMasai commented 3 years ago

I'm trying to mesh 2 surfaces in different planes. However, I need to have common nodes in the common vertex. To do that, I tried 2 thigs:

However, in both cases I'm able to have common nodes in both surfaces but new nodes appear in the middle suddenly. How can I avoid this?

image

Thank you in advance.

nschloe commented 3 years ago

I think you're simply using the wrong tool for the task. There's no explicitly mechanism in dmsh to prevent extra boundary nodes. You can try to reduce the number of nodes on that face, but like I said, there are no guarantees.