ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / tutorials / incompressible / windSimpleFoam / turbineSiting / Allrun
blob4959242f82ce1350389b70ae6a7e879dd8467a99
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 # Unset floating point trapping since creating processor directories
26 unset FOAM_SIGFPE
27 unset FOAM_SETNAN
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
33 # without evaluation.
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