27 lines
423 B
Text
27 lines
423 B
Text
|
#!/bin/sh
|
||
|
# Source tutorial run functions
|
||
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||
|
|
||
|
# Get application name from directory
|
||
|
application=icoFsiFoam
|
||
|
|
||
|
cd fluid
|
||
|
runApplication blockMesh
|
||
|
cd constant
|
||
|
ln -s ../../solid/constant solid
|
||
|
cd ..
|
||
|
cd 0
|
||
|
ln -s ../../solid/0 solid
|
||
|
cd ..
|
||
|
cd ..
|
||
|
|
||
|
cd solid
|
||
|
runApplication blockMesh
|
||
|
cd ..
|
||
|
pwd
|
||
|
|
||
|
makeFsiCaseLinks fluid solid
|
||
|
cd fluid
|
||
|
runApplication $application
|
||
|
cd ..
|
||
|
makeFsiResultsLinks fluid solid
|