That sounds an awful lot like I shouldn't?
I am mostly concerned with reading both stresses and displacements in a fast and reliable way. It seems to me like reading the different outputs are not as simple as changing the argument in fieldOutputs['S'] between 'S' and 'U' which I would have...
I found this post with a script accomplishing what I'm trying.
The only problem is that this is node based while I've tried, and made stresses work, in an element based method. But it should be possible to achieve my goal (objective function for optimisation) nonetheless.
However, I'm still...
For print fieldValues i recieve
'FieldValue object' a lot of times. I'd guess once for every node but I haven't counted.
For print fieldValues.data abaqus returns
AttributeError: 'FieldValueArray' object has no attribute 'data' just like when I try to request a specific datapoint.
I am trying to export my data from the .odb file for further processing. My approach looks something like this:
displacement = lastFrame.fieldOutputs['U'] #So far so good
fieldValues = displacement.values
But when I now tries to access the values as shown in the Scripting users manual
print...