- include constant/faMesh cleanup (cleanFaMesh) as part of standard cleanCase - simplify cleanPolyMesh function to now just warn about old constant/polyMesh/blockMeshDict but not try to remove anything - cleanup cellDist.vtu (decomposePar -dry-run) as well ENH: foamRunTutorials - fallback to Allrun-parallel, Allrun-serial TUT: call m4 with file argument instead of redirected stdin TUT: adjust suffixes on decomposeParDict variants
20 lines
615 B
Bash
Executable File
20 lines
615 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
runApplication blockMesh
|
|
|
|
##- Serial run
|
|
#runApplication snappyHexMesh
|
|
#runApplication checkMesh -allTopology -allGeometry
|
|
|
|
#- Parallel run
|
|
runApplication decomposePar
|
|
runParallel snappyHexMesh
|
|
runParallel checkMesh -allTopology -allGeometry
|
|
|
|
#runApplication reconstructParMesh -constant
|
|
|
|
#------------------------------------------------------------------------------
|