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

Converting mesh generated by Triangles to .xml with Fenice-Convert

0 votes

I have been trying to convert my 2d mesh, generated with Triangles, to the .xml files fences requires for solving the stokes problem with Taylor-hood elements.

The 2 files fences needs are:
1] mesh.xml
2] mesh_subdomains.xml

However, after converting the triangle file to .xml using fenics convert with the following command:

dolfin-convert -i Triangle mesh mesh.xml

, only 1 file is generated, containing both domains and subdomains.

Any help/suggestion on a non-manual way to separate those 2 files would be welcome.

asked Apr 20, 2016 by Dms FEniCS Novice (120 points)
...