ANSYS初始残余应力赋值
作者:互联网
目录
1.建模
建立有限元模型,采用SOLID185单元,模型尺寸0.050.050.02
材料为钢
!程序头
FINISH
/CLEAR
/FILENAME, RS
/PREP7
!设置平台的类型和材料
ET,1,SOLID185
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,EX,1,,210E9
MPDATA,PRXY,1,,0.33
MPDATA,DENS,1,,7850
!样件尺寸
BLC4,0,0,0.05,0.05,0.02
2.划分网格并分组
!设置类型
TYPE,1
MAT,1
!划分网格
CM,_Y,LINE
LSEL,S,LOC,X,0,0
LSEL,R,LOC,Z,0,0
CM,_Y1,LINE
CMSEL,,_Y
LESIZE,_Y1, , ,50, , , , ,1
ALLSEL,ALL
CM,_Y,LINE
LSEL,S,LOC,Y,0,0
LSEL,R,LOC,Z,0,0
CM,_Y1,LINE
CMSEL,,_Y
LESIZE,_Y1, , ,50, , , , ,1
ALLSEL,ALL
CM,_Y,LINE
LSEL,S,LOC,X,0,0
LSEL,R,LOC,Y,0,0
CM,_Y1,LINE
CMSEL,,_Y
LESIZE,_Y1, , ,20, , , , ,1
ALLSEL,ALL
MSHAPE,0,3D
MSHKEY,1
CM,_Y,VOLU
VSEL, , , , 1
CM,_Y1,VOLU
CHKMSH,'VOLU'
CMSEL,S,_Y
VMESH,_Y1
CMDELE,_Y
CMDELE,_Y1
CMDELE,_Y2
/UI,MESH,OFF
!单元分组,按照层数,分成若5组
!第一层
ALLSEL,ALL
NSEL,R,LOC,Z,0,0.004!位置
ESLN,R
CM,L1,ELEM !组名为L1
CMSEL,A,L1
!第二层
ALLSEL,ALL
NSEL,U,LOC,Z,0,0.004
NSEL,R,LOC,Z,0.004,0.008
ESLN,R
CM,L2,ELEM
CMSEL,A,L2
!第三层
ALLSEL,ALL
NSEL,U,LOC,Z,0,0.008
NSEL,R,LOC,Z,0.008,0.012
ESLN,R
CM,L3,ELEM
CMSEL,A,L3
!第四层
ALLSEL,ALL
NSEL,U,LOC,Z,0,0.012
NSEL,R,LOC,Z,0.012,0.016
ESLN,R
CM,L4,ELEM
CMSEL,A,L4
!第五层
ALLSEL,ALL
NSEL,U,LOC,Z,0,0.016
NSEL,R,LOC,Z,0.016,0.02
ESLN,R
CM,L5,ELEM
CMSEL,A,L5
ALLSEL,ALL!选择所有
3.所有节点固定约束
如果要查看赋值的应力是否正确,可以先把所有的节点都固定,然后求解观察。
如果直接看赋值后的效果,则可忽略此过程
D,ALL,ALL,0
4.施加初始残余应力
!初始应力,后面六位分别对应xx,yy,zz,xy,yz,xz
CMSEL,S,L1!选择第一层
INISTATE,DEFI,,,,,100,200,300,400,500,600!残余应力赋值
ALLSEL,ALL!选择所有
5.结果
标签:LOC,NSEL,应力,CM,CMSEL,ALLSEL,Y1,ANSYS,赋值 来源: https://www.cnblogs.com/gaozihan/p/10985834.html