#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————runApplication blockMesh
runApplication datToFoam grid256.dat
runApplication collapseEdges -overwriteecho “Overwriting ‘patch’ type as ‘wedge’ type in ‘boundary’ dictionary”
sed -if ‘/wedge1/,/nFaces/{s/patch/wedge/};/wedge2/,/nFaces/{s/patch/wedge/}’\r
constant/polyMesh/boundaryrunApplication $(getApplication)
#——————————————————————————
実行年月:08/01/2020