Bugfix: Moved case insensitive directory name clash
[foam-extend-3.2.git] / tutorials / multiphase / cavitatingFoam / les / Allrun
blob81b43593ea4ed904052c126363a4b758e410e7b6
1 #!/bin/sh
3 # Source tutorial run functions
4 . $WM_PROJECT_DIR/bin/tools/RunFunctions
6 # Set application name
7 application="cavitatingFoam"
9 refineMeshByCellSet()
11 while [ $# -ge 1 ]
13 echo "creating cell set for primary zone - $1"
14 cp system/cellSetDict.$1 system/cellSetDict
15 runApplication -l log.cellSet.$1 cellSet
17 echo "refining primary zone - $1"
18 runApplication -l log.refineMesh.$1 refineMesh -dict -overwrite
19 shift
20 done
23 cd throttle
24 runApplication blockMesh
25 refineMeshByCellSet 1 2 3
26 runApplication $application
27 cd ..
29 cd throttle3D
30 cp -r 0.org 0
32 runApplication blockMesh
33 refineMeshByCellSet 1 2 3
35 echo "mapping fields from 2D throttle case"
36 mapFields ../throttle -sourceTime latestTime > log.mapFields 2>&1
38 runApplication decomposePar
39 runParallel $application 4
40 runApplication reconstructPar
41 cd ..