mesh= Gmsh3D("Model3D.geo") can not get the mesh #964
-
Model3D.geo
In Gmsh, the above code can obtain the 3D mesh.
Besides, if I used the "Model3D.msh" always can not work. My version= fipy 3.4.4 + gmsh 4.11.1 +MacOS |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you compare the The Gmsh documentation isn't very clear about this, although it's sort of explained in FAQ C.5.3:
So, if you add, e.g.,
to your There is a discussion about this in the docstring for |
Beta Was this translation helpful? Give feedback.
If you compare the
.msh
file generated with and withoutPhysical Surface("TOP") = {6};
, you can see that when this line is present, the resulting MSH file consists only of type-2 elements, which are triangles. There are no 3D elements (tetrahedra) in the file and so FiPy is unable to create any cells. This isn't a FiPy issue; it's a Gmsh issue.The Gmsh documentation isn't very clear about this, although it's sort of explained in FAQ C.5.3: