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