"""
Batch evaluation: friction coefficient study

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

Purpose
-------
Wrapper for batch evaluation of the axisymmetric contact-pressure study.

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

Called script
-------------
Auswertung_inkrementell_PA_u_K.py

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

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

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