I would like to work on “real image” with FEniCS. So I try gmsh with simple geometry to understand the process.
If I understood correctly the other threads of the forum, there are three steps : convert the geo file into a msh file ; convert the msh into a xdmf file with meshio ; read on FEniCS.
For the first step, should I use the line * gmsh -2 mesh.geo* with pygmsh?
For the second step (meshio), I’m using a msh file find on the internet with the lines import meshio and msh = meshio.read(“circle_2d.msh”) but this give an assertion error.
If it is not too much asked, will it be possible to send me the complete code (python) to achieve these three steps?
Thank you in advance,