cylinder2D

#!/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 coarseMesh

runParallel $(getApplication)

runParallel -s main \r
redistributePar -reconstruct -overwrite

runParallel -s coarseMesh \r
redistributePar -reconstruct -region coarseMesh -time ‘100,200’ -overwrite

if notTest “$@”
then
runParallel -s main \r
createROMfields -dict system/ROMfieldsDict.main

runParallel -s coarse \r
createROMfields -region coarseMesh -dict system/ROMfieldsDict.coarse

runParallel -s postProcess \r
$(getApplication) -postProcess -fields ‘(U p)’ -time ’10:’
fi

#——————————————————————————

実行年月:08/02/2024