see threads:
https://forum.freecad.org/viewtopic.php?t=28513
https://forum.freecad.org/viewtopic.php?t=62566
https://forum.freecad.org/viewtopic.php?t=63996
https://forum.freecad.org/viewtopic.php?t=65045
https://forum.freecad.org/viewtopic.php?t=66911
gmsh with VTK9.x does not work. Because there are many distributions, where only VTK9.x is available and also many, wher netgen does not work, i think this issue should be solved before the stable release of FreeCAD 0.20.
my fresh compiled version:
Code: Select all
OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.27972 (Git)
Build type: Release
Branch: master
Hash: 068f02c4b786bc425b44b7f8eec77ea6beab7f61
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
gmsh version:
Code: Select all
Version : 4.9.5
License : GNU General Public License
Build OS : Linux64
Build date : 20220221
Build host : gmsh.info
Build options : 64Bit ALGLIB[contrib] ANN[contrib] Bamg Blas[petsc] Blossom Cgns DIntegration Dlopen DomHex Eigen[contrib] Fltk Gmm[contrib] Hxt Jpeg Kbipack Lapack[petsc] LinuxJoystick MathEx[contrib] Med Mesh Metis[contrib] Mmg Mpeg Netgen ONELAB ONELABMetamodel OpenCASCADE OpenCASCADE-CAF OpenGL OpenMP OptHom PETSc Parser Plugins Png Post QuadMeshingTools QuadTri Solver TetGen/BR Voro++[contrib] WinslowUntangler Zlib
FLTK version : 1.4.0
PETSc version : 3.14.4 (real arithmtic)
OCC version : 7.6.1
MED version : 4.1.0
Packaged by : geuzaine
Web site : https://gmsh.info
Issue tracker : https://gitlab.onelab.info/gmsh/gmsh/issues
Here a minimum working example, just cllear the mesh and run again.
The console output while meshing.
Code: Select all
Active analysis found: Analysis
ElementDimension: 3
Group meshing for analysis is set to true in FEM General Preferences. Are you really sure about this? You could run into trouble!
/tmp/fcfem_v3eok3rf/Body_Geometry.brep
/tmp/fcfem_v3eok3rf/Body_Mesh.unv
/tmp/fcfem_v3eok3rf/shape2mesh.geo
/home/user/Programs/gmsh-4.9.0/bin/gmsh
2022-03-08 12:21:14.055 ( 32.600s) [ AC7C3640] vtkCellArray.cxx:551 ERR| vtkCellArray (0x562e9366ce10): Invalid location.
.....
many times, arround that often how many nodes are in the mesh
.....
2022-03-08 12:21:14.094 ( 32.638s) [ AC7C3640] vtkCellArray.cxx:551 ERR| vtkCellArray (0x562e9366ce10): Invalid location.
New mesh was added to the mesh object.
Clean run of Gmsh
Here i compiled FreeCAD with VTK7.1.1+dfsg2-8 and the same (overwritten) file and result:
I know, i should not bother other people with this, but i am not able to do it myself. Sadly i only can offer tests.
Ever help is welcome.
Greetings
user1234