29 lines
875 B
Bash
Executable File
29 lines
875 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
# restore0Dir
|
|
|
|
runApplication blockMesh
|
|
|
|
runApplication decomposePar
|
|
|
|
runParallel $(getApplication) -debug-switch GAMGAgglomeration
|
|
|
|
|
|
# Try again with random decomposition. Needs a few more cells to create
|
|
# proper agglomeration - otherwise processorAgglomerator complains
|
|
|
|
decompDict="-decomposeParDict system/decomposeParDict.random"
|
|
|
|
runApplication -s random \
|
|
decomposePar -force $decompDict
|
|
|
|
runParallel -s random refineMesh -overwrite $decompDict
|
|
|
|
runParallel -s random \
|
|
$(getApplication) $decompDict -debug-switch GAMGAgglomeration
|
|
|
|
#------------------------------------------------------------------------------
|