Hi all, I am new to use fenics. I have a mesh data file in ascii format:
Node x y z 1 0.0 0.0 0.0 2 0.0 1.0 0.0 3 1.5 0.1 0.0 ...
Ele nodes 1 1 3 6 7 2 3 4 5 9 3 6 7 2 10 ....
How can I import the file into fenics?
Thanks a lot in advance.
ouyang
I don't immediately recognize that particular kind of mesh format, but have a look at the command line tool dolfin-convert.
If it's not supported, it's quite simple to use the MeshEditor-class.