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