Skip to content
Snippets Groups Projects
Allrun 875 B
Newer Older
  • Learn to ignore specific revisions
  • #!/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
    
    
    #------------------------------------------------------------------------------