add dynamic text in *.plt file

Moderators: davetaflin, salter, steve, jprenaud, straton, Chris Idso

tuanmsu
Newbie
Posts: 7
Joined: Sun Mar 24, 2013 10:31 am
Location: United States

add dynamic text in *.plt file

Postby tuanmsu » Fri Mar 28, 2014 7:08 am

Hi Everyboydy!

I have a number of files with extension is *.plt and I'm trying to make a animation.

Is there any way to add a dynamic text showing a time?

I appreciate your helps in advanced.

straton
Jedi Master
Posts: 45
Joined: Tue Jul 26, 2011 7:38 am
Location: Bellevue, Washington
Contact:

Re: add dynamic text in *.plt file

Postby straton » Tue Apr 01, 2014 9:52 am

Hello tuanmsu, it's easy to do what you ask.

Use the Tecplot menu: File > Load Data File(s) > Tecplot Data Loader > Data Loader dialog box

At the bottom of the Data Loader dialog box > please click the Multiple Files button > you may now select all your PLT files

To animate, use the Tecplot menu: Data > Edit Time Strands

Here is a detailed tutorial on time animation:

https://www.youtube.com/watch?v=undkTY0UruI

To show the dynamic solution time, add a text box and use this string: &(SOLUTIONTIME)

tuanmsu
Newbie
Posts: 7
Joined: Sun Mar 24, 2013 10:31 am
Location: United States

Re: add dynamic text in *.plt file

Postby tuanmsu » Tue Apr 01, 2014 10:23 am

Hi Straton,

Thank you very much for your helps.

The issue I have been facing is *.plt files are not text file. These files were extracted from 3D tecplot file. I think it was saved as binary file. That's why I could not add text box as your hint.

Is there still any way to add solution time ?

Thanks

JerimiahLee
Tecplot Employee
Posts: 81
Joined: Mon Oct 08, 2012 11:20 am
Location: Bellevue, WA

Re: add dynamic text in *.plt file

Postby JerimiahLee » Thu Apr 03, 2014 7:28 am

Hello Tuanmsu,

The PLT files only contain the physical data, you will not be able to save the dynamic text inside the data file. If you need to have the dynamic text show up when you load the data file, I would recommend using a packaged layout file. File > Save Layout. Select Packaged Data from the drop down list. This will save the data and the frame information into a single binary file.
Technical Support Specialist
Email: support@tecplot.com

Tecplot, Inc. | Master the View
3535 Factoria Blvd. S.E., Ste. 550
Bellevue, Washington USA 98006
Main: 425.653.1200
Fax: 425.653.9200
Web: www.tecplot.com

User avatar
salter
Moderator
Posts: 188
Joined: Thu Dec 21, 2006 10:57 am
Location: NASA Langley Research Center
Contact:

Re: add dynamic text in *.plt file

Postby salter » Fri Apr 04, 2014 6:53 am

Actually, this is not entirely correct. As part of the *.plt binary format, a user can add auxiliary data records when the binary file is being constructed. If the data is 3D extracted data from Tecplot, a user could do the extractions to a zone, attach aux data to the zone, then output the entire data set to a binary file. The dynamic text is really stored in two segments; the metadata in text form is in the binary, while the function that generates the display is the &(auxzone[Q]:name) is in a layout or style sheet. Both are needed to generate the "dynamic text" as the binary has the text string and the &() construct places that text string.

Alternately, the layout can have commands that generate the aux data then plots it, but the data can be stored in a binary file.
Steve...

Aerospace Research Engineer
Aerothermodynamics Branch
NASA Langley Research Center


Return to “Animation”

Who is online

Users browsing this forum: No registered users and 1 guest