This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Cant read xml 3D in fenics from exemplo and from dolfin-convert

0 votes

Dears,

I am trying to use my own mesh from gmsh. I used dolfin-convert but when I try to see mesh and domins in fenics, it comes with one error.

I did it with one standard mesh in exemplo but it doesnt work too.

mesh = Mesh("step_3d.xml") from:

https://people.sc.fsu.edu/~jburkardt/py_src/dolfin-convert/dolfin-convert.html

I did it

*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at


*** fenics-support@googlegroups.com


*** Remember to include the error message listed below and, if possible,
*** include a minimal running example to reproduce the error.


*** Error: Unable to read data from XML file.
*** Reason: Error while parsing XML with status "Start-end tags mismatch".
*** Where: This error was encountered inside XMLFile.cpp.
*** Process: 0


*** DOLFIN version: 2016.1.0
*** Git changeset: unknown

the code is very simple:

from dolfin import*

Mesh and function space

mesh = Mesh("step_3d.xml")

plot(mesh)

interactive()


I am not sure if it is because update.

Could you help me. why is it happen?

Kind regards,

Leo Costa

closed with the note: Coordenares are uncreated
asked Jul 6, 2016 by LeoCosta FEniCS User (1,190 points)
closed Jul 10, 2016 by LeoCosta
...