Ericzhang 发表于 2006-5-28 10:37

关于一个TABLE数组的问题!

下面是一个TABLE数组:<BR><BR>!deplace6:0.000000002*sin(10000000*pi*time)<BR>!veloci6 :0.02*pi*cos(10000000*pi*time)<BR>!*- de placementfu nction-一*<BR>*DIM,deplace,TABLE,6,8,1<BR>*SET,deplace(0,0,1),0.0,-999<BR>*SET,deplace(2,0,1),0.0<BR>*SET,deplace(3,0,1),0.0<BR>*SET,deplace(4,0,1),0.0<BR>*SET,deplace(5,0,1),0.0<BR>*SET,deplace(6,0,1),0.0<BR>*SET,deplace(0,1,1),1.0,-1,0 ,1 0000000,0 ,0 ,0<BR>*SET,deplace(0,2,1),0.0,-2,0 ,3 .14159265358979310,0 ,0 ,-1<BR>*SET,deplace(0,3,1),0.0,-3,0,1,-1,3,-2<BR>*SET,deplace(0,4,1),0.0,-1,0,1,-3,3,1<BR>*SET,deplace(0,5,1),0.0,-1,9,1,-1,0 ,0<BR>*SET,deplace(0,6,1),0.0,-2,0,0.000000002,0,0,-1<BR>*SET,deplace(0,7,1),0.0,-3,0,1,-2,3,-1<BR>*SET,deplace(0,8,1),0.0,99,0,1,-3,0,0<BR>!*-----velocity function--一<BR>*DIM,veloci,TABLE,6,10,1<BR>*SET,veloci(0,0,1),0.0,-999<BR>*SET,veloci(2,0,1),0.0<BR>*SET,veloci(3,0,1),0.0<BR>*SET,veloci(4,0,1),0.0<BR>*SET,veloci(5,0,1),0.0<BR>*SET,veloci(6,0,1),0.0<BR>*SET,veloci(0,1,1),1.0,-1,0,0.02,0,0,0<BR>*SET,veloci(0,2,1),0.0,-2,0,3.14159265358979310,0,0,-1<BR>*SET,veloci(0,3,1),0.0,-3,0,1,-1,3,-2<BR>*SET,veloci(0,4,1),0.0,-1,0,10000000,0,0,0<BR>*SET,veloci(0,5,1),0.0,-2,0,3.14159265358979310,0,0,-1<BR>*SET,veloci(0,6,1),0.0,-4,0,1,-1,3,-2<BR>*SET,veloci(0,7,1),0.0,-1,0,1,-4,3,1<BR>*SET,veloci(0,8,1),0.0,-1 ,1 0,1,-1,0,0<BR>*SET,veloci(0,9,1),0.0,-2,0,1,-3,3,-1<BR>*SET,veloci(0,10,1),0.0,9 9,0 ,1,-2,0,0<BR>!"----function set is over-- '<BR><BR><BR><BR>请各位大虾指教一下!是如何实现拟合简谐曲线的!

AaronSpark 发表于 2006-5-29 06:54

回复:(Ericzhang)关于一个TABLE数组的问题!

没懂你意思,你想问什么?

Ericzhang 发表于 2006-5-29 10:03

<P>不好意思,那我就说清楚一点吧!<BR>我毕业设计里面分析一个简谐振荡的响应,不过不仅要在一个点上加载位移,同时也要加载一个速度,想用TABLE数组来拟合这两个正余弦的负载,上面是一个参考的APDL例程,但不太明白,所以请您帮忙解释一下,因为我看了很多书,都没提到三维TABLE数组的拟合曲线是如何实现的,而且这个例程的行列下标也不是递增或递减的!所以我很疑惑!您能帮一下忙,解释一下,或给出相关的资料我参考一下,最好能帮我写一个更好理解的例程!<BR>小弟顿首!</P>
页: [1]
查看完整版本: 关于一个TABLE数组的问题!