Aravindkj
Bioengineer
- Jun 15, 2014
- 25
Hi guys,
I tried the follwing code and tried to read eseden from a nodeset. I get the following error as "Type error Field output object is not iterable"
It will be rally helpful if you guys can give me some suggestions on how to fix this.
Thank you
Aravind
from odbAccess import *
from textRepr import *
from abaqusConstants import *
import odbAccess
odb=openOdb(path='python2d.odb')
NodesofInterest = odb.rootAssembly.instances['PART-1-1'].nodeSets['NODESET']
eseden=odb.steps['Step-1'].frames[1].fieldOutputs['ESEDEN'].getSubset(region=NodesofInterest)
for v in eseden:
#print v
print (v.elementLabel,v.data)
I tried the follwing code and tried to read eseden from a nodeset. I get the following error as "Type error Field output object is not iterable"
It will be rally helpful if you guys can give me some suggestions on how to fix this.
Thank you
Aravind
from odbAccess import *
from textRepr import *
from abaqusConstants import *
import odbAccess
odb=openOdb(path='python2d.odb')
NodesofInterest = odb.rootAssembly.instances['PART-1-1'].nodeSets['NODESET']
eseden=odb.steps['Step-1'].frames[1].fieldOutputs['ESEDEN'].getSubset(region=NodesofInterest)
for v in eseden:
#print v
print (v.elementLabel,v.data)