Using a Script to Extract Additional Parameters from the Abaqus Output File

If a Python script named userscript_odb.py is detected in the same directory as the reference output database (.odb) file, this script is executed at design time to produce additional output parameters and is executed at run time to update their values. The userscript_odb.py must use the odbaccess module to access the odb file.

Related Topics
An Example of a User Script to Extract Additional Parameters

The user script produces a tab-delimited ASCII file called user_params.txt that contains the name of each additional output parameter and its value. This file is parsed by the Abaqus component.

Scalar output is written in the following form:

  • Principal_strain 1.0e-5

  • Principal_stress 100.0

History array output is written in the following form:

My_History_Array ((0, 0), (1, 0.277437))