View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003933||FEM||[FreeCAD] Feature||public||2019-04-13 07:52||2019-04-18 21:19|
|Product Version||[FreeCAD] 0.19|
|Target Version||[FreeCAD] 0.19||Fixed in Version|
|Summary||0003933: Meshing should be non blocking or at least has a progress bar/log output|
|Description||Referring to the forum thread https://forum.freecadweb.org/viewtopic.php?f=18&t=35480|
The meshing with gmsh or netgen or other external meshers is blocking. Is it possible to perform these subprocesses in a non-blocking manner or at least - if this is not possible - with a process indicator and a cancel button?
very good point. Same on import of large ifc files. For ccx or gmsh it is simple. Since they are external programms, just kill them. This is not smart but works quite well. For netgen some break button would be cool.
Yes, killing gmsh would be possible. But when I perform the meshing of a complicated part, I never know what gmsh actually does (some logging would be nice) or whether it is frozen. Further meshing of a part is independent from other things you can do in FreeCAD. Therefore it would be nice to execute gmsh independently from the rest of FreeCAD. Some cancel button is possible, but some intermediate feedback is maybe not so trivial.
In the regard of gmsh you are totally right. I have had a look into this myself some time ago. Feel free to make a bug report and asign it to me. Something in the regard of process logging for gmsh.
|Steps To Reproduce||* Select Part workbench|
* Create part (e.g. Cube)
* Select FEM workbench
* Mesh part (GMSH) with MaximumLength 0.001
* Wait a looooong time
|Additional Information||Not applicable|
||I just compiled the gmsh binary with cmake -DENABLE_OPENMP=1 -DENABLE_MPI=1. This improves the speed of the process by using gmsh -nt $(nproc) [I don't know the windows equivalen]. For large meshes, it might be useful to save the mesh to a .med file instead of .unv. What do you think @bernd?|