simpleShapes

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

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

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

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

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

runApplication foamyHexMesh

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

runApplication -s collapseFaces \r
collapseEdges -latestTime -collapseFaces

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

実行年月:10/01/2020