3 # Source tutorial run functions
4 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
6 application
="lesCavitatingFoam"
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
19 runApplication blockMesh
25 runApplication
$application
31 runApplication blockMesh
37 echo "mapping fields from 2D throttle case"
38 mapFields ..
/throttle
-sourceTime latestTime
>& log.mapFields
40 runApplication decomposePar
41 hostname
> system
/machines
42 runParallel
$application 4 system
/machines
43 runApplication reconstructPar