tecplot的常见的几种数据格式,内容详细全面。
下面是常用的格式,备份用
数据点
VARIABLES = "X","Y"
ZONE I=5, F=POINT
2 4
3 9
5 25
6 36
7 49
四边形网格
VARIABLES = "X", "Y", "Intensity", "Pressure"
ZONE I=2, J=3, F=POINT
3 0 0 50
7 2 0 43
2 4 1 42
6 6 0 37
1 8 1 30
5 9 1 21
四边形单元
TITLE = "Example: 2D Finite-Element Data"
VARIABLES = "X", "Y", "P", "T"
ZONE N=8, E=4, F=FEPOINT, ET=QUADRILATERAL
0.0 1.0 100.0 1.6
1.0 1.0 150.0 1.5
3.0 1.0 300.0 2.0
0.0 0.0 50.0 1.0
1.0 0.0 100.0 1.4
3.0 0.0 200.0 2.2
4.0 0.0 400.0 3.0
2.0 2.0 280.0 1.9
1 2 5 4
2 3 6 5
6 7 3 3
3 2 8 8
三角形单元
VARIABLES = "X", "Y"
ZONE N=5, E=3, F=FEPOINT, ET=TRIANGLE
1.0 1.0
2.0 3.0
2.5 1.0
3.5 5.0
4.0 1.0
1 2 3
3 2 4
3 5 4
ZONE N=5, E=3, F=FEPOINT, ET=TRIANGLE,D=(1,2,FECONNECT)
...
FORTRAN代码:
WRITE(*,*)'ZONE DATAPACKING=POINT,ZONETYPE=FETRIANGLE,N=',NNODES,',E=',NELEM;
DO N=1,NNODES
DO VAR=1,NUMVAR
WRITE(*,*) VARRAY(VAR,N)
ENDDO
ENDDO
DO M=1,NELEM
DO L=1,3
WRITE (*,*) NDCNCT(M,L)
ENDDO
ENDDO
有限元网格类型:
FELINESEG, FETRIANGLE(3节点三角形), FEQUADRILATERAL(4节点四边形), FETETRAHEDRON(4节点四面体), FEBRICK(8节点六面体)
IJ类型的重复
TITLE="DUPLICATE IJ"
VARIABLES=X,Y,Z
ZONE I=2, J=2, F=POINT
0,0,0
1,0,0
0,1,0
1,1,0
ZONE I=2, J=2, F=POINT, D=(1,2)
1
1
1
1
下面是9.0以后新的格式
TITLE = "Example: Variable and Connectivity List Sharing"
VARIABLES = "X", "Y", "P"
ZONE T="P_1", N=6, E=4, DATAPACKING=POINT, ZONETYPE=FETRIANGLE
-1.0 0.0 100
0.0 0.0 125
1.0 0.0 150
-0.5 0.8 150
0.5 0.8 175
0.0 1.6 200
1 2 4
2 5 4
3 5 2
5 6 4
ZONE T="P_2", N=6, E=4, DATAPACKING=POINT, ZONETYPE=FETRIANGLE, VARSHARELIST= ([1, 2]=1), CONNECTIVITYSHAREZONE = 1
110
135
160
165
185
200
ZONE T
="P_3", N=6, E=4, DATAPACKING=POINT, ZONETYPE=FETRIANGLE, VARSHARELIST= ([1, 2]=1), CONNECTIVITYSHAREZONE = 1
120 145 180 175 195 200