问题解决,用以下语句能实现载荷的叠加,见命令流
YOUNG=210e6
THICKNESS=5e-3
length=1
/prep7
MP,EX,1,YOUNG
MP,NUXY,1,0.3
MP,DENS,1,DENSITY
ET,1,SHELL63
R,1,THICKNESS,THICKNESS,THICKNESS,THICKNESS
k,1,0,0,0
k,2,length,0,0
k,3,length,length,0
k,4,0,length,0,0
A,1,2,3,4
LSEL,S,LINE,,1,1
LSEL,A,LINE,,2,2
LSEL,A,LINE,,3,3
LSEL,A,LINE,,4,4
LESIZE,ALL,,,10
AMESH,ALL
/SOLU
DL,4,,all
DL,2,,all
*get, ELMAX,elem,,count !获取单元个数
*DO,i,1,ELMAX,1
ESEL,S,ELEM,,i,i
SFE,all,1,PRES, ,10
allsel
SFCUM,PRES,ADD !压力叠加
ESEL,S,ELEM,,i,i
SFE,all,1,PRES, ,5
allsel
*ENDDO
allsel !注意,要选中全部单元
solve |