distorted mesh view - paraview 5.10.0

Hello,
I’m visualizing a structured multi-block data set with paraview, but I have some problems in doing that.

The first image show the mesh associated with block number 1. The blocks are treated as time steps by paraview.
Then I add the mesh associated with the other block.

The third image shows the same mesh as the second but with surface with edges representation.

Everything works until I deselect the first block from the extract block filter in order to visualize only the last block.

The mesh is completely distorted. Is a paraview bug?
Thank you

Is you dataset really small or really big in the 3D space ?

It is medium sized.
This is the mesh block I can’t see properly.

It does not appear distorded here

You have to zoom a lot as displayed in the previous images I uploaded.
This is how I see the mesh near the trailing edge…


Also a state file…edit the path to the vtk file…
distorted5.py (3.8 KB)

This is only a visual artifact, I’m not sure why it appears though.

@martink @timothee.chabat

I tried to visualize different meshes, each with a different number of points…
It appears only for a number of radial points greater than…let say at least 160… this is not a big number

It seems there is indeed a bug with how the display is made. My wild guess is that there is some floating point error happening when too much points lives in a too small geometrical space.

The selection does appear correctly though

Sadly I don’t have any workaround in mind.

That is almost certainly a floating point issue. Tiny cells in a larger area. Try playing with the shiftscale setting in paraview for that representation.

Echo-ing Ken response, I just stumbled upon this in the release notes of ParaView (thanks Mathieu) :

“Focal Point Shift Scale” method (left) fixes rendering problems with floating-point precision compared to the “Auto Shift Scale” coordinate rescaling method (right).

Image : https://www.kitware.com/main/wp-content/uploads/2021/01/shift-scale-improvements.png

See section Faithful rendering of meshes with significantly different cell sizes of the ParaView 5.9 Release Notes.

1 Like