#!/bin/bash
cd ${0%/*} || exit 1                        # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions 


rm -R newFolder
mkdir newFolder
cd newFolder
cd ..
cp -R 0/fluid newFolder/0
cp -R constant/fluid newFolder/constant
cp -R system/fluid newFolder/system
cp system/controlDict newFolder/system/.
cp -R 500000/fluid newFolder/500000
cd newFolder
rhoSimpleFoam -postProcess -func 'wallHeatFlux'
rhoSimpleFoam -postProcess -func 'wallShearStress'
cd ..
cp newFolder/500000/wallHeatFlux 500000/fluid/.
cp newFolder/500000/wallShearStress 500000/fluid/.
#pvBatch postProcess.py Type this after
