mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Rename foamClearPolyMesh -> foamCleanPolyMesh for consistency with the other foamClear.* scripts
This commit is contained in:
@ -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 \
|
||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user