#!/bin/bash
# delete forst line
sed  '/setup_case()/d' setup_case.py > temp_file
# add new first line plus global declarations
cat  ../global temp_file  modify_case.py calc_earsm.py  \
../pyCALC-RANS-earsm.py  > exec-pyCALC-RANS.py;
/usr/bin/time -a  -o out ../../anaconda3/bin/python3.8 -u  exec-pyCALC-RANS.py > out
