searchableSurface: Renamed geometry directory triSurface -> geometry

Originally the only supported geometry specification were triangulated surfaces,
hence the name of the directory: constant/triSurface, however now that other
surface specifications are supported and provided it is much more logical that
the directory is named accordingly: constant/geometry.  All tutorial and
template cases have been updated.

Note that backward compatibility is provided such that if the constant/geometry
directory does not exist but constant/triSurface does then the geometry files
are read from there.
This commit is contained in:
Henry Weller
2021-02-04 13:51:48 +00:00
parent 1e728ad7e3
commit 66c62e9296
171 changed files with 323 additions and 232 deletions

View File

@ -5,8 +5,8 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -r constant/extendedFeatureEdgeMesh constant/internalDelaunayVertices > /dev/null 2>&1
rm constant/triSurface/*.eMesh > /dev/null 2>&1
rm constant/triSurface/*_orient* > /dev/null 2>&1
rm constant/geometry/*.eMesh > /dev/null 2>&1
rm constant/geometry/*_orient* > /dev/null 2>&1
rm -r constant/polyMesh > /dev/null 2>&1
rm -r constant/polyMesh > /dev/null 2>&1
rm -r constant/tetDualMesh > /dev/null 2>&1

View File

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