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:
@ -5,12 +5,12 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove surface
|
||||
rm -f constant/triSurface/flange.stl.gz
|
||||
rm -f constant/geometry/flange.stl.gz
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -f ./flange ./*.obj > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/flange.eMesh > /dev/null 2>&1
|
||||
rm -f constant/geometry/flange.eMesh > /dev/null 2>&1
|
||||
rm -f constant/polyMesh/boundary
|
||||
|
||||
cleanCase
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Copy flange surface from resources directory
|
||||
cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/triSurface/
|
||||
cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/geometry/
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication surfaceFeatures
|
||||
|
||||
@ -82,7 +82,7 @@ castellatedMeshControls
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// Specifies a level for any cell intersected by its edges.
|
||||
// This is a featureEdgeMesh, read from constant/triSurface for now.
|
||||
// This is a featureEdgeMesh, read from constant/geometry for now.
|
||||
features
|
||||
(
|
||||
{
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove surface
|
||||
rm -rf constant/triSurface
|
||||
rm -rf constant/geometry
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Copy pipe surface from resources directory
|
||||
mkdir -p constant/triSurface
|
||||
cp $FOAM_TUTORIALS/resources/geometry/pipe*.obj.gz constant/triSurface/
|
||||
mkdir -p constant/geometry
|
||||
cp $FOAM_TUTORIALS/resources/geometry/pipe*.obj.gz constant/geometry/
|
||||
|
||||
runApplication surfaceFeatures
|
||||
runApplication blockMesh
|
||||
|
||||
Reference in New Issue
Block a user