2 cd ${0%/*} ||
exit 1 # run from this directory
4 # Source tutorial run functions
5 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
7 runApplication blockMesh
8 cp system
/decomposeParDict-nonPar system
/decomposeParDict
9 runApplication decomposePar
11 #runApplication snappyHexMesh -overwrite
12 #runApplication setSet -batch makeZones
13 #runApplication setsToZones -noFlipMap
14 #runApplication `getApplication`
16 cp system
/decomposeParDict-par system
/decomposeParDict
17 runParallel snappyHexMesh
2 -overwrite
19 # Add wildcard entries for meshed patches since not preserved
20 # by decomposePar. Notice -literalRE option to add wildcard itself
22 runParallel changeDictionary
2 -literalRE -enableFunctionEntries
24 cp system
/decomposeParDict-4proc system
/decomposeParDict
25 runParallel redistributeMeshPar
4 -overwrite
26 runParallel renumberMesh
4 -overwrite
28 # Add wildcard entries for meshes patches since not preserved
29 # by decomposePar. Notice -literalRE option to add wildcard itself
31 #runParallel changeDictionary 4 -literalRE
33 runParallel setSet
4 -batch makeZones
34 runParallel
`getApplication` 4
36 runApplication reconstructParMesh
-constant
37 runApplication reconstructPar
39 # ----------------------------------------------------------------- end-of-file