I am trying to run the navier-stokes demo but I face the following error:
I have put the “…/lshape.xml.gz” file and its extract inside a folder that contains the demo_navier-stokes.py .( beside the demo_navier-stokes.py )
I would be thankful if you could help me where should i put the mesh file so the fenics can read the mesh?
mhd@mhd-N552VW:~/Desktop/navier-stokesa$ python demo_navier-stokes.py
Traceback (most recent call last):
File “demo_navier-stokes.py”, line 36, in
mesh = Mesh("…/lshape.xml.gz")
Error: Unable to read data from XML file.
*** Reason: Unable to open file “…/lshape.xml.gz”.
*** Where: This error was encountered inside XMLFile.cpp.
*** Process: 0