"""
Batch evaluation: 3D bending study

This script reads the job list generated for the 3D bending study and executes
the corresponding Abaqus post-processing script for each job.

Expected input files
--------------------
joblist_aniso.txt : text file containing one Abaqus job name per line

Called script
-------------
Auswertung_inkrementell_PA_u_K_3D.py

Author
------
F. Birk
Revised for readability and portability.
"""

with open('joblist_aniso.txt', 'r') as fp:
    joblist = fp.readlines()

for job_name in joblist:
    g_Jobname = job_name
    execfile('Auswertung_inkrementell_PA_u_K_3D.py', __main__.__dict__)
