I am trying to intersect two cylinders and I have found some issues with the result, as NetGen is not able to mesh it. Could you provide any help with this? I
I am attaching the simple .geo file to generate the geometry.
Here is a Python script that I think does what you want. I don’t know much about the .geo file format. Maybe someone else can help with that. I think it is not necessary to intersect the cylinders with planes first since the intersection of the two cylinders will be finite.
thank you for your answer. I have never used Python to generate Netgen geometries or meshes. Is there any documentation available that I can use as a reference for this?
Also, does someone else what is the problem with the .geo file?
There are also some very good interactive “iTutorials” in the Documentation menu. These used to be individually hosted, but now the link has changed to a direct download link. They require jupyter notebook, which can be installed via pip.
Hi, for the Usermeeting we changed the link of the i-tutorials to download the new updated version. I changed the link back to the old one, we will upload the new version in the coming days.
Have a look at section 4 there.
The problem with your .geo file is, that the cutting planes for ‘fincylz’ coincide with the radius of the second cylinder ‘fincylx’.
I think Netgen has a problem with two geometric objects having the identical normal vectors at a point.