Rename foamClearPolyMesh -> foamCleanPolyMesh for consistency with the other foamClear.* scripts

This commit is contained in:
Henry
2015-01-11 15:42:10 +00:00
parent cbdaa86bd0
commit 3dd0c19758
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation # \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# License # License
@ -23,7 +23,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. # along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
# #
# Script # Script
# foamClearPolyMesh # foamCleanPolyMesh
# #
# Description # Description
# Remove the contents of the constant/polyMesh directory # Remove the contents of the constant/polyMesh directory
@ -116,7 +116,7 @@ fi
# remove files (mesh itself, modifiers, snappyHexMesh ones) and subdirectories # remove files (mesh itself, modifiers, snappyHexMesh ones) and subdirectories
# also remove .gz versions of the same files # also remove .gz versions of the same files
# #
echo "Clearing ${caseDir:-.}/$meshDir" 1>&2 echo "Cleaning ${caseDir:-.}/$meshDir" 1>&2
for i in \ for i in \
points \ points \

View File

@ -7,8 +7,8 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase cleanCase
foamClearPolyMesh -region air foamCleanPolyMesh -region air
foamClearPolyMesh -region porous foamCleanPolyMesh -region porous
rm -f *.OpenFOAM rm -f *.OpenFOAM