rmettier
Geotechnical
- Oct 6, 2006
- 63
I'm trying to extract some deformed coordinates form an odb file, using 'abaqus python extract.py'
The odb is call 'unload.odb'
the relevant step is called 'Settle'
I want the data from the last frame. Here's my code so far:
------------------------------------------
from odbAccess import *
from abaqusConstants import *
odb = openOdb(path='unload.odb',readOnly=TRUE)
step=odb.steps["Settle"]
frame=step.frames[-1]
output=frame.fieldOutputs["COORD"].values
print output
odb.close()
-------------------------------------------
right now, I'm getting a long string, composed of
'FieldValue object', 'FieldValue object', ... etc. instead of the coordinates.
Still very much a beginner with python, so any help is appreciated.
The odb is call 'unload.odb'
the relevant step is called 'Settle'
I want the data from the last frame. Here's my code so far:
------------------------------------------
from odbAccess import *
from abaqusConstants import *
odb = openOdb(path='unload.odb',readOnly=TRUE)
step=odb.steps["Settle"]
frame=step.frames[-1]
output=frame.fieldOutputs["COORD"].values
print output
odb.close()
-------------------------------------------
right now, I'm getting a long string, composed of
'FieldValue object', 'FieldValue object', ... etc. instead of the coordinates.
Still very much a beginner with python, so any help is appreciated.