majroy / pyCM

A collection of visualization and data processing tools written in Python for performing the contour method for determining residual stress
http://www.contour-method.manchester.ac.uk/
Other
17 stars 15 forks source link

odb_access.py line 94 error #35

Open boritzwerink opened 1 month ago

boritzwerink commented 1 month ago

In line 94 of the odb_access.py file change:

print 'working on stress entry ', entry.nodeLabel, ' : %d of %d'%(i,len(fieldValues))

to

print('working on stress entry ', entry.nodeLabel, ' : %d of %d'%(i,len(fieldValues)))

majroy commented 1 month ago

Leaving open - root cause is abaqus python in Abaqus 2024 has changed to Python 3.x instead of 2.x used for all preceding versions.