#! /bin/sh 
#
cp -f FOR020 temp.cfl
if [ -e "temp.q" ] ; then
   /bin/rm -f vortex.q
fi

cfpost < cfpost.p3d.scr.com 
/bin/rm -f temp.cfl
echo "temp.x" >> ../temp.inp
echo "temp.q" >> ../temp.inp
../min_rho_p_loc.exe < ../temp.inp >> temp.trace
/bin/rm -f temp.x temp.q ../temp.inp

#Save min_rho_p_loc.trace info in appended file

cat temp.trace >> min_rho_p_loc.trace
/bin/rm temp.trace
