27 lines
No EOL
423 B
Bash
Executable file
27 lines
No EOL
423 B
Bash
Executable file
#!/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 |