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

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

./Allmesh

runApplication foamSetupCHT

runApplication foamDictionary -entry internalField -set "uniform 348" 0/solid/T

runApplication decomposePar -allRegions

printf "\n%s\n" "Creating files for paraview post-processing"
paraFoam -touchAll
echo

runParallel foamMultiRun

runApplication reconstructPar -allRegions

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