Extract nodal coordinates from the deformed testsubject (abaqus-python)

青春壹個敷衍的年華 提交于 2019-12-06 12:38:04

get the displacement field:

 u=odb.steps['Step-1'].frames[-1].fieldOutputs['U']

then u.values is a list of all nodal values:

 u.values[i].data -> array of (ux,uy,uz)
 u.values[i].nodeLabel  -> node label

then you grab the original position like this:

 instance.getNodeFromLabel(u.values[i].nodeLabel).coordinates

You can also directly get the deformed coordinate as a field output, but you need to request COORD output when you run the analysis.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!