Data file format for 1D animation by TECPLOT variables = "x1","x2","x3",…… zone I = 201, J = 1, K = 1, F = POINT -1.000
0.1111
0.2222
0.3333
0.4444
…
-0.990
0.5555
0.6666
0.7777
0.8888
…
(total 201 sets of data for this zone) 0.990
0.5555
0.6666
0.7777
0.8888
…
1.000
0.1111
0.2222
0.3333
0.4444
…
zone I = 201, J = 1, K = 1, F = POINT (another zone of 201 sets of data)
1. variables = "x1","x2","x3",…… "x1","x2","x3",……
i.
The variable names x1, x2 etc, must be enclosed by " ".
ii.
These names will be used as the title of the t he axes of the graphs.
iii.
The number of the variables must be coincident with the number of the columns of the data. data.
2. zone I = 201, J = 1, K = 1, F = POINT
i.
zone: indicator instructing TECPLOT the following I sets of data will be used. Note that I will be specified by I = xxx (see ii as follows).
ii.
I = 201: indicating the following 201 sets (lines) of data will be used.
iii.
J = 1, K = 1, F = POINT: so far I am not so sure what the purposes of these three parameters parameters real real are!
They should should be relevant to multidimensional
graphs or data created by some other other softwares. softwares.
Read HELP or the
TECPLOT instruction for precise definitions. iv.
Since each zone is a graph for each time step, this means the number of zones must match the time steps for for animation (N zones zones for N time steps). steps).
Note
that the number of data sets specified by I = xxx can be different from zone to zone (e.g., I = 101 for one zone and I = 1001 for another zone). 3. Save the data as .dat file.
Creating 1-D animation by TECPLOT 1. File i.
→
Load Data files
→
select initial plot type
2. Check “Scatter”
load your data file
→
select 2D Cartesian for 1D animation
3. Plot
→
zone style
→
zone show
→
select all zones
appearance of your graph, e.g., Scatter
→
→
now you can specify the
Symbol Shape
→
select your favorite
shape for your data, etc. 4. Plot
→
Assign XY
→
assign your data combination for X and Y axes (here you
will see the variable names “x1”, “x2”, etc, we specified while preparing the data file.) 5. Plot i.
→
Axis
→
Specify the appearance of the axes of the graph .
Tip: check the option Independent in Dependency, by which the plot range of the axis will not be affected by the other.
ii.
Tip: before specifying the axis, you may go to Plot show
→
select all zones
→
→
zone style
→
zone
activate, by which will put all zones in one graph.
What comes out looks very messy, but just let it be now!
Since all zones are
put in one graph, it is the very good moment to specify the plot ranges for the axes.
After the axes ranges have been specified, deactivate all zones then
only the first zone will be left.
You may activate and deactivate the zone(s)
as you wish, of course. iii.
Tip: Line
→
check Show Grid Border, then the graph will be enclosed in a
rectangular box, as shown in the academic journals. 6. Tools
i.
→
animate
→
zones
→
animate
→
enjoy it !
Tip: the animation can be shown on screen or be created as an AVI or RM file. As an AVI file, you may specify the speed, which means how many frames (i.e., zones) will be shown per second.
Suppose you have 1000 zones and
you need a 20-second AVI file, you should specify the speed as 50 frames/sec, i.e., Number of zones = temporal length of AVI in seconds times speed (frames/sec)