#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name
application=`getApplication`
runApplication -l log.blockMesh.solid blockMesh -region solid
cp constant/solid/polyMesh/boundaryCoupled constant/solid/polyMesh/boundary
runApplication -l log.setSet.solid setSet -region solid -batch solid.setSet
runApplication -l log.setsToZones.solid setsToZones -region solid -noFlipMap
runApplication blockMesh
cp constant/polyMesh/boundaryCoupled constant/polyMesh/boundary
runApplication setSet -batch fluid.setSet
runApplication setsToZones -noFlipMap
runApplication $application
# ----------------------------------------------------------------- end-of-file