I just downloaded the paraview 5.3 newest release for Mac OS, and it doesn't seem to want to open a Tecplot file. The program just hangs there without ever doing anything.
@utkarsh.ayachit I just tried to open it with 5.2 RC1 that I had, and I get the spinning beachball of death. I see the output messages window pop up, but that's all that ever happens. Just locks up.
There appears to be some issues with how the Tecplot reader is processing the tokens in the Tecplot file. When I run paraview from the console I see errors like this streaming by:
ERROR: In ../VTK/IO/Geometry/vtkTecplotReader.cxx, line 1898vtkTecplotReader (0x7fd686b15cb0): /Users/chet.nieter/projects/TecPlotBug/RP2_realfluid_20170313_TECPLOT.dat: The record type 174.098556367 found in the file is unknown.
It looks like the Tecplot reader is searching for a token in the data section of the Tecplot file.
In the header of the data file there is a line with c = black which is grouped in what I assume is the zone header. The Tecplot reader is unaware of this option so it assumes this is the end of the zone header when it actually isn't. This option does not appear to be listed in the chart of the zone header keywords in the documentation you linked to either. If I remove that line ParaView is able to read the data file.
You are right Chet. It looks like it is an issue of an older formatted file. From the newer documentation it looks like those keywords should be 'color' and 'datapacking' instead of 'c' and 'f'. Tecplot probably has a legacy set of readers that detected the format and read it in.
If anyone else has an issue with legacy tecplot files not loading into Paraview similar to this one, I just went above the 'zone' section in the file and did the following:
Before:
zone t="debugging"
f = point
c = black
After:
geometry
f = point
c = black
zone t="debugging"
@utkarsh.ayachit While debugging this I noticed that adding a return after the error message that was repeating prevented ParaView from freezing since it then bails on reading the file. Should we consider committing this change?