Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / tutorials / incompressible / windSimpleFoam / turbineSiting / Allrun
blobe47a1880630eaa2a59959d73e90a1429fccef8c0
1 #!/bin/sh
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
21 # without evaluation.
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
30 # without evaluation.
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