Hi All,
Since 0.19 on win10, I do encounter some challenges with Netgen mesher. It seems mesh triangle size ius drifting along meshing progress towards z (for instance). See below picture comparing both 0.18 and 0.19 with exactly same design and same mesh parameters.
0.18
0.19
To be noted that the computing time is significantly shorter for 0.19...but leading to terrible mesh. The number of vertex element is indeed like 1/10 th of what it is for 0.18.
A work around is to increase largely the resulting number of vertex elements by tuning parameters, but all-in-all default values for "ultra fine" do not lead to usable mesh for 3d printing.
Simple shape like dummy cylinder will show same results. Any idea what has changed between 0.18 and 0.19.2 and netgen version linked to them?
[BUG] Netgen mesh size drifting
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
[BUG] Netgen mesh size drifting
- Attachments
-
- cylindre 0.19.FCStd
- Cylinder FC 0.19
- (9.47 KiB) Downloaded 16 times
-
- cylindre 0.18.FCStd
- Cylinder FC 0.18
- (7.62 KiB) Downloaded 18 times
Last edited by kds on Sun Jul 25, 2021 3:31 pm, edited 2 times in total.
Re: Netgen mesh size drifting
Sorry for late reply. Here https://forum.freecadweb.org/viewtopic.php?&t=56401 you can read the answer. I also had issues with round objects.
Greetings
user1234
Greetings
user1234
Re: Netgen mesh size drifting
Hi,
Thanks for the tip.
Still this is a workaround.
But anyway I believe this is quite a different issue here: as you can see the shaft is not even reducing hen approaching the opposite edge.
and all this was working very well with 0.18. Something got broken with 0.20
Thanks for the tip.
Still this is a workaround.
But anyway I believe this is quite a different issue here: as you can see the shaft is not even reducing hen approaching the opposite edge.
and all this was working very well with 0.18. Something got broken with 0.20
Re: [BUG] Netgen mesh size drifting
Not sure what you mean, but yes, Netgen is a meshing tool, like others are.
Resulting mesh indeed can be used to solve various physical problems by FEM... or 3D printing.
None-the-less, NETGEN is not meshing properly anymore which is what it is meant for, isn't it?
Resulting mesh indeed can be used to solve various physical problems by FEM... or 3D printing.
None-the-less, NETGEN is not meshing properly anymore which is what it is meant for, isn't it?
Re: [BUG] Netgen mesh size drifting
True, just odd, i never saw anyone uses a FEM mesher for printing. But i am OK with that. I have not compiled FreeCAD with netgen. So i can not help. Also then it is mostly a netgen issue, not a FreeCAD. But to verify that you should post a file and the version (big red banner above) you using, else nobody is able help.
Greetings
user1234
Re: [BUG] Netgen mesh size drifting
If you'd post an.example, I'd be happy to verify the potential issue.
Regards / Viele Grüße
Max
Max
Re: [BUG] Netgen mesh size drifting
Thanks for the offer!
Actually, even with basic cylinder, one can experience the differnce.
I have attached 2 FCstd files for same basic cirucalar cylinder shape.
One was created under 0.18 and one under 0.19 so you can play with respectively under Freecad 0.18 and 0.19.
Then generate netgen mesh under 0.18 with any pre-settings, for instance "fine" , same under 0.19... and differences of mesh results will appear obvious.
Actually, even with basic cylinder, one can experience the differnce.
I have attached 2 FCstd files for same basic cirucalar cylinder shape.
One was created under 0.18 and one under 0.19 so you can play with respectively under Freecad 0.18 and 0.19.
Then generate netgen mesh under 0.18 with any pre-settings, for instance "fine" , same under 0.19... and differences of mesh results will appear obvious.
- Attachments
-
- cylindre 0.19.FCStd
- cylinder 0.18
- (9.47 KiB) Downloaded 18 times
-
- cylindre 0.18.FCStd
- cylinder 0.19
- (7.62 KiB) Downloaded 25 times