#!/bin/sh
cd ${0%/*} || exit 1    # Run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

runApplication blockMesh
runApplication simpleFoam
runApplication -s age simpleFoam -latestTime -postProcess -func age
runApplication -s probes1 postProcess -func probes1 -latestTime
runApplication -s probes2 postProcess -func probes2 -latestTime
runApplication -s flowRatePatch postProcess -func flowRatePatch -latestTime

(cd validation && ./Allrun $*)

#------------------------------------------------------------------------------
