#!/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 400000/fluid newFolder/400000
cd newFolder
rhoSimpleFoam -postProcess -func 'wallHeatFlux'
rhoSimpleFoam -postProcess -func 'wallShearStress'
cd ..
cp newFolder/400000/wallHeatFlux 400000/fluid/.
cp newFolder/400000/wallShearStress 400000/fluid/.
#pvBatch postProcess.py Type this after
