python scripts and functions for abaqus