adapting abaqus.py so that it works for version 13.2