-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check local numeration of quads and hexs #3
Comments
Here is a simple med file with 16 linear hexahedrons exported from Salome Platform. It seems to open fine in gmsh, but import fails
EDIT: Simpler .msh Mesh containing 2 Hexahedra: |
We have always used msh format instead of med. Are they equivalent? |
No, the med format is a HDF5 based format used by Salome Platform (for Code_Aster). Gmsh converts it to msh. Opening tetrahedra-based med files in GridapGmsh works just fine, so I assume the format is not the issue here. |
OK. Thanks for reporting! |
@jesusbonilla if your fork fixes this issue for general quad and hex meshes, we definitively want to merge it. Does it fix the MWE of @AndiMD ? |
Yes. I have just tried, and I am able to create the model using file |
@fverdugo @jesusbonilla
Here is an additional mesh that has 1d,2d,3d entities and could make a nice test: |
@AndiMD |
@AndiMD @jesusbonilla Do you think we want |
I would suggest so. |
It is the better default, but possibly breaks backwards compatibility in some corner cases. |
@jesusbonilla All other hex meshes open fine for me too, just this one does not (see below). My gmsh version is gmsh-4.6.0-Linux64-sdk from the website. I am willing to blame this on my setup, and merge your branch. The med variant:
The msh variant:
|
@AndiMD I use the same version of Gmsh that you have. Can you try if this (cube.zip) |
@jesusbonilla Your Here is a simpler mesh that reproduces the issue: This seems to be an issue with how gmsh deals with the .med format. gmsh seems to omit entities that are not found in a group when saving the .med file as .msh:
|
See issue for Gmsh: https://gitlab.onelab.info/gmsh/gmsh/-/issues/1004 |
Thanks to Max Orok's kind reference to the manual at onelab.info, this issue seems to be completely solved for me. @jesusbonilla Could you please confirm that the (non-default) option |
To be fixed if one wants to import meshes of quads / hexs
The text was updated successfully, but these errors were encountered: