simpleShapes

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

runApplication surfaceOrient \r
constant/triSurface/cone.stl \r
-inside ‘(0 -0.5 0)’ \r
constant/triSurface/cone_orient.stl
mv log.surfaceOrient log.surfaceOrient.cone

runApplication surfaceOrient \r
constant/triSurface/sphere.stl \r
-inside ‘(0 -0.5 0)’ \r
constant/triSurface/sphere_orient.stl
mv log.surfaceOrient log.surfaceOrient.sphere

runApplication surfaceBooleanFeatures intersection \r
constant/triSurface/cone_orient.stl \r
constant/triSurface/sphere_orient.stl

runApplication foamyHexMesh

runApplication collapseEdges -latestTime -collapseFaceSet indirectPatchFaces
mv log.collapseEdges log.collapseFaceSet

runApplication collapseEdges -latestTime -collapseFaces

# —————————————————————– end-of-file

実行年月:04/15/2014