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

[子程序] 用vusdfld实现材料失效,出现Abaqus Error: Problem during compilation

[复制链接]
发表于 2011-5-9 14:40:33 | 显示全部楼层 |阅读模式 来自 上海
本帖最后由 xiaoxiaolvzi 于 2011-5-9 15:21 编辑

出现错误见.log文件
.inp和.for文件也在压缩文件中给出。
刚接触子程序,谢谢高手帮忙!

Abaqus JOB bone_qiu_vusdfld_test_changed
Abaqus 6.10-1
D:\SIMULIA\abaqus\6.10-1\Python\Lib\jabber.py:68: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
Begin Compiling Single Precision Abaqus/Explicit User Subroutines
05/09/11 14:48:21
damage_bone.for(49): error #6351: The number of subscripts is incorrect.   [STRESS]
         s11 = stress(k,1)                          
---------------^
damage_bone.for(50): error #6351: The number of subscripts is incorrect.   [STRESS]
         s22 = stress(k,2)               
---------------^
compilation aborted for damage_bone.for (code 1)
Abaqus Error: Problem during compilation - D:\SIMULIA\Temp\damage_bone.for
Abaqus/Analysis exited with errors

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2011-5-12 21:09:31 | 显示全部楼层 来自 安徽淮南
Simdroid开发平台
前面数组定义有问题!
回复 不支持

使用道具 举报

发表于 2011-5-13 10:35:21 | 显示全部楼层 来自 日本
第29行,
  1.       dimension stress(maxblk)
复制代码
这里把stress定义为1维数组
后来在第49行,
  1.          s11 = stress(k,1)
  2.          s22 = stress(k,2)
复制代码
这里使用数组的时候却安装2维数组使用,能不报错吗?
回复 不支持

使用道具 举报

发表于 2018-4-14 16:38:46 | 显示全部楼层 来自 陕西
guojunhang 发表于 2011-5-13 10:35
第29行,这里把stress定义为1维数组
后来在第49行,这里使用数组的时候却安装2维数组使用,能不报错吗? ...

交大校友,希望交流一下vusdfld,QQ1530315433
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-6-17 15:13 , Processed in 0.031749 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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