CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Tecplot (https://www.cfd-online.com/Forums/tecplot/)
-   -   Need help loading transient data from a single Tecplot file (https://www.cfd-online.com/Forums/tecplot/246376-need-help-loading-transient-data-single-tecplot-file.html)

nikosb November 29, 2022 15:25

Need help loading transient data from a single Tecplot file
 
I want to read transient data from a single .plt file as shown below:

Code:

VARIABLES = "X", "Y", "Z", "U", "V", "W","FX", "FY", "FZ"
ZONE I=  11, T="0001", DATAPACKING = POINT, SOLUTIONTIME=    0.34874
    -0.0010000      0.0250000      0.0250000      0.0000000      0.0000000      0.0000000    -0.0000000      0.0000009      0.0000106
      0.0090000      0.0250000      0.0250001    -0.0000000      0.0000001      0.0000003    -0.0000000    -0.0000037      0.0000223
      0.0190000      0.0250000      0.0250004    -0.0000000      0.0000000      0.0000009    -0.0000000    -0.0000108      0.0000265
      0.0290000      0.0250000      0.0250007    -0.0000000      0.0000001      0.0000016    -0.0000000    -0.0000123      0.0000301
      0.0390000      0.0250000      0.0250011    -0.0000000      0.0000003      0.0000025    -0.0000000    -0.0000014      0.0000265
      0.0490000      0.0250000      0.0250014    -0.0000000      0.0000004      0.0000035    -0.0000000      0.0000091      0.0000287
      0.0590000      0.0250000      0.0250016    -0.0000000      0.0000003      0.0000047    -0.0000000      0.0000073      0.0000283
      0.0690000      0.0250000      0.0250018    -0.0000000      0.0000001      0.0000061    -0.0000000    -0.0000060      0.0000280
      0.0790000      0.0250000      0.0250018    -0.0000000      0.0000002      0.0000079    -0.0000000    -0.0000120      0.0000264
      0.0890000      0.0250000      0.0250018    -0.0000000      0.0000003      0.0000098    -0.0000000    -0.0000045      0.0000219
      0.0990000      0.0250000      0.0250018    -0.0000001      0.0000002      0.0000116      0.0000040      0.0000003      0.0000095
ZONE I=  11, T="0001", DATAPACKING = POINT, SOLUTIONTIME=    0.70678
    -0.0010000      0.0250000      0.0250000      0.0000000      0.0000000      0.0000000    -0.0000000    -0.0000010      0.0000046
      0.0090000      0.0250000      0.0250001    -0.0000000      0.0000000      0.0000003    -0.0000000    -0.0000039      0.0000111
      0.0190000      0.0250000      0.0250003    -0.0000000      0.0000000      0.0000010    -0.0000000    -0.0000053      0.0000141
      0.0290000      0.0250000      0.0250008    -0.0000000    -0.0000001      0.0000016    -0.0000000    -0.0000055      0.0000122
      0.0390000      0.0250000      0.0250014    -0.0000000    -0.0000002      0.0000021    -0.0000000    -0.0000051      0.0000133
      0.0490000      0.0250000      0.0250022    -0.0000000    -0.0000001      0.0000030    -0.0000000    -0.0000024      0.0000140
      0.0590000      0.0250001      0.0250031    -0.0000000      0.0000000      0.0000049    -0.0000000    -0.0000019      0.0000139
      0.0690000      0.0250001      0.0250041    -0.0000000      0.0000001      0.0000074    -0.0000000    -0.0000007      0.0000145
      0.0790000      0.0250001      0.0250052    -0.0000000      0.0000002      0.0000100    -0.0000000      0.0000025      0.0000157
      0.0890000      0.0250002      0.0250064    -0.0000000      0.0000003      0.0000129    -0.0000000      0.0000075      0.0000183
      0.0990000      0.0250002      0.0250076    -0.0000001      0.0000005      0.0000162      0.0000036      0.0000037      0.0000090

When I read this file Tecplot reads it as multiple zone. This is meant to be one zone containing data from multiple time instances. How can I do that in Tecplot with a single file?

Brandon_CFD November 29, 2022 19:19

Hello Nikolaos,
It looks like you have 3D data here--how are you wanting to view this data? Do you want to see all the points all at once or one time step at a time and move from one solution time to the next? If you want one time step at a time, then multiple zones is required (at least one zone per solution time). Also, just for clarity, the .plt is a binary file format--this looks like ascii format, so you can save the data file with a .dat extension.

nikosb November 29, 2022 22:04

I want to see the data one time step at a time. I think I was able to read them and view them in 2D mode, but in XY plot I can't animate in time. Yes, this is indeed an ASCII file and it can be .dat file extension.

Brandon_CFD November 30, 2022 16:02

The XY Line mode doesn't allow stepping through multiple time steps--that is only available via 2D or 3D Cartesian mode. You can plot a similar line in 2D mode by turning on the mesh layer if you want to visualize each plot per time step.
If you want some further insights and more specifics, email support@tecplot.com. Do you have any other questions?


All times are GMT -4. The time now is 12:21.