#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————canCompile || exit 0 # Dynamic code
./Allrun.pre
runApplication decomposePar
cp -f system/decomposeParDict system/coarseMesh
runApplication -s coarseMesh \r
decomposePar -region coarseMeshrunParallel $(getApplication)
runParallel -s main \r
redistributePar -reconstruct -overwriterunParallel -s coarseMesh \r
redistributePar -reconstruct -region coarseMesh -time ‘100,200’ -overwriteif notTest “$@”
then
runParallel -s main \r
createROMfields -dict system/ROMfieldsDict.mainrunParallel -s coarse \r
createROMfields -region coarseMesh -dict system/ROMfieldsDict.coarserunParallel -s postProcess \r
$(getApplication) -postProcess -fields ‘(U p)’ -time ’10:’
fi#——————————————————————————
実行年月:08/02/2024