dirtybing 发表于 2009-4-15 13:33

请问这个分段函数载荷怎么加载?

形如下列形式的载荷如何加载:
0~2s,F=20000
2~3s,F=0
3~4s,F=30000sin(6t)

这样对吗?请大家指教



fk,1417,fx,200000
time,2
kbc,1
nsubst,5
allset,all
lswrite,1

fk,1417,fx,0
time,3
kbc,1
nsubst,5
allset,all
lswrite,2

lssolve,1,2,1


*dim,sine,,20,2
*do,i,1,20

t=3+0.05*i

sine(i,1)=t

sine(i,2)=3e5*sin(6*t)
*enddo


kbc,0


*do,i,1,20

time,sine(i,1)


nsubst,5,0,0



fk,1417,fx,sine(i,2)



solve


*enddo
finish

页: [1]
查看完整版本: 请问这个分段函数载荷怎么加载?