3 # Source tutorial run functions
4 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
7 application
="cavitatingFoam"
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
24 runApplication blockMesh
25 refineMeshByCellSet
1 2 3
26 runApplication
$application
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