negative volume in all cell data

I was trying to post process my CFD result of a blood vessel using paraview, When I was trying to check the volume using integrate variables, it is showing me the negative value for volume. I could not figure out the issue, I checked the cell size filter and notice that all the cell has the negative volume. Could anyone help me in this problem?

You cells are problably inverted, with point order in the wrong order.

How can I solve this issue? Could you please provide some information on how to invert the cells in correct order.

Please share your data

You can access the data .vtk file using the link:
link
Thank you!

Im afraid such a filter does not exist, although it could be implemented.

You could just invert the sign of the result or fix your mesh during generation.

As Mathieu mentioned there is no filter to do this. You can try however to modify the way you write the mesh. In particular, you will need to change the order of the vertices for each cell to match the VTK format:


For example for tetrahedra in the image above the normal of the triangle (012) based on the right hand rule points to the same direction of that point 3 is.
On the other hand on this tetrahedron extracted form your data it is the opposite:

compare also the wedge with the reference one

1 Like

Thank you so much for the clarification.