View Issue Details

IDProjectCategoryView StatusLast Update
0003933FEM[FreeCAD] Featurepublic2019-04-18 21:19
Reporterjoha2 Assigned Toberndhahnebach  
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Product Version[FreeCAD] 0.19 
Target Version[FreeCAD] 0.19Fixed in Version 
Summary0003933: Meshing should be non blocking or at least has a progress bar/log output
DescriptionReferring to the forum thread https://forum.freecadweb.org/viewtopic.php?f=18&t=35480

joha2:

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?

bernd:

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.

joha2:

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.

bernd:

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 InformationNot applicable
TagsFEM
FreeCAD Information

Activities

joha2

2019-04-18 21:19

developer   ~0013030

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?

Issue History

Date Modified Username Field Change
2019-04-13 07:52 joha2 New Issue
2019-04-13 07:52 joha2 Status new => assigned
2019-04-13 07:52 joha2 Assigned To => berndhahnebach
2019-04-13 07:52 joha2 Tag Attached: FEM
2019-04-18 21:19 joha2 Note Added: 0013030