#!/bin/sh # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name application="pimpleDyMIbFoam" runApplication blockMesh -dict save/blockMeshDict cp save/boundary constant/polyMesh/ mkdir 0 \cp -f 0_org/* 0/ runApplication potentialFoam runApplication writeIbMasks runApplication $application