0198906s
Bioengineer
- Oct 17, 2013
- 8
Dear all,
I have an .odb file 'cartilage.odb' and I want to extract all the stress components. I do it with the following python script. But I don't extract the stress components...in fact I don't know what I extracted from the obd file because I have 1294 nodes and I get results for way more than 1294 nodes.
So what exactly did I extract from the .odb file and what can I change to my code to extract the actual stress components?
Thanks in advance,
-------------
from odbAccess import *
from abaqusConstants import *
odb=openOdb(path='Cartilage.odb')
lastFrame=odb.steps['loading'].frames[-1]
displacement=lastFrame.fieldOutputs['S']
fieldValues=displacement.values
for v in fieldValues:
for component in v.data:
print '%.4g' % component,
print
------------
I have an .odb file 'cartilage.odb' and I want to extract all the stress components. I do it with the following python script. But I don't extract the stress components...in fact I don't know what I extracted from the obd file because I have 1294 nodes and I get results for way more than 1294 nodes.
So what exactly did I extract from the .odb file and what can I change to my code to extract the actual stress components?
Thanks in advance,
-------------
from odbAccess import *
from abaqusConstants import *
odb=openOdb(path='Cartilage.odb')
lastFrame=odb.steps['loading'].frames[-1]
displacement=lastFrame.fieldOutputs['S']
fieldValues=displacement.values
for v in fieldValues:
for component in v.data:
print '%.4g' % component,
------------