- 积分
- 48
- 注册时间
- 2010-7-6
- 仿真币
-
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2010-12-23 11:18:40
|
显示全部楼层
来自 上海
本帖最后由 JingheSu 于 2010-12-23 11:24 编辑
9# chenbilljohn
回答第一个问题:
用下面的脚本('BELT_0_LEFT2'是你要看的单元集合的名字):
from odbAccess import *
from abaqusConstants import *
from odbMaterial import *
from odbSection import *
odb = openOdb(path='test.odb')
myAssembly = odb.rootAssembly
ee=myAssembly.instances['PART-1-1'].elementSets['BELT_0_LEFT2'].elements
for i in range(len(ee)):
print ee
输出基本上类似:
({'connectivity': (1817, 1818, 1822, 1821, 1513, 1514, 1518, 1517), 'instanceName': 'PART-1-1', 'instanceNames': ('PART-1-1', 'PART-1-1', 'PART-1-1', 'PART-1-1', 'PART-1-1', 'PART-1-1', 'PART-1-1', 'PART-1-1'), 'label': 1123, 'sectionCategory': 'SectionCategory object', 'type': 'C3D8R'}),这个里面就有单元集合中单元的label
第二个问题:
直接cae中建立你想要的xydata,就可以看到结果 |
|