Added missing files filtered by gitignore.
[OpenFOAM-1.6.x.git] / tutorials / multiphase / interDyMFoam / ras / floatingObject / Allrun
blob7c7ab52940262234486363281c2195f97e86b06e
1 #!/bin/sh
3 # Source tutorial run functions
4 . $WM_PROJECT_DIR/bin/tools/RunFunctions
6 # Set application name
7 application="interDyMFoam"
9 makeMeshByCellSet()
11 while [ $# -ge 1 ]
13 echo "Running cellSet operation $1"
14 cp system/cellSetDict.$1 system/cellSetDict
15 cellSet > log.cellSet.$1 2>&1
16 shift
17 done
20 runApplication blockMesh
21 makeMeshByCellSet 1 2
22 runApplication subsetMesh -overwrite c0 -patch floatingObject
23 cp -r 0.org 0 > /dev/null 2>&1
24 runApplication setFields
25 runApplication $application
27 # -----------------------------------------------------------------------------