From 3dd0c197586e06a69cdd0893f4a6c5f186b4f45e Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Sun, 11 Jan 2015 15:42:10 +0000
Subject: [PATCH] Rename foamClearPolyMesh -> foamCleanPolyMesh for consistency
 with the other foamClear.* scripts

---
 bin/{foamClearPolyMesh => foamCleanPolyMesh}                | 6 +++---
 .../chtMultiRegionSimpleFoam/heatExchanger/Allclean         | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
 rename bin/{foamClearPolyMesh => foamCleanPolyMesh} (96%)

diff --git a/bin/foamClearPolyMesh b/bin/foamCleanPolyMesh
similarity index 96%
rename from bin/foamClearPolyMesh
rename to bin/foamCleanPolyMesh
index a0c955a046b..fa97a904311 100755
--- a/bin/foamClearPolyMesh
+++ b/bin/foamCleanPolyMesh
@@ -3,7 +3,7 @@
 # =========                 |
 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
 #  \\    /   O peration     |
-#   \\  /    A nd           | Copyright (C) 2011-2012 OpenFOAM Foundation
+#   \\  /    A nd           | Copyright (C) 2011-2015 OpenFOAM Foundation
 #    \\/     M anipulation  |
 #-------------------------------------------------------------------------------
 # License
@@ -23,7 +23,7 @@
 #     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
 #
 # Script
-#     foamClearPolyMesh
+#     foamCleanPolyMesh
 #
 # Description
 #    Remove the contents of the constant/polyMesh directory
@@ -116,7 +116,7 @@ fi
 # remove files (mesh itself, modifiers, snappyHexMesh ones) and subdirectories
 # also remove .gz versions of the same files
 #
-echo "Clearing ${caseDir:-.}/$meshDir" 1>&2
+echo "Cleaning ${caseDir:-.}/$meshDir" 1>&2
 
 for i in \
     points \
diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allclean b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allclean
index 04e7966f270..0cfcbc5894d 100755
--- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allclean
+++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allclean
@@ -7,8 +7,8 @@ cd ${0%/*} || exit 1    # Run from this directory
 
 cleanCase
 
-foamClearPolyMesh -region air
-foamClearPolyMesh -region porous
+foamCleanPolyMesh -region air
+foamCleanPolyMesh -region porous
 
 rm -f *.OpenFOAM
 
-- 
GitLab