simpleShapes

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions

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

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

runApplication \r
surfaceBooleanFeatures intersection cone_orient.stl sphere_orient.stl

runApplication foamyHexMesh

runApplication -s collapseFaceSet \r
collapseEdges -latestTime -collapseFaceSet indirectPatchFaces

runApplication -s collapseFaces \r
collapseEdges -latestTime -collapseFaces

#——————————————————————————

実行年月:06/19/2020