#!/bin/sh cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ # Create meshes for subcase in left right do ( cd "$subcase" || exit runApplication blockMesh ) done #------------------------------------------------------------------------------