Gmsh error: Unknown element type for UNV export (MSH type 15)
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
According this http://www.manpagez.com/info/gmsh/gmsh- ... msh_63.php the "MSH elm-type 15" is a 1-node point.
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
Hey guys,uwestoehr wrote: ↑Sun Feb 03, 2019 4:29 pm result: the mesh generation failes:Code: Select all
Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid Warning : Unknown element type for UNV export (MSH type 15) - output file might be invalid
I observed this behaviour, too. This occured when I used bleeding edge versions of gmsh, i.e., 4.x. But nevertheless in my case I never observed any problems with the mesh in FreeCAD itself. I thought, it is just an incompatibility in gmsh where single node elements are created and the UNV export - which is necessary for the communication with FreeCAD - cannot "write them out". At the end of the day the MSH type 15 elements are not exported, but the UNV file can be read into FreeCAD anyway.
Best wishes
Johannes
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
This leads to the question, "What is a single node element?" In my FEM understanding there are nodes and element made from nodes, but What is a node element and why do we have node elements in out meshes?joha2 wrote: ↑Fri Jul 26, 2019 6:35 am ... I thought, it is just an incompatibility in gmsh where single node elements are created and the UNV export - which is necessary for the communication with FreeCAD - cannot "write them out". At the end of the day the MSH type 15 elements are not exported ...
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
I can imagine that they are handy for springs masses etc
mass at some point from a object with spings tied to the object or so.
mass at some point from a object with spings tied to the object or so.
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
Maybe we should investigate some of the meshes which lead to this output and check from the BREP file which geometry could cause such a behaviour by exporting into another format instead of UNV. A good starting point would be to modify the shape2mesh.geo file and see whether the type 15 can be exported into another format instead of throwing an error.bernd wrote: ↑Fri Jul 26, 2019 8:35 amThis leads to the question, "What is a single node element?" In my FEM understanding there are nodes and element made from nodes, but What is a node element and why do we have node elements in out meshes?joha2 wrote: ↑Fri Jul 26, 2019 6:35 am ... I thought, it is just an incompatibility in gmsh where single node elements are created and the UNV export - which is necessary for the communication with FreeCAD - cannot "write them out". At the end of the day the MSH type 15 elements are not exported ...
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
good idea johannes, another possibility would be a post to gmsh mailing list.
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
I investigated what I wrote yesterday and it seems that the node 15 elements are just the vertices from the geometry. I generated a fusion object by fusing together sphere, cube, torus, cone and meshed it with gmsh 4.3.0. As expected the "Unknown element type for UNV export" error appeared again, but the mesh was generated. So I used the shape2geo file and changed Mesh.Format from 2 (UNV) to 1 (MSH).
From http://gmsh.info/doc/texinfo/gmsh.html#MSH-file-format it is easy to extract the type 15 elements, which are - as already pointed out - single nodes. These were first written into a text file and then imported back via the point clouds module into FreeCAD to be shown in the geometry.
So it seems first that these single nodes are just intersection points of the geometry and that the element type 15 is just not supported by UNV, as presumed.
Who defined the UNV format? And do we know whether it is properly implemented in gmsh?
Best wishes
Johannes
- Attachments
-
- mesh_type_15_unknown_element.png (48.97 KiB) Viewed 2100 times
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
might be because geo file includes Mesh.SaveAll option ... http://gmsh.info//doc/texinfo/gmsh.html ... cal-groups ?
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
Setting Mesh.SaveAll = 0; does not change anything. The error message remains.bernd wrote: ↑Sat Jul 27, 2019 7:32 pm might be because geo file includes Mesh.SaveAll option ... http://gmsh.info//doc/texinfo/gmsh.html ... cal-groups ?
Re: Gmsh error: Unknown element type for UNV export (MSH type 15)
we should find away to surpress this warning. We get dozens of posts in this regard ...