dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02127
dolfin-convert gmsh in 3D
Hello everybody,
I tried to convert a gmsh mesh to the dolfin format with dolfin-convert
and in crashes with this error message:
Converting from gmsh ".gmsh" to DOLFIN XML format
Expecting 165 vertices
Found all vertices
Expecting 618 cells
Traceback (most recent call last):
File "/home/alex/dolfin/local/bin/dolfin-convert", line 362, in ?
main(sys.argv[1:])
File "/home/alex/dolfin/local/bin/dolfin-convert", line 52, in main
gmsh2xml(ifilename, ofilename)
File "/home/alex/dolfin/local/bin/dolfin-convert", line 278, in gmsh2xml
n1 = nodelist[int(element[6])]
IndexError: list index out of range
I did not look further into this problem, just wanted to let the
developers know.
If you would need the gmsh mesh file, no problem, let me know.
Yes and another question, does the mesh have to be sorted in some way
when it is importet into dolfin?
/Alex
--
Alexander H. Jarosch
Jarðvísindastofnun Háskólans
Institute of Earth Sciences, University of Iceland
Náttúrufræðahús, Askja
Building of Natural Sciences, Askja
Sturlugata 7
IS - 101 Reykjavík
Iceland
Tel.: +354 525 4906
http://raunvis.hi.is/~jarosch/
Follow ups