mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Surface utilities: standardised argument naming and ordering
for input and output surface files
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user