no blockMesh
[OpenFOAM-1.5.x.git] / tutorials / rasCavitatingFoam / throttle / Allrun
blob972d1f37c9d1c49a54823f46b8ae14a204f9c44b
1 #!/bin/sh
3 # Source tutorial run functions
4 . $WM_PROJECT_DIR/bin/tools/RunFunctions
6 application="rasCavitatingFoam"
8 refineMeshByCellSet()
10 echo "creating cell set for primary zone - $1"
11 cp system/cellSetDict.$1 system/cellSetDict
12 cellSet >& log.cellSet.$1
14 echo "refining primary zone - $1"
15 refineMesh -dict -overwrite >& log.refineMesh.$1
18 runApplication blockMesh
20 refineMeshByCellSet 1
22 refineMeshByCellSet 2
24 refineMeshByCellSet 3
26 runApplication $application