"""
Batch evaluation: rotational-speed study

This script reads the job list generated for the rotational-speed parameter
study and executes the corresponding Abaqus post-processing script for each job.

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

Called script
-------------
Auswertung_Copen.py

Note
----
The called script is not part of the current file set and must be provided in
the same working directory for successful execution.

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

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

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