#!/bin/sh
cd /work/salmon/OpenFOAM/run/Cas_test #cd ${0%/*} || exit 1    # Run from this directory

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

# Set application name
application=`getApplication`

runApplication /work/salmon/OpenFOAM/OpenFOAM-dev/bin/foamExec blockMesh
runApplication surfaceFeatureExtract
runApplication snappyHexMesh -overwrite
runApplication createBaffles -overwrite
#transformPoints -scale '(1e-3 1e-3 1e-3)'

#decomposePar -force > log.decomposePar 2>&1

#decomposePar -fields > log.decomposePar 2>&1

#runParallel `getApplication` 
#runApplication reconstructPar -time 0:
#paraFoam -touch


# ----------------------------------------------------------------- end-of-file
