dolfin-convert take an error for converting the .msh file with hybrid mesh to .xml file
when I try to use the dolfin-convert for converting the .msh file obtained by 'gmsh -2 file_name.geo' to the .xml file , I encountered a question as follow:
```
Converting from Gmsh format (.msh, .gmsh) to DOLFIN XML format
Expecting 5459 vertices
Found all vertices
Expecting 10200 cells
Found all cells
Traceback (most recent call last):
File "/usr/local/
main(
File "/usr/local/
meshconvert
File "/usr/local/
convert(
File "/usr/local/
gmsh2xml(
File "/usr/local/
index = nodes_as_
KeyError: (0, 28)
```
where the .geo file takes the transfinite for part of mesh,i.e. generating the rectangle mesh, leading to the KeyError. If I use the .geo file without transfinite for part, or with transfinite for all mesh, to obtain the corresponding .msh file, the error will be gone. How to deal with this problem of generating hybrid mesh?
Thanks for your answer.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: