#!/bin/sh
cd "${0%/*}" || exit                                # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions        # Tutorial run functions
#------------------------------------------------------------------------------

echo "Use common files for 0/, constant/ and blockMeshDict"
rm -rf 0 constant
\cp -r ../common/0.orig 0
\cp -r ../common/constant constant

m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh

runApplication $(getApplication)

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