#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————restore0Dir
m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMeshrunApplication topoSet
runApplication snappyHexMesh -overwrite
runApplication extrudeToRegionMesh -overwrite
runApplication decomposePar
runApplication -s panelRegion decomposePar -region panelRegion
runParallel $(getApplication)
paraFoam -touch
paraFoam -touch -region panelRegionif notTest “$@”
then
(cd validation && ./plot)
fi#——————————————————————————
実行年月:08/01/2021