#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————mkdir -p constant/triSurface
cp -f \r
“$FOAM_TUTORIALS”/resources/geometry/fridgeA.eMesh \r
constant/triSurfacerunApplication blockMesh
## Serial
#runApplication snappyHexMesh -overwrite
#runApplication $(getApplication)## Parallel
runApplication decomposePar -fileHandler collated
runParallel snappyHexMesh -overwrite -fileHandler collated
runApplication reconstructParMesh -constant -fileHandler collated#——————————————————————————
実行年月:08/01/2021