定制用户化界面出错
浏览:13293
/CLEAR
/UIS,MSGPOP,3
MULTIPRO,'START',4
* CSET,1,3,nf,'num of fibre',9000
* CSET,4,6,r,'dia of fibre',1.2e-5
* CSET,7,9,theta,'braid angle',50
* CSET,10,12,kf,'packing fraction of fibre',0.6
* CSET,61,62,'Enter the parameters of',' fibre'
MULTIPRO,'END' !对话框定义结束
pi=3.1415, $ a=r*sqrt((2*pi*nf)/(cos(theta*pi/180)*kf)),$ b=(2*r)*sqrt((2*nf*pi)/(cos(theta*pi/180)*kf))/(tan(theta*pi/180)),$ UA=1.414*a,$ UB=b
这是在前处理模块前的语句,但是一运行就出错,而且错误还不一样,最多次数的是attempt to divide by zero in parameter expression。有时候是一长串,叫我联系I/O管理什么的。是怎么回事?谢谢!
/UIS,MSGPOP,3
MULTIPRO,'START',4
* CSET,1,3,nf,'num of fibre',9000
* CSET,4,6,r,'dia of fibre',1.2e-5
* CSET,7,9,theta,'braid angle',50
* CSET,10,12,kf,'packing fraction of fibre',0.6
* CSET,61,62,'Enter the parameters of',' fibre'
MULTIPRO,'END' !对话框定义结束
pi=3.1415, $ a=r*sqrt((2*pi*nf)/(cos(theta*pi/180)*kf)),$ b=(2*r)*sqrt((2*nf*pi)/(cos(theta*pi/180)*kf))/(tan(theta*pi/180)),$ UA=1.414*a,$ UB=b
这是在前处理模块前的语句,但是一运行就出错,而且错误还不一样,最多次数的是attempt to divide by zero in parameter expression。有时候是一长串,叫我联系I/O管理什么的。是怎么回事?谢谢!