本帖最后由 csuxzj 于 2012-3-17 22:13 编辑
附上命令流
!建模
/filname,ex2
/prep7
et,1,combin40
keyopt,1,3,2
r,1,15,,2
r,2,30,,3
/pnum,node,1
n,1,0,2
n,2,0,1
n,3
real,1
e,1,2
real,2
e,2,3
eplot
finish
!谐响应分析
/solu
antype,3
hropt,full
harfrq,0.1,1.2
nsubst,110
outres,,1
d,3,all
f,1,fy,60
solve
finish
/post26
nsol,2,1,u,y,uy1
plvar,2
finish
!瞬态分析
/soluantype,4
pi=2*asin(1)
ff=0.32
t=1/ff
n=20
d,3,all
*do,i,1,n
time,t/n*i
f,1,fy,60*sin(2*pi*ff*t/n*i)
solve
*enddo
/post26
nsol,2,1,u,y,uy1
plvar,2
finish
|