#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————# Make dummy 0 directory
rm -rf 0
mkdir 0runApplication blockMesh
cp system/decomposeParDict.hierarchical system/decomposeParDict
runApplication decomposeParcp system/decomposeParDict.ptscotch system/decomposeParDict
runParallel snappyHexMesh -overwritefind . -iname ‘*level*’ -type f -delete
# Set the initial fields
restore0Dir -processorrunParallel topoSet
runParallel $(getApplication)runApplication reconstructParMesh -constant
runApplication reconstructPar#——————————————————————————
実行年月:05/21/2020