#!/bin/sh # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name from directory application=icoFsiFoam cd fluid runApplication blockMesh cd ../solid runApplication blockMesh cd ../fluid cd constant cp -r ../../solid/constant solid cd .. cd 0 cp -r ../../solid/0 solid cd .. cd .. #cd solid #runApplication blockMesh #cd .. pwd makeFsiCaseLinks fluid solid cd fluid runApplication $application cd .. makeFsiResultsLinks fluid solid