#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————restore0Dir
runApplication blockMesh
runApplication topoSet
runApplication createPatch -overwrite
runApplication decomposePar -force
runParallel $(getApplication)
runApplication reconstructPar
latestTime=$(foamListTimes -latestTime)
mv -f “$latestTime” “$latestTime”.bak
mkdir oldProcessors
mv -f processor* oldProcessors
runParallel -s “decompose” redistributePar -decompose -latestTime
runParallel -s “restart” $(getApplication)
runParallel -s “reconstruct” redistributePar -reconstruct -latestTime
#——————————————————————————
実行年月:01/18/2023