openfoam/tutorials/mesh/snappyHexMesh/sphere_gapClosure/Allrun
Mark Olesen d5cdc60a54 BUG: processorMeshes removeFiles does not remove collated (fixes #2607)
ENH: extend rmDir to handle removal of empty directories only

- recursively remove directories that only contain other directories
  but no other contents. Treats dead links as non-content.
2022-10-11 17:58:22 +02:00

24 lines
905 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
fileHandler="-fileHandler collated"
decomp16="-decomposeParDict system/decomposeParDict.16"
runApplication blockMesh
##- Serial run
#runApplication snappyHexMesh -overwrite $fileHandler
#runApplication checkMesh -allTopology -allGeometry
#- Parallel run
runParallel -s decompose redistributePar -decompose -constant $fileHandler
runParallel snappyHexMesh -overwrite $fileHandler
runParallel checkMesh -allTopology -allGeometry $fileHandler
# runParallel -s redistrib $decomp16 redistributePar -constant $fileHandler
#runApplication reconstructParMesh -constant $fileHandler
#------------------------------------------------------------------------------