Skip to content

Instantly share code, notes, and snippets.

@X-G
Last active May 12, 2016 12:58
Show Gist options
  • Save X-G/d48c3f7d1bf4162b2ceba0f7b8ea3f40 to your computer and use it in GitHub Desktop.
Save X-G/d48c3f7d1bf4162b2ceba0f7b8ea3f40 to your computer and use it in GitHub Desktop.
sub nodal disp
from abaqus import *
from abaqusConstants import *
from odbAccess import *
odb=openOdb('C:/Temp/Job-1.odb')
step=odb.steps['Step-1']
frame1=step.frames[1]
frame1=step.frames[2]
u1=frame1.fieldOutputs['U']
u2=frame2.fieldOutputs['U']
nu1=u1.getSubset(position=NODAL)
nu2=u2.getSubset(position=NODAL)
dnu=nu2-nu1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment