#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctionsrunApplication -log log.surfaceOrient.cone surfaceOrient \r
constant/triSurface/cone.stl \r
-inside ‘(0 -0.5 0)’ \r
constant/triSurface/cone_orient.stlrunApplication -log log.surfaceOrient.sphere surfaceOrient \r
constant/triSurface/sphere.stl \r
-inside ‘(0 -0.5 0)’ \r
constant/triSurface/sphere_orient.stlrunApplication surfaceBooleanFeatures intersection cone_orient.stl sphere_orient.stl
runApplication foamyHexMesh
runApplication -log log.collapseFaceSet collapseEdges -latestTime -collapseFaceSet indirectPatchFaces
runApplication collapseEdges -latestTime -collapseFaces
# —————————————————————– end-of-file
実行年月:03/03/2016