#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cp -r constant/polyMesh/blockMeshDict system/blockMeshDict
cleanCase
Remove surface and features
rm -f constant/polyMesh/boundary > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/terrain.eMesh > /dev/null 2>&1
rm -rf 0 > /dev/null 2>&1
#------------------------------------------------------------------------------