Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / tutorials / multiphase / cavitatingFoam / ras / throttle / Allrun
blob0b09a55c3c1d814ec30b3c256ceea9018f46d5a0
1 #!/bin/sh
3 # Source tutorial run functions
4 . $WM_PROJECT_DIR/bin/tools/RunFunctions
6 application="cavitatingFoam"
8 refineMeshByCellSet()
10 echo "creating cell set for primary zone - $1"
11 cp system/cellSetDict.$1 system/cellSetDict
12 cellSet > log.cellSet.$1 2>&1
14 echo "refining primary zone - $1"
15 refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
18 runApplication blockMesh
20 refineMeshByCellSet 1
22 refineMeshByCellSet 2
24 refineMeshByCellSet 3
26 runApplication $application