#!/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#——————————————————————————
実行年月:07/18/2022