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

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

# Merge the source cases
isTest "$@" && path=.. || path=$FOAM_TUTORIALS/incompressibleVoF
foamMergeCase $path/damBreakLaminar $path/damBreakFine || exit 1

# Run
runApplication blockMesh
runApplication setFields
runApplication decomposePar
runParallel foamRun
runApplication reconstructPar

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