Surface utilities: standardised argument naming and ordering

for input and output surface files
This commit is contained in:
Chris Greenshields
2017-05-12 14:43:10 +01:00
parent 3aec2ad4ac
commit da6b1bf361
29 changed files with 101 additions and 105 deletions

View File

@ -6,18 +6,19 @@ cd ${0%/*} || exit 1 # Run from this directory
runApplication -s cone \
surfaceOrient constant/triSurface/cone.stl \
-inside '(0 -0.5 0)' \
constant/triSurface/cone_orient.stl
constant/triSurface/cone_orient.stl \
-inside '(0 -0.5 0)'
runApplication -s sphere \
surfaceOrient constant/triSurface/sphere.stl \
-inside '(0 -0.5 0)' \
constant/triSurface/sphere_orient.stl
constant/triSurface/sphere_orient.stl \
-inside '(0 -0.5 0)'
runApplication \
surfaceBooleanFeatures intersection \
constant/triSurface/cone_orient.stl \
constant/triSurface/sphere_orient.stl
surfaceBooleanFeatures \
constant/triSurface/cone_orient.stl \
constant/triSurface/sphere_orient.stl \
intersection
runApplication foamyHexMesh

View File

@ -4,11 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Make sure surface is oriented properly. Since the letters
# contain disconnected regions use
# surfaceOrient -usePierceTest
cp system/controlDict.mesher system/controlDict
runApplication surfaceFeatureExtract