找回密码
 注册
Simdroid-非首页
查看: 92|回复: 1

关于Call tabva2的问题!

[复制链接]
发表于 2005-4-25 11:58:25 | 显示全部楼层 |阅读模式 来自 湖南长沙
现在我要编写一个子程序,需要热导率的值,热导率与温度相关,且定义在表格中,于是需要用到Call tabva2( ...) 项,我编写的子程序如下:
       subroutine uhtcon(mibody,xp,temp,ibody,iobody,fn,totinc,timinc,
     +                  inc,ncrd,ndeg,tsink,htcoef)
       include '../common/implicit'
       include '../common/ctable'
       dimension mibody(4),xp(*),temp(*),tsink(*)
       coarseness=10.85e-6
       T1=temp(2)
       T2=tsink(2)
       Tm=659
       idtable1=1
       idtable2=7
       Call tabva2(T1,R1,idtable1,0,0)
       Call tabva2(T2,R2,idtable2,0,0)
。。。。。。
刚开始的时候,marc提示我没有定义表格,于是我在输入文件中加入:
       table             0            0              1              0               0
这是,没有提示出错,但提交作业后,出现了13号错误,具体内容如下:

read data from unit    5

              6.730000000000000+2                                                                                                                                            
             ----------

             *** error - unrecognizable keyword or  possible data error on above card

                     6790          to       10748                              
请问这是什么意思?该怎么解决?
还有,我估计是marc不能正确识别表格号!因为有一个成功调用表格的例子,上面有这种提示:
             table identifier                  1
             table name is           load_factor                     
             unit number                       5
             number of independent var.        3
             an equation is used to describe function
而我的却没有!因此我想问问大家,怎么样才能让marc识别表格号!
拜托了!
发表于 2005-4-30 17:10:55 | 显示全部楼层 来自 黑龙江哈尔滨

Re:关于Call tabva2的问题!

Simdroid开发平台
您的table定义对了吗?
table 0 0 1 0 0是什么意思?
应该是根据定义table的顺序。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-5-3 03:20 , Processed in 0.034371 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表