CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > Tecplot

Read plt data and manipulate it in python

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2022, 16:52
Default Read plt data and manipulate it in python
  #1
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
Dear community,


I am trying to develope a code that needs to read and write .plt data due to storage reasons. Is there any way to import .plt data to python without the Tecplot license? I could use a macro to store all the data in ASCII format which is easily read by python but I would like to skip this step. Thank you in advance!
Captain Convergence is offline   Reply With Quote

Old   September 19, 2022, 12:02
Default
  #2
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 112
Rep Power: 16
wsfowler is on a distinguished road
We do not publish an API to read PLT files. That said, our TecIO library *can* read and write SZPLT files.

You can convert PLT files to SZPLT, license free, using Tecplot 360 using the '-convert' flag. The TecIO library is distributed with Tecplot 360 and also available as a separate download. It's a C-based library and can be utilized from Python using 'ctypes'.

There's some example Python code on our GitHub page that shows out the TecIO API can be used to write SZPLT files. You should be able to follow the same pattern to implement the read functions.
https://github.com/Tecplot/handyscri...n/tecio_szl.py

I hope this helps. If you need additional assistance, please contact support@tecplot.com

Scott Fowler
Tecplot 360 Product Manager
wsfowler is offline   Reply With Quote

Old   November 15, 2022, 03:29
Default
  #3
New Member
 
Julio Pack
Join Date: Nov 2022
Posts: 1
Rep Power: 0
JulioPack is on a distinguished road
You can check about it on google. On google search, you can easily find anything easily. I also use the google search engine when I want to find something. I tried the yahoo search engine or bing search engine but the algorithm of those search engines is not so good as compared to the google search engine. With the help of a google search, I easily found https://abrokenbackpack.com/best-pla...-for-students/ website where I found the best places to travel in Egypt for students. I am a college student and I am going on vacation with my friends to Egypt. It is my first time visiting over there and that is why I want to know the best places to travel in Egypt.

Last edited by JulioPack; November 18, 2022 at 05:55.
JulioPack is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
How to get cell indices and manipulate field data ch1 OpenFOAM Programming & Development 5 September 25, 2019 11:17


All times are GMT -4. The time now is 03:06.