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 # Unset floating point trapping since creating processor directories
28 runParallel redistributeMeshPar
4 -overwrite
29 runParallel renumberMesh
4 -overwrite
31 # Add wildcard entries for meshes patches since not preserved
32 # by decomposePar. Notice -literalRE option to add wildcard itself
34 #runParallel changeDictionary 4 -literalRE
36 runParallel setSet
4 -batch makeZones
37 runParallel
`getApplication` 4
39 runApplication reconstructParMesh
-constant
40 runApplication reconstructPar
42 # ----------------------------------------------------------------- end-of-file