TECPLOT - EXAMPLES

Download Report

Transcript TECPLOT - EXAMPLES

LunchVietnam seminar series
TECPLOT - EXAMPLES
Xuan Tran
Hai Dinh
Loc Khieu
July 17, 2008
TECPLOT – WHAT’S A BIG DEAL?
XY
2D
3D - Contaminants
ANIMATION – Car aerodynamics
http://www.tecplot.com/showcase/gallery/animation/50.asp
STREAMLINES – Vortex of a Delta Wing
ORGANIZATION OF TECPLOT
Plot
Frame 1
Data set 1
Data file 1
Data file 2.1
Frame 2
Data set 2
Data file 2.2
Data file 2.2
Frame 3
1. create a
new layout
5. save as
.lay files
2. create
frame(s)
3. Load .plt
or .dat files
4. Make
changes
EXAMPLE
CREATE A PLOT FROM A-
Y
DATA ORGANIZATION
Data set
Zone 1
Zone 2
Zone i
Zone n
- portions of a
physical object
- a time frame of a
physical process
- or both
DATA FORMAT FOR ZONES
Order
(Structured data)
Finite-element
(Unstructured data)
I-ordered
data
Type of plots
XY plots
IJ-ordered
data
FE-surface data
2D field plot
IJK-ordered
data
FE-volume data
3D field plot
XY plots – A, B, C
Few steps to go
1. Load data file
2. Edit axis
3. Change symbol and line patterns
4. Add legends
5. Edit frame
6. Export image file
1000
Temperature distribution
Temperature (K)
800
600
400
200
0
0
0.25
0.5
0.75
Distance (mm)
1
1.25
1.5
…to compare or not to compare
1000
Temperature distribution
Temperature (K)
Temperature (K)
800
600
400
200
900
800
700
600
500
400
300
Temperature
200
100
0
0
0.5
1
1.5
Dsitance (mm)
0
0
0.25
0.5
0.75
1
1.25
1.5
Distance (mm)
… plotted by Tecplot
… excelled by Excel
Finally
• Save Tecplot file for future
use/modifications
• Insert figures in your paper and
• PUBLISH
2D CONTOUR EXAMPLE
x
y
z
(cm)
(cm)
(Mpa)
1
2
5
-19.1785
2
4
7
26.27946
3
6
9
24.72711
4
8
11
-79.9992
5
10
13
42.0167
6
2
8
19.78717
7
4
10
-21.7608
8
6
12
-32.1944
9
8
14
79.24859
10
10
16
-28.7903
11
2
11
-19.9998
12
4
13
16.80668
13
6
15
39.01727
14
8
17
-76.9118
15
10
19
14.98772
16
2
14
19.81215
17
4
16
-11.5161
18
6
18
-45.0592
19
8
20
73.03562
20
10
22
-0.88513
Point
title = "sample mesh"
variables = "x", "y", "z"
zone i=5, j=4, F=POINT
2.000000 5.000000 -19.178485
4.000000 7.000000 26.279464
6.000000 9.000000 24.727109
8.000000 11.000000 -79.999217
10.000000 13.000000 42.016704
2.000000 8.000000 19.787165
4.000000 10.000000 -21.760844
6.000000 12.000000 -32.194375
8.000000 14.000000 79.248588
10.000000 16.000000 -28.790332
2.000000 11.000000 -19.999804
4.000000 13.000000 16.806681
6.000000 15.000000 39.017270
8.000000 17.000000 -76.911799
10.000000 19.000000 14.987721
2.000000 14.000000 19.812147
4.000000 16.000000 -11.516133
6.000000 18.000000 -45.059235
8.000000 20.000000 73.035620
10.000000 22.000000 -0.885131
DO IT IN TECPLOT!
title = "sample mesh"
variables = "x", "y", "z"
ZONE F=FEPOINT, N=20, E=12, ET=QUADRILATERAL
2.000000 5.000000 -19.178485
4.000000 7.000000 26.279464
6.000000 9.000000 24.727109
8.000000 11.000000 -79.999217
10.000000 13.000000 42.016704
2.000000 8.000000 19.787165
4.000000 10.000000 -21.760844
6.000000 12.000000 -32.194375
8.000000 14.000000 79.248588
10.000000 16.000000 -28.790332
2.000000 11.000000 -19.999804
4.000000 13.000000 16.806681
6.000000 15.000000 39.017270
8.000000 17.000000 -76.911799
10.000000 19.000000 14.987721
2.000000 14.000000 19.812147
4.000000 16.000000 -11.516133
6.000000 18.000000 -45.059235
8.000000 20.000000 73.035620
10.000000 22.000000 -0.885131
1
2
3
4
6
7
8
9
11
12
13
14
2
3
4
5
7
8
9
10
12
13
14
15
7
8
9
10
12
13
14
15
17
18
19
20
6
7
8
9
11
12
13
14
16
17
18
19
title = "sample mesh"
variables = "x", "y", "z"
ZONE F=FEPOINT, N=20, E=12, ET=QUADRILATERAL
2.000000 5.000000 -19.178485
4.000000 7.000000 26.279464
6.000000 9.000000 24.727109
8.000000 11.000000 -79.999217
10.000000 13.000000 42.016704
2.000000 8.000000 19.787165
4.000000 10.000000 -21.760844
6.000000 12.000000 -32.194375
8.000000 14.000000 79.248588
10.000000 16.000000 -28.790332
2.000000 11.000000 -19.999804
4.000000 13.000000 16.806681
6.000000 15.000000 39.017270
8.000000 17.000000 -76.911799
10.000000 19.000000 14.987721
2.000000 14.000000 19.812147
4.000000 16.000000 -11.516133
6.000000 18.000000 -45.059235
8.000000 20.000000 73.035620
10.000000 22.000000 -0.885131
1
2
3
4
6
7
8
9
11
12
13
14
2
3
4
5
7
8
9
10
12
13
14
15
7
8
9
10
12
13
14
15
17
18
19
20
6
7
8
9
11
12
13
14
16
17
18
19
title = "sample mesh"
variables = "x", "y", "z"
ZONE F=FEPOINT, N=20, E=24, ET=TRIANGLE
2.000000 5.000000 -19.178485
4.000000 7.000000 26.279464
6.000000 9.000000 24.727109
8.000000 11.000000 -79.999217
10.000000 13.000000 42.016704
2.000000 8.000000 19.787165
4.000000 10.000000 -21.760844
6.000000 12.000000 -32.194375
8.000000 14.000000 79.248588
10.000000 16.000000 -28.790332
2.000000 11.000000 -19.999804
4.000000 13.000000 16.806681
6.000000 15.000000 39.017270
8.000000 17.000000 -76.911799
10.000000 19.000000 14.987721
2.000000 14.000000 19.812147
4.000000 16.000000 -11.516133
6.000000 18.000000 -45.059235
8.000000 20.000000 73.035620
10.000000 22.000000 -0.885131
1
6
2
7
3
8
4
9
6
11
7
12
8
13
9
2
2
3
3
4
4
5
5
7
7
8
8
9
9
10
6
7
7
8
8
9
9
10
11
12
12
13
13
14
14