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

Convert a msh file into xml using dolfin from docker

+1 vote

Dear all, I am trying to convert a .msh file to .xml.
I know that there is a dolphin command for that, however, I have a docker installation. Thus how could I proceed?
Thank you very much for your help.

asked Jun 30, 2017 by MuriloMoreira FEniCS Novice (490 points)

1 Answer

0 votes
 
Best answer

Hello,

Here you find some examples and the explanation:
https://people.sc.fsu.edu/~jburkardt/py_src/dolfin-convert/dolfin-convert.html

Usage: dolfin-convert [OPTIONS] ... input.x output.y

I'm not sure if it is available inside docker, if it isn't you can simply download the dolfin-convert script (https://people.sc.fsu.edu/~jburkardt/py_src/dolfin-convert/dolfin-convert.py) and run the conversion outside the docker and just copy the files you need to your docker share folder.

Regards,
Leonardo

answered Jul 3, 2017 by lhdamiani FEniCS User (2,580 points)
selected Jul 12, 2017 by MuriloMoreira

Dear Leonardo,
Thank you very much for your help!
It worked properly!
All the best, Murilo.

...