Display artefact depending on fields in the file
Copied from this discourse post, as suggested.
I ran into a strange display artifact where some fields display incorrectly. I attach two files: bad.vtu
(partly broken) and good.vtu
which works as expected.
The difference between the files is that bad.vtu
has an additional field u
which is not in the good.vtu
file. The existence of this field breaks visualization of some but not all other fields in the file, see screenshots.
good.vtu, second field (Visco-plastic strain 11 mode: 2)
bad.vtu, second field (Visco-plastic strain 11 mode: 2)
Note in particular that the first field still displays correctly (not included as a screenshot).
bad.vtu, second field (Visco-plastic strain 11 mode: 2) with field u deactivated
Note that the u field is deactivated, which "fixes" the display.
What could be the problem here? Is the file misformed? I thought it might be some scaling issue or similar, but there is only a factor of 100 between the fields, and it is strange it only happens with some fields.
I discovered this first in ParaView 5.9.0, and just confirmed it still happens in ParaView 5.10.0. Have not tried earlier versions.