Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by bernd »

ahh there was something with occt ...

Did you install the distribution version, or did you compile gmsh yourself?
rpardeza
Posts: 11
Joined: Wed Apr 08, 2020 11:20 am

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by rpardeza »

I've done what you said in two ways:

1) Starting gmsh thu linux menu and openning the brep file: trying a '3D' mesh, gsmh stalls.
2) Starting gmsh thu command line: gmsh crashes with the following error:

Code: Select all

~$ /usr/bin/gmsh /tmp/Box_Geometry.brep 
Delaunizing vertices...
Delaunay seconds:  0.002583
Creating surface mesh ...
Surface mesh seconds:  0.000773
Recovering boundaries...
Boundary recovery seconds:  0.000885
Removing exterior tetrahedra ...
Exterior tets removal seconds:  0.000102
Recovering Delaunayness...
gmsh: /build/tetgen-OYksSp/tetgen-1.5.0/tetgen.cxx:4879: double tetgenmesh::insphere_s(double*, double*, double*, double*, double*): Assertion `oriB != 0.0' failed.
[Gerion:27641] *** Process received signal ***
[Gerion:27641] Signal: Aborted (6)
[Gerion:27641] Signal code:  (-6)
[Gerion:27641] [ 0] linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0xb7fcbd20]
[Gerion:27641] [ 1] linux-gate.so.1(__kernel_vsyscall+0x9)[0xb7fcbd09]
[Gerion:27641] [ 2] /lib/i386-linux-gnu/libc.so.6(gsignal+0xc2)[0xb696c832]
[Gerion:27641] [ 3] /lib/i386-linux-gnu/libc.so.6(abort+0x121)[0xb696dcc1]
[Gerion:27641] [ 4] /lib/i386-linux-gnu/libc.so.6(+0x257bb)[0xb69647bb]
[Gerion:27641] [ 5] /lib/i386-linux-gnu/libc.so.6(+0x25819)[0xb6964819]
[Gerion:27641] [ 6] /usr/lib/i386-linux-gnu/libtet.so.1.5(_ZN10tetgenmesh10insphere_sEPdS0_S0_S0_S0_+0x1b1)[0xb644d6d1]
[Gerion:27641] [ 7] /usr/lib/i386-linux-gnu/libtet.so.1.5(_ZN10tetgenmesh12lawsonflip3dEPNS_15flipconstraintsE+0x1cd)[0xb64818ad]
[Gerion:27641] [ 8] /usr/lib/i386-linux-gnu/libtet.so.1.5(_ZN10tetgenmesh15recoverdelaunayEv+0x1de)[0xb64875ee]
[Gerion:27641] [ 9] /usr/lib/i386-linux-gnu/libtet.so.1.5(_Z14tetrahedralizeP14tetgenbehaviorP8tetgenioS2_S2_S2_+0xb04)[0xb64988b4]
[Gerion:27641] [10] /usr/lib/i386-linux-gnu/libtet.so.1.5(_Z14tetrahedralizePcP8tetgenioS1_S1_S1_+0x365)[0xb649c525]
[Gerion:27641] [11] /usr/lib/i386-linux-gnu/libgmsh.so.3(_Z24MeshDelaunayVolumeTetgenRSt6vectorIP7GRegionSaIS1_EE+0x1018)[0xb72f18d8]
[Gerion:27641] [12] /usr/lib/i386-linux-gnu/libgmsh.so.3(_Z18MeshDelaunayVolumeRSt6vectorIP7GRegionSaIS1_EE+0x5b)[0xb72f27cb]
[Gerion:27641] [13] /usr/lib/i386-linux-gnu/libgmsh.so.3(_Z12GenerateMeshP6GModeli+0x2677)[0xb72880a7]
[Gerion:27641] [14] /usr/lib/i386-linux-gnu/libgmsh.so.3(_ZN6GModel4meshEi+0x1c)[0xb708e1cc]
[Gerion:27641] [15] /usr/lib/i386-linux-gnu/libgmsh.so.3(_Z10mesh_3d_cbP9Fl_WidgetPv+0x20)[0xb762b230]
[Gerion:27641] [16] /usr/lib/i386-linux-gnu/libfltk.so.1.3(_ZN9Fl_Widget11do_callbackEPS_Pv+0x54)[0xb6869d64]
[Gerion:27641] [17] /usr/lib/i386-linux-gnu/libfltk.so.1.3(_ZN9Fl_Button6handleEi+0x2a7)[0xb6811d67]
[Gerion:27641] [18] /usr/lib/i386-linux-gnu/libfltk.so.1.3(+0x3008b)[0xb680908b]
[Gerion:27641] [19] /usr/lib/i386-linux-gnu/libfltk.so.1.3(_ZN2Fl7handle_EiP9Fl_Window+0x2c9)[0xb680b1e9]
[Gerion:27641] [20] /usr/lib/i386-linux-gnu/libfltk.so.1.3(_ZN2Fl6handleEiP9Fl_Window+0x3a)[0xb680b5aa]
[Gerion:27641] [21] /usr/lib/i386-linux-gnu/libfltk.so.1.3(_Z9fl_handleRK7_XEvent+0x8c5)[0xb6871465]
[Gerion:27641] [22] /usr/lib/i386-linux-gnu/libfltk.so.1.3(+0x9a146)[0xb6873146]
[Gerion:27641] [23] /usr/lib/i386-linux-gnu/libfltk.so.1.3(_Z7fl_waitd+0x18a)[0xb687334a]
[Gerion:27641] [24] /usr/lib/i386-linux-gnu/libfltk.so.1.3(_ZN2Fl4waitEd+0x1ab)[0xb680abeb]
[Gerion:27641] [25] /usr/lib/i386-linux-gnu/libfltk.so.1.3(_ZN2Fl4waitEv+0x30)[0xb680ac90]
[Gerion:27641] [26] /usr/lib/i386-linux-gnu/libgmsh.so.3(_ZN5FlGui4waitEv+0x1d)[0xb762256d]
[Gerion:27641] [27] /usr/lib/i386-linux-gnu/libgmsh.so.3(_ZN12openglWindow12selectEntityEiRSt6vectorIP7GVertexSaIS2_EERS0_IP5GEdgeSaIS7_EERS0_IP5GFaceSaISC_EERS0_IP7GRegionSaISH_EERS0_IP8MElementSaISM_EERS0_I7SPoint2SaISQ_EERS0_IP5PViewSaISV_EE+0x10c)[0xb76420dc]
[Gerion:27641] [28] /usr/lib/i386-linux-gnu/libgmsh.so.3(_ZN5FlGui12selectEntityEi+0x42)[0xb7623702]
[Gerion:27641] [29] /usr/lib/i386-linux-gnu/libgmsh.so.3(+0x97b939)[0xb763a939]
[Gerion:27641] *** End of error message ***
Abortado (`core' generado)
rpardeza
Posts: 11
Joined: Wed Apr 08, 2020 11:20 am

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by rpardeza »

