bed_l=20 ! 长度m
bed_w=6 ! 宽度
bed_t1=4e-2 ! 厚度1
bed_t2=6e-2
bed_t3=18e-2
bed_t4=15e-2
bed_t5=15e-2
bed_t6=20e-2
bed_t7=2.5
ex_1=1500e6 ! 弹性模量pa
ex_2=1300e6
ex_3=1600e6
ex_4=800e6
ex_5=600e6
ex_6=90e6
ex_7=90e6
PRXY_1=0.35
PRXY_2=0.35
PRXY_3=0.25
PRXY_4=0.35
PRXY_5=0.35
PRXY_6=0.4
PRXY_7=0.4
finish
/prep7
Et,1,SOLID191
KEYOPT, 1, 8, 1
mp,ex,1,ex_1
mp,ex,2,ex_2
mp,ex,3,ex_3
mp,ex,4,ex_4
mp,ex,5,ex_5
mp,ex,6,ex_6
mp,ex,7,ex_7
mp,prxy,1,PRXY_1
mp,prxy,2,PRXY_2
mp,prxy,3,PRXY_3
mp,prxy,4,PRXY_4
mp,prxy,5,PRXY_5
mp,prxy,6,PRXY_6
mp,prxy,7,PRXY_7
r,1,7
RMORE,
RMORE,1,,bed_t1,2,,bed_t2
RMORE,3,,bed_t3,4,,bed_t4
RMORE,5,,bed_t5,6,,bed_t6
RMORE,7,,bed_t7,
BLOCK, 0, bed_l, 0, bed_w,0,bed_t1+bed_t2+bed_t3+bed_t4+bed_t5+bed_t6+bed_t7
LSEL, s, line, , 9, 12
LESIZE,all, , , 1
esize,0.7
vMESH,1
allsel
/ESHAPE,1.0 ! 这个命令来看单元的层次,后面改成0就是没有单元层了,与下面的一个命令一起用就可以看到了
/REPLOT
asel,s,area,,2,6
nsla,s,1
d,all,all,0
allsel
/VIEW, 1, -0.202926483459 , 0.833744595865 , -0.513508316560
/ANG, 1, -172.396473039
/REPLO
PRES_bed=100e3/400e-4 ! 压强,pa
SFA, 1, 1, pres,PRES_bed ! 出现警告不用管
allsel
finish
/solu
solve
finish
/post1
LAYER,7
PRESOL, s, int
这个是一种建模求解方式!
ANSYS提升运行速度与运行命令流