#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctionsrunApplication blockMesh
# Serial
runApplication snappyHexMesh -overwrite
runApplication $(getApplication)## Parallel
#runApplication decomposePar -fileHandler collated
#runParallel snappyHexMesh -overwrite -fileHandler collated
## Remove any include files from the field dictionaries
#( mkdir -p processors/0 && \r
# cd 0 && \r
# for f in *; do [ -f “$f” ] && \r
# foamDictionary “$f” > “../processors/0/$f”; done \r
#)
#
#runParallel $(getApplication) -fileHandler collated
#runApplication reconstructParMesh -constant
#runApplication reconstructPar#——————————————————————————
実行年月:07/01/2021