BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / tutorials / multiphase / cavitatingFoam / les / throttle / Allrun
blobbdeacd7831d2a2c15696477e68478f10fb58ff2c
1 #!/bin/sh
2 cd ${0%/*} || exit 1 # run from this directory
4 # Source tutorial run functions
5 . $WM_PROJECT_DIR/bin/tools/RunFunctions
7 # Set application name
8 application=`getApplication`
10 refineMeshByCellSet()
12 while [ $# -ge 1 ]
14 if [ ! -e log.refineMesh.$1 ]
15 then
16 echo "creating cell set for primary zone - $1"
17 cp system/topoSetDict.$1 system/topoSetDict
18 topoSet > log.topoSet.$1 2>&1
20 echo "refining primary zone - $1"
21 refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
23 shift
24 done
27 runApplication blockMesh
28 refineMeshByCellSet 1 2 3
29 runApplication $application
31 # ----------------------------------------------------------------- end-of-file