#!/bin/sh
cd “${0%/*}” || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#——————————————————————————# copy motorbike surface from resources folder
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
runApplication surfaceFeatureExtractrunApplication blockMesh
runApplication decomposePar
runParallel snappyHexMesh -overwriterunParallel createZeroDirectory
runParallel patchSummary
runParallel potentialFoam -noFunctionObjects -writephi
runParallel $(getApplication)runApplication reconstructParMesh -constant
runApplication reconstructPar -latestTime#——————————————————————————
実行年月:02/01/2021