STYLE: surfaceMeshTriangulate renamed to surfaceMeshExtract
- the utility had automatic triangulation removed some time ago, but never changed its name. - catch old uses with a surfaceMeshTriangulate deprecated script
This commit is contained in:
parent
2c70dfc51d
commit
855faae858
@ -17,12 +17,13 @@ surfaceCoarsen
|
||||
surfaceConvert
|
||||
- Converts surfaces to/from various formats
|
||||
|
||||
surfaceMeshExtract
|
||||
- Extracts mesh patches (or faceSets) and writes as a single surface.
|
||||
- foamToSurface duplicates this
|
||||
|
||||
surfaceFind
|
||||
- Finds nearest vertex and face to given point.
|
||||
|
||||
surfaceMeshTriangulate
|
||||
- Triangulate external faces of mesh and write as surface.
|
||||
|
||||
surfacePointMerge
|
||||
- Explicit point merge of surface.
|
||||
|
||||
|
@ -0,0 +1,3 @@
|
||||
surfaceMeshExtract.C
|
||||
|
||||
EXE = $(FOAM_APPBIN)/surfaceMeshExtract
|
@ -5,4 +5,3 @@ EXE_INC = \
|
||||
EXE_LIBS = \
|
||||
-lmeshTools \
|
||||
-lsurfMesh
|
||||
|
@ -1,3 +0,0 @@
|
||||
surfaceMeshTriangulate.C
|
||||
|
||||
EXE = $(FOAM_APPBIN)/surfaceMeshTriangulate
|
27
bin/deprecated/surfaceMeshTriangulate
Executable file
27
bin/deprecated/surfaceMeshTriangulate
Executable file
@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
#------------------------------------------------------------------------------
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 2018 OpenCFD Ltd.
|
||||
# \\/ M anipulation |
|
||||
#------------------------------------------------------------------------------
|
||||
# License
|
||||
# This file is part of OpenFOAM, licensed under GNU General Public License
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# File
|
||||
# surfaceMeshTriangulate
|
||||
#
|
||||
# Description
|
||||
# Renamed surfaceMeshTriangulate to surfaceMeshExtract (2018-12-21)
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
echo
|
||||
echo "FOAM FATAL"
|
||||
echo "${0##*/} has been superceded by surfaceMeshExtract (DEC-2018)"
|
||||
|
||||
exit 1
|
||||
|
||||
#------------------------------------------------------------------------------
|
1
bin/surfaceMeshTriangulate
Symbolic link
1
bin/surfaceMeshTriangulate
Symbolic link
@ -0,0 +1 @@
|
||||
deprecated/surfaceMeshTriangulate
|
@ -258,9 +258,9 @@ _of_complete_cache_[surfaceInflate]="-case -featureAngle -fileHandler -nSmooth |
|
||||
_of_complete_cache_[surfaceLambdaMuSmooth]="-featureFile | -doc -doc-source -help"
|
||||
_of_complete_cache_[surfaceMeshConvert]="-case -dict -fileHandler -from -scaleIn -scaleOut -to | -clean -noFunctionObjects -tri -doc -doc-source -help"
|
||||
_of_complete_cache_[surfaceMeshExport]="-case -dict -fileHandler -from -name -scaleIn -scaleOut -to | -clean -noFunctionObjects -doc -doc-source -help"
|
||||
_of_complete_cache_[surfaceMeshExtract]="-case -decomposeParDict -faceZones -fileHandler -patches -region -time | -constant -excludeProcPatches -latestTime -noFunctionObjects -noZero -parallel -doc -doc-source -help"
|
||||
_of_complete_cache_[surfaceMeshImport]="-case -dict -fileHandler -from -name -scaleIn -scaleOut -to | -clean -noFunctionObjects -doc -doc-source -help"
|
||||
_of_complete_cache_[surfaceMeshInfo]="-case -fileHandler -scale | -areas -noFunctionObjects -xml -doc -doc-source -help"
|
||||
_of_complete_cache_[surfaceMeshTriangulate]="-case -decomposeParDict -faceZones -fileHandler -patches -region -time | -constant -excludeProcPatches -latestTime -noFunctionObjects -noZero -parallel -doc -doc-source -help"
|
||||
_of_complete_cache_[surfaceOrient]="-case -fileHandler -scale | -inside -noFunctionObjects -usePierceTest -doc -doc-source -help"
|
||||
_of_complete_cache_[surfacePatch]="-case -dict -fileHandler | -noFunctionObjects -doc -doc-source -help"
|
||||
_of_complete_cache_[surfacePointMerge]="-case -fileHandler -scale | -noFunctionObjects -doc -doc-source -help"
|
||||
|
@ -14,7 +14,7 @@ runApplication topoSet
|
||||
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
runApplication surfaceMeshTriangulate \
|
||||
runApplication surfaceMeshExtract \
|
||||
-patches hole ppGeometry.vtp -constant -time none
|
||||
|
||||
echo "End"
|
||||
|
@ -16,7 +16,7 @@ constant/triSurface/boundaryAndFaceZones.stl
|
||||
faceSet porosityFaces subset cellToFace porosity all
|
||||
faceZoneSet porosityFaces new setToFaceZone porosityFaces
|
||||
|
||||
surfaceMeshTriangulate -faceZones '(porosityFaces)' boundaryAndFaceZones.stl
|
||||
surfaceMeshExtract -faceZones '(porosityFaces)' boundaryAndFaceZones.obj
|
||||
)
|
||||
|
||||
surfaceFeatureExtract
|
||||
|
Loading…
Reference in New Issue
Block a user