#!/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
cd ../fluid
cd constant
cp -r ../../solid/constant solid
cd ..
cd 0
cp -r ../../solid/0 solid
#cd solid
#runApplication blockMesh
#cd ..
pwd
makeFsiCaseLinks fluid solid
runApplication $application
makeFsiResultsLinks fluid solid