Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mixing_elbow.vtk is an invalid VTK dataset #278

Open
2 tasks done
ahernsean opened this issue Jul 29, 2024 · 0 comments
Open
2 tasks done

mixing_elbow.vtk is an invalid VTK dataset #278

ahernsean opened this issue Jul 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ahernsean
Copy link

ahernsean commented Jul 29, 2024

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

The mixing_elbow.vtk dataset does render in most VTK pipelines. However, VTK's cell validator (vtkCellValidator) shows fundamental problems with the grid. Almost every cell has a validity value of 52 (110100 in binary), indicating that they are invalidate due to IntersectingEdges, NoncontiguousEdges, and Nonconvex.

📝 Steps to reproduce

Two ways to reproduce:

  1. Add a vtkCellValidator to a VTK pipeline. Look at the resulting values of the ValidityState scalar. They should be all zero. If they are not, look at the reference in vtkCellValidator.h.
  2. Load the dataset in ParaView. Add a ValidateCells filter. Change the coloring to the ValidityState scalar. The meaning is the same as in number 1 above.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

Doesn't matter

🐍 Which Python version are you using?

3.9

📦 Installed packages

I validated using ParaView
@ahernsean ahernsean added the bug Something isn't working label Jul 29, 2024
@ahernsean ahernsean changed the title Bug located in ... mixing_elbow.vtk mixing_elbow.vtk is an invalid VTK dataset Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant