GenerateGlobalIds filter causes error in exporting/importing Exodus mesh
Exodus II mesh files expect global IDs to start at 1.
Here is my situation: I have a mesh representing a quarter of a torus-like structure. I copy and rotate the structure using 3 consecutive Transform filters. Then, I group the Transforms together using the GroupDatasets filter. I then use MergeBlocks and CleantoGrid to merge the duplicate points from the rotation. Finally, I apply GenerateGlobalIds to renumber the IDs because at this point each ID is repeated 3 times from rotating the initial structure.
However, GenerateGlobalIds renumbers the IDs from zero. When I export the data as Exodus, I can't read it back in in ParaView. I get an error that says:
( 4.735s) [paraview ] vtkIOSSReader.cxx:2544 ERR| Error reading entity block (or set) named 'block_12' from 'test.exo'; skipping. Details:
ERROR: element mapping routines detected non-positive global id 0 for local id 1 on processor 0, filename 'test.exo'.
I think Exodus expects IDs to start at 1, not zero.