13 November 2019 2 682 Report

I have an Abaqus ODB file and already have recorded a Macro that performs the task I need to produce the desired output (which is a report file containing deformation and coordinate data along a predefined path). Typically, one can launch Abaqus, open the odb and from File, 'Run Script', run the python file containing the macro.

Since I need to perform this many times, I need to write a python code that automates this process without the need to launch Abaqus and manually selecting the python macro, i.e. the code should open the odb (with no GUI) and perform the Macro on it.

P.S. the ODB files are being generated by minimally changing an input file and running each file using the following code in python:

os.system('abaqus job=input_file_name.inp interactive')

I would appreciate any hints or sample codes re this problem.

More Nima Bakhshi's questions See All
Similar questions and discussions