#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————# settings
# flag to enable computations in parallel mode
parallel=true#——————————————————————————
restore0Dir
if [ ! -d constant/polyMesh ]
thenrunApplication blockMesh
runApplication renumberMesh -overwrite -constant
runApplication checkMesh -allTopology -allGeometry -constant
fi
if [ “$parallel” = true ]
thenrunApplication decomposePar -cellDist
runParallel $(getApplication)
runApplication reconstructPar
else
runApplication $(getApplication)
fi
runApplication postChannel
#——————————————————————————
実行年月:07/02/2022