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,11 +5,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove surfaces
|
||||
rm -f constant/triSurface/propeller*.obj.gz > /dev/null 2>&1
|
||||
rm -f constant/geometry/propeller*.obj.gz > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
|
||||
rm -f constant/geometry/*.eMesh* > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Copy propeller surfaces from resources directory
|
||||
cp $FOAM_TUTORIALS/resources/geometry/propeller*.obj.gz constant/triSurface/
|
||||
cp $FOAM_TUTORIALS/resources/geometry/propeller*.obj.gz constant/geometry/
|
||||
|
||||
# Meshing
|
||||
runApplication blockMesh
|
||||
|
||||
@ -135,7 +135,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
|
||||
(
|
||||
{
|
||||
|
||||
@ -80,7 +80,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 -f constant/triSurface/motorBike.obj.gz
|
||||
rm -f constant/geometry/motorBike.obj.gz
|
||||
|
||||
cleanCase
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# copy motorbike surface from resources directory
|
||||
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
|
||||
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/geometry/
|
||||
|
||||
runApplication blockMesh
|
||||
cp system/decomposeParDict.hierarchical system/decomposeParDict
|
||||
|
||||
@ -88,7 +88,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
|
||||
(
|
||||
//{
|
||||
|
||||
@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
rm *.obj > /dev/null 2>&1
|
||||
rm -r constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm constant/triSurface/boundaryAndFaceZones.eMesh > /dev/null 2>&1
|
||||
rm constant/geometry/boundaryAndFaceZones.eMesh > /dev/null 2>&1
|
||||
rm constant/polyMesh/boundary > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
2013-10-01 Meshing the angledDuct geometry.
|
||||
|
||||
constant/triSurface/angledDuct.stl
|
||||
constant/geometry/angledDuct.stl
|
||||
outer geometry
|
||||
|
||||
constant/triSurface/boundaryAndFaceZones.stl
|
||||
constant/geometry/boundaryAndFaceZones.stl
|
||||
boundary and faceZones to extract feature
|
||||
edges from.
|
||||
|
||||
@ -23,7 +23,7 @@ surfaceFeatures
|
||||
|
||||
|
||||
|
||||
constant/triSurface/porosity_inflated.stl
|
||||
constant/geometry/porosity_inflated.stl
|
||||
block around porosity
|
||||
(slightly inflated)
|
||||
|
||||
|
||||
@ -5,9 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove surface and features
|
||||
rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
|
||||
rm -f constant/geometry/motorBike.obj.gz > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
|
||||
rm -f constant/geometry/motorBike.eMesh > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Copy motorbike surface from resources directory
|
||||
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
|
||||
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/geometry/
|
||||
runApplication surfaceFeatures
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
@ -87,7 +87,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,8 +5,8 @@
|
||||
|
||||
# remove surface and features
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/rotatingZone.eMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/fixed.eMesh > /dev/null 2>&1
|
||||
rm -f constant/geometry/rotatingZone.eMesh > /dev/null 2>&1
|
||||
rm -f constant/geometry/fixed.eMesh > /dev/null 2>&1
|
||||
rm -f 0/pointLevel > /dev/null 2>&1
|
||||
rm -f 0/cellLevel > /dev/null 2>&1
|
||||
|
||||
|
||||
@ -96,7 +96,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
|
||||
(
|
||||
//{
|
||||
|
||||
@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
cleanCase
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/buildings.eMesh > /dev/null 2>&1
|
||||
rm -f constant/geometry/buildings.eMesh > /dev/null 2>&1
|
||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user