How to show a transient variable in an animation

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

royyang
Newbie
Posts: 7
Joined: Sat Apr 04, 2009 5:25 pm
Location: Virginia
Contact:

How to show a transient variable in an animation

Postby royyang » Fri Feb 11, 2011 12:34 pm

I have a question about writing a changing variable in the animation. I have a data file now looks like below:

VARIABLES = X(m),Z(m),Index
Zone T="Air_Particles",DATAPACKING = POINT,SolutionTime = 0.25000000000000000 StrandID = 1
0.25000000D-01 0.00000000D+00 1
0.12500000D+00 0.00000000D+00 2
0.22500000D+00 0.00000000D+00 3
:
:
:
With data of different solution time, Tecplot is able to animate the motions of the air particles. And by inserting a text box with "Time at &(solutiontime)", the animation looks like:
Time at xxx
(Movement of air particles)

"xxx" stands for the time instant which is changing. Now I would like to see the value of a variable which is changing with different time instant, for example, the total number of air particle, N_Total. And the final effect looks like:
Time at xxx
Total number of particles is N_Total
(Movement of air particles)

Here N_Total is changing with time which I can write somewhere in the data file. Could someone help me how to write the date file or where to find in the Tecplot user guide?

Thank you very much in advance.

Roy Yang

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

Re: How to show a transient variable in an animation

Postby salter » Thu Feb 17, 2011 10:05 am

Roy,

You can attach this type of information to a particular file or even zone with the AuxData specifications. Look in the Data Format guide. There are ways to attach data to variables and datasets in a standalone format, while zone auxdata is simply written as part of the zone specification. From there, you can use dynamic text strings as you have indicated in the "xxx" of your example to extract the information and have it printed on the plot.
Steve...

Aerospace Research Engineer
Aerothermodynamics Branch
NASA Langley Research Center

royyang
Newbie
Posts: 7
Joined: Sat Apr 04, 2009 5:25 pm
Location: Virginia
Contact:

Re: How to show a transient variable in an animation

Postby royyang » Thu Feb 17, 2011 2:27 pm

It works perfect after I follow your direction to use AUXDATA and load them with dynamics text. Thank you very much for the help:)

Roy

mariclaydson
Newbie
Posts: 8
Joined: Sun Jul 30, 2017 6:03 am
Location: brazil

Re: How to show a transient variable in an animation

Postby mariclaydson » Wed Apr 18, 2018 7:29 am

HOW did you do it????????


Return to “Tecplot 360 and Focus”

Who is online

Users browsing this forum: No registered users and 1 guest