bernd wrote: Thu Apr 09, 2020 12:01 pm ahh there was something with occt ...

Did you install the distribution version, or did you compile gmsh yourself?
I installed the distribution version
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by bernd »

I have no idea ... Linux Mint Forum or gmsh mailing list? Or compile yourself.

Ahh there is another one you could try.

- create a simple box in FreeCAD
- export to stl
- try to open gmsh with this
- try to mesh
- it it works your gmsh misses OpenCascade I would assume.
rpardeza
Posts: 11
Joined: Wed Apr 08, 2020 11:20 am

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by rpardeza »

Done. I can make a mesh from stl file. No problem.
Attachments
cubo.msh.txt
(2.18 KiB) Downloaded 16 times
rpardeza
Posts: 11
Joined: Wed Apr 08, 2020 11:20 am

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by rpardeza »

I can make a 2D mesh with FreeCAD but no a 3D one or a "From Shape".
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by bernd »

From my point of view there is an issue with gmsh binary and opencascad library. It seams any operation which includes opencascade make gmsh to fail.

We had similar, but different problem. https://forum.freecadweb.org/viewtopic.php?t=32176 The user solved it by download of a binary from gmsh homepage. I remember some years ago I had problems too. I did compile it myself.

Bernd
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by bernd »

The strange thing is mint is based on ubunutu. On ubuntu and debian gmsh from repo works.
rpardeza
Posts: 11
Joined: Wed Apr 08, 2020 11:20 am

Re: Gmsh generates a mesh with 0 nodes 0 edges 0 faces...

Post by rpardeza »

Ok, thank you very much for your help.
Post Reply