No EXECUTABLE_PREFIX for apps, install into libexec instead
[freefoam.git] / tutorials / multiphase / interDyMFoam / ras / floatingObject / Allrun.in
blobb732528b78f68140bf04a4fc26422da19e7ccf96
1 #!/bin/sh
3 # Source tutorial run functions
4 . @FF_DATA_DIR@/shellFunctions/RunFunctions
6 # Alltest changes this to yes...
7 export FREEFOAM_TEST_MODE=no
8 if [ "$FREEFOAM_TEST_MODE" == "yes" ]; then
9 # Alltest changes this to the top test directory...
10 export FREEFOAM_CONFIG_DIR='${TEST_CONFIG_DIR}'
13 # Set application name
14 application="interDyM"
16 makeMeshByCellSet()
18 while [ $# -ge 1 ]
20 echo "Running cellSet operation $1"
21 cp system/cellSetDict.$1 system/cellSetDict
22 runApplication cellSet > log.cellSet.$1 2>&1
23 shift
24 done
27 runApplication blockMesh
28 makeMeshByCellSet 1 2
29 runApplication subsetMesh -overwrite c0 -patch floatingObject
30 cp -r 0.org 0 > /dev/null 2>&1
31 runApplication setFields
32 runApplication $application
34 # -----------------------------------------------------------------------------