2 cd ${0%/*} ||
exit 1 # run from this directory
4 # Source tutorial run functions
5 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
8 application
=`getApplication`
14 if [ ! -e log.refineMesh.
$1 ]
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
29 runApplication blockMesh
30 refineMeshByCellSet
1 2 3
32 echo "mapping fields from 2D throttle case"
33 runApplication mapFields ..
/throttle
-sourceTime latestTime
35 runApplication decomposePar
36 runParallel
$application 4
37 runApplication reconstructPar
39 # ----------------------------------------------------------------- end-of-file