Tecplot 帮助手册

  1. 打开 tec360.exe—Help—Data Format Guide
  2. 或者直接搜索并打开文件:360_data_format_guide.pdf
  3. 主要有两种格式顺序格式/非顺序格式,有限元数据要使用非顺序格式,除非模型比较规则才可以使用顺序格式

Tecplot 各种单元数据格式

六面体单元

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
variables = "x", "y","z","disp"
zone T=XDD1, nodes=8, elements=1, et=brick, f=fepoint

# 下面对应variables的数值
-1, -1, 0, 1.1
1, -1, 0, 1.2
1, 1, 0, 1.3
-1, 1, 0, 1.4
-1, -1, 1, 1.5
1, -1, 1, 1.6
1, 1, 1, 1.7
-1, 1, 1, 1.8

# 下面是单元连接关系
1, 2, 3, 4, 5, 6, 7, 8

四面体单元

1
2
3
4
5
6
7
variables = "x", "y","z","disp"
zone T=XDD2, nodes=4, elements=1, et=tetrahedron, f=fepoint
-1, -1, 0, 1.1
1, -1, 0, 1.2
1, 1, 0, 1.3
1, -1, 1, 1.8
1, 2, 3, 4

四边形单元

1
2
3
4
5
6
7
variables = "x", "y","z","disp"
zone T=XDD3, nodes=4, elements=1, et=quadrilateral, f=fepoint
-1, -1, 0, 1.1
1, -1, 0, 1.2
1, 1, 0, 1.3
-1, 1, 1, 1.4
1, 2, 3, 4

三角形单元

1
2
3
4
5
6
variables = "x", "y","z","disp"
zone T=XDD4, nodes=3, elements=1, et=triangle, f=fepoint
-1, -1, 0, 1.1
1, -1, 0, 1.2
1, 1, 0, 1.3
1, 2, 3

同时输出多种类型的单元

如果是只有三角形与四边形,把三角形最后一个结点重复两次即可

如果是只有四面体与六面体,把四面体最后一个结点重复四次即可

同时含有 2D 与 3D 单元,将 2D 单元按照 3D 单元来写,想想怎么重复结点即可

如果只要网格,也可以重复上面的文件,比如下面这个同时输出六面体与三角形

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
variables = "x", "y","z","disp"
zone T=XDD1, nodes=8, elements=1, et=brick, f=fepoint

-1, -1, 0, 1.1
1, -1, 0, 1.2
1, 1, 0, 1.3
-1, 1, 0, 1.4
-1, -1, 1, 1.5
1, -1, 1, 1.6
1, 1, 1, 1.7
-1, 1, 1, 1.8

1, 2, 3, 4, 5, 6, 7, 8


variables = "x", "y","z","disp"
zone T=XDD4, nodes=3, elements=1, et=triangle, f=fepoint
-1, -1, 0, 1.1
1, -1, 0, 1.2
1, 1, 0, 1.3
1, 2, 3


附录:Matlab 绘制六面体单元

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
p = [   -1 -1 0
1 -1 0
1 1 0
-1 1 0
-1 -1 1
1 -1 1
1 1 1
-1 1 1 ];

t = [1 2 3 4 5 6 7 8];

col = rand(8,1);

close all;figure;axis equal;hold on;view(45,10)
patch('Vertices',p,'Faces',t(:,[1,2,3,4]),'FaceVertexCData',col,'FaceColor','interp');
patch('Vertices',p,'Faces',t(:,[5,6,7,8]),'FaceVertexCData',col,'FaceColor','interp');
patch('Vertices',p,'Faces',t(:,[1,2,6,5]),'FaceVertexCData',col,'FaceColor','interp');
patch('Vertices',p,'Faces',t(:,[2,3,7,6]),'FaceVertexCData',col,'FaceColor','interp');
patch('Vertices',p,'Faces',t(:,[3,4,8,7]),'FaceVertexCData',col,'FaceColor','interp');
patch('Vertices',p,'Faces',t(:,[4,1,5,8]),'FaceVertexCData',col,'FaceColor','interp');