Unfortunately, when I export the mesh in other formats that I need (.vtm, .vtk, .stl) from the pyvista library in Python, the mesh is ever represented like in Feature Edges, but I want it like the first figure, with hexaedrons.
I generated, at the beginning, this mesh in ansys. Unfortunately, I didn’t find a way to export it without this problem. If I export the mesh directly in stl from ansys, paraview show me the mesh in “Surface with Edges” incorrectly:
The “Feature Edges” representation is equivalent to doing the Extract Surface filter, then doing the Feature Edges filter, and then displaying it. However, the Extract Surface filter will, as a default operation, subdivide the surface shape of the quadratic element. As a result, the “Feature Edges” representation of a quadratic hexahedral element will be split into triangles and displayed.
Therefore, a simple solution to correctly display quadratic element features is to first apply the Extract Surface filter to the loaded CGNS with the option Nonlinear Subdivision Level set to 0, and then use " Feature Edges" representation.
Thank you very much! It works. I could export the geometry with this discretization, thanks for your suggestion. I have only another problem: the geometry is visualized and exported only with the edges, without the possibility to visualize the surfaces. Here below the plot:
I am sorry. I’m not really sure what you want to do.
If you want to output only the surface shape of quadratic hexahedral meshes in some format without subdividing them into triangles, you can output the result of the Extract Surface filter as *.obj or *.vtp from "File > Save Data".
Thank you very much, you’ve been very helpful!
I ever used Paraview 5.10.0 for Linux. I just did this procedure with MergeBlocks with Paraview for Linux and Windows. Once again, Paraview for Linux didn’t provide the expected result (at this point, it is a bug). Differently, Paraview for Windows worked correctly.