Reading Fluent mesh warnings and erros #3532
-
|
Hi, I am reading a mesh exported from ANSYS Fluent in .msh format with pyvista.read("mesh.msh"). I am getting a lot of warnings like these Although I can display the mesh, when I print the cell quality based on "skew", I got values of -1. According to documentation this means that "Cell types not supported by this filter or undefined quality of supported cell types will have an entry of -1." The elements are tetrahedrons. I attach the mesh file in .txt format because I am not able to upload a .msh file. How can I compute and display the cell quality based on skewness for this mesh? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
This is a mesh format that is not directly supported by PyVista. See https://docs.pyvista.org/api/readers/_autosummary/pyvista.get_reader.html#pyvista.get_reader. If the mesh format isn't directly supported, it is attempted to read in by meshio https://github.com/nschloe/meshio. So the warnings you see and the behavior is coming from meshio. However, Im not sure whether this is a bug/missing feature in meshio or in the translation to the pyvista representation. Maybe others would know. I don't immediately see a vtk reader for this format, so I don't think pyvista can directly support this format. Since you mention exporting from Fluent, you can also try to load in using a |
Beta Was this translation helpful? Give feedback.
This is a mesh format that is not directly supported by PyVista. See https://docs.pyvista.org/api/readers/_autosummary/pyvista.get_reader.html#pyvista.get_reader. If the mesh format isn't directly supported, it is attempted to read in by meshio https://github.com/nschloe/meshio. So the warnings you see and the behavior is coming from meshio. However, Im not sure whether this is a bug/missing feature in meshio or in the translation to the pyvista representation. Maybe others would know.
I don't immediately see a vtk reader for this format, so I don't think pyvista can directly support this format. Since you mention exporting from Fluent, you can also try to load in using a
.casfile, for w…