我建了个小的模型,ansys命令如下:
finish
/clear
/COM, Structural
/prep7
ET,1,MESH200,6
ET,2,SOLID45
MP,EX,1,0
MP,PRXY,1,0
MP,DENS,1,0
MP,EX,2,35
MP,PRXY,2,0.25
MP,DENS,2,1900E-9
k, 1 ,1.000,.000,.000,
k, 2 ,2.000,.000,.000,
k, 3 ,2.000,1.000,.000,
l, 2 ,3
k, 4 ,2.000,2.000,.000,
k, 5 ,1.000,2.000,.000,
l, 4 ,5
k, 6 ,.000,2.000,.000,
k, 7 ,.000,1.000,.000,
l, 6 ,7
k, 8 ,1.000,1.000,.000,
l, 1 ,8
l, 7 ,8
l, 1 ,2
l, 3 ,4
l, 5 ,6
l, 8 ,3
k, 9 ,.000,.000,.000,
l, 7 ,9
l, 8 ,5
l, 1 ,9
a,1,2,3,4,5,6,7,9
lsel,s,,,4,5,1
lsel,a,,,9,11,2
asbl,1,all
MSHKEY,1 !映射划分
MSHAPE,0,2D
asel,s,,,2,5,1
TYPE,1
MAT,1
ESIZE,0.5
AMESH,ALL
TYPE,2
MAT,2
EXTOPT,ESIZE,10,1
ASEL,S,,,2,5,1
VEXT,ALL,,,0,0,-10
然后采用郑文棠的软件接口导入FLAC,转换过程没有任何错误或者warning,在flac3d打开还是会出现error reading group name at lineXXX,while processing line 2 of file con sole prompt