Hi everyone,
I tried to model a hallow cylinder with hexahedral Mesh. I generated it by Gmsh, and successfully converted .msh file to .h5 and .xdmf file. then I wanted to import it to FEniCS, I used this script:
“import fenics as fe
from dolfin import *
mesh =Mesh()
with XDMFFile(“cylinder.xdmf”) as infile:
infile.read(mesh)”
and I got this error:
"File "/home/… ", line 5, in
infile.read(mesh)
RuntimeError:
*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
*** https://fenicsproject.discourse.group/
*** Remember to include the error message listed below and, if possible,
*** include a minimal running example to reproduce the error.
*** -------------------------------------------------------------------------
*** Error: Unable to order hexahedron cell.
*** Reason: Cell is not orderable.
*** Where: This error was encountered inside HexahedronCell.cpp.
*** Process: 0
*** DOLFIN version: 2019.2.0.64.dev0
*** Git changeset: ubuntu
*** -------------------------------------------------------------------------"
my questions are , can I used hexahedron mesh or not? if yes, how can I fix this error?
Thank you