introvoyz042's picture
Migrated from GitHub
5a600cf verified
Raw History Blame Contribute Delete
693 Bytes
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh
# Serial
runApplication snappyHexMesh
runApplication foamRun
## Parallel
#runApplication decomposePar -fileHandler collated
#runParallel snappyHexMesh -fileHandler collated
#
## Remove any include files from the field dictionaries
#( mkdir -p processors/0 && \
# cd 0 && \
# for f in *; do [ -f "$f" ] && \
# foamDictionary "$f" > "../processors/0/$f"; done \
#)
#
#runParallel foamRun -fileHandler collated
#runApplication reconstructPar
#------------------------------------------------------------------------------