acces to the stress components of a node
acces to the stress components of a node
(OP)
Hi everybody,
Postprocessing my ODBfile ,I am trying to get access to the mises stress at some nodes of my model and I want to do that with a python subroutine (not in the visualization module !).
Getting the nodal coordinates is not a problem, getting the stress of the elements is not a problem...But how can I get the stress at the nodes ???
Thank you
Doug
Postprocessing my ODBfile ,I am trying to get access to the mises stress at some nodes of my model and I want to do that with a python subroutine (not in the visualization module !).
Getting the nodal coordinates is not a problem, getting the stress of the elements is not a problem...But how can I get the stress at the nodes ???
Thank you
Doug





RE: acces to the stress components of a node
myOdb = session.openOdb(name='c:/path/to/your/odb/file.odb')
myMises = session.xyDataListFromField(odb=myOdb, outputPosition=NODAL, variable=(('S', INTEGRATION_POINT, ((INVARIANT, 'Mises'), )), ), nodeLabels=(('PART-1-1', ('1', )), ))
This will return the mises stress at node 1 of part-1-1 as a function of time in the variable myMises. The key is that mises is stored at the integration point, and you have to request the output position to be "nodal". There are many ways to specify your nodes, you don't have to use the nodeLabels keyword to do it. See the function description in Section "51.1.5 xyDataListFromField(...)" of the Abaqus 6.8 Scripting Reference Manual for more guidance.
RE: acces to the stress components of a node