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 -s coarseMesh \r
renumberMesh -overwrite -region coarseMesh

runParallel $(getApplication)

runParallel -s main \r
redistributePar -reconstruct -overwrite

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

if notTest “$@”
then
runParallel -s postProcess \r
$(getApplication) -postProcess -fields ‘(U p)’ -time ’10:’
fi

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

実行年月:02/01/2022