View Issue Details

IDProjectCategoryView StatusLast Update
0003933FEMFeaturepublic2021-03-21 11:18
Reporterjoha2 Assigned Toberndhahnebach  
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Target Version0.20 
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?

Kunda1

2021-03-21 11:18

administrator   ~0015533

CC @berndhahnebach

yorik

2022-03-03 13:55

administrator   ~0016748

This ticket has been migrated to GitHub as issue 5914.

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
2021-02-06 06:23 abdullah Target Version => 0.20
2021-03-21 11:18 Kunda1 Note Added: 0015533