您的位置:网站首页 > Ansys教程

ansys命令流:拉伸试验、紧缩现象模拟命令流

时间:2008-09-15 12:46:54 来源:
模型和材料参数是随便给定的,命令流如下:
/prep7

b1 = 0.005
b2 = 0.0047
h1 = 0.02
h2 = 0.001

k,1,
k,2,b2
k,3,b1,h1
k,4,,h1
k,5,,-h1
k,6,b1,-h1

a,1,2,3,4
l,5,6
l,1,5
l,2,6
al,1,6,5,7

ET,1,PLANE42
KEYOPT,1,1,0
KEYOPT,1,2,0
KEYOPT,1,3,1
KEYOPT,1,5,0
KEYOPT,1,6,0

MPTEMP,,,,,,,, 
MPTEMP,1,0 
MPDATA,EX,1,,2.0e11
MPDATA,PRXY,1,,0.3 
TB,MISO,1,1,4, 
TBTEMP,0
TBPT,,0.001,2e8
TBPT,,0.05,3e8 
TBPT,,0.5,4e8  
TBPT,,1,4.3e8


LSEL,S , , ,1,5,2
LESIZE,ALL, , ,25, , , , ,1

ALLSEL,ALL
LESIZE,2, , ,60,2 , , , ,1
LESIZE,4, , ,60,0.5 , , , ,1
LESIZE,6, , ,60,2 , , , ,1
LESIZE,7, , ,60,2 , , , ,1
ALLSEL,ALL


MSHAPE,0,2D
MSHKEY,0

ASEL,ALL
AMESH,ALL


/SOLU
NSEL,S,LOC,X,0
D,ALL,UX,0
NSEL,S,LOC,Y,-h1
D,ALL,UY,0
NSEL,S,LOC,Y,h1
d,all,uy,0.01
ALLSEL,ALL
ANTYPE,0
NLGEOM,1
TIME,1
AUTOTS,1
SOLV