tutorials: remove redirects to /dev/null

This commit is contained in:
Chris Greenshields
2021-06-21 16:44:38 +01:00
parent ca35389788
commit 5f64d07ca8
48 changed files with 121 additions and 166 deletions

View File

@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | Website: https://openfoam.org
# \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
@ -42,46 +42,39 @@ cleanCase()
done
rm -rf ./[1-9]* ./-[1-9]* ./log ./log.* ./logSummary.* \
./*.OpenFOAM ./*.blockMesh ./*.foam ./.setSet > /dev/null 2>&1
./*.OpenFOAM ./*.blockMesh ./*.foam ./.setSet
if [ -d system -a -d dynamicCode ]
then
rm -rf dynamicCode > /dev/null 2>&1
fi
[ -d system ] && [ -d dynamicCode ] && rm -rf dynamicCode
rm -rf processor* > /dev/null 2>&1
rm -rf jobInfo > /dev/null 2>&1
rm -rf postProcessing > /dev/null 2>&1
rm -rf TDAC > /dev/null 2>&1
rm -rf processor*
rm -rf jobInfo
rm -rf postProcessing
rm -rf TDAC
if [ -d constant/polyMesh ]
then
rm -rf constant/polyMesh > /dev/null 2>&1
fi
if [ -d constant ]
then
(cd constant && \
rm -rf \
cellToRegion cellLevel* pointLevel* \
> /dev/null 2>&1 \
)
fi
rm -rf constant/polyMesh
rm -f constant/cellToRegion \
constant/cellLevel* \
constant/pointLevel*
rm -rf constant/tetDualMesh > /dev/null 2>&1
rm -rf VTK > /dev/null 2>&1
rm -rf sequencedVTK > /dev/null 2>&1
rm -rf constant/tetDualMesh
rm -rf 0/polyMesh 0/cellLevel 0/pointLevel 0/cellDist constant/cellDecomposition
rm -rf VTK
rm -rf sequencedVTK
if [ -e system/blockMeshDict.m4 ]
then
rm -f system/blockMeshDict > /dev/null 2>&1
fi
rm -rf 0/polyMesh 0/cellLevel \
0/pointLevel 0/cellDist \
constant/cellDecomposition
find . -name "*.orig" -type f -exec sh -c 'rm -f ${0%.*} ${0%.*}.gz' {} \;
}
cleanExplicitFeatures()
{
rm -rf constant/extendedFeatureEdgeMesh
rm -f constant/geometry/*.eMesh*
}
cleanVoFCase()
{
cleanCase

View File

@ -9,7 +9,7 @@ echo "Removing backup files"
find . -type f \( -name "*~" -o -name "*.bak" \) -exec rm {} \;
find . \( -name core -o -name 'core.[1-9]*' \) -exec rm {} \;
find . \( -name '*.pvs' -o -name '*.OpenFOAM' \) -exec rm {} \;
rm logs testLoopReport > /dev/null 2>&1
rm -rf logs testLoopReport
foamCleanTutorials cases

View File

@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -rf EnSight Ensight Fieldview > /dev/null 2>&1
rm -f constant/polyMesh/boundary > /dev/null 2>&1
rm -rf EnSight Ensight Fieldview
#------------------------------------------------------------------------------

View File

@ -4,8 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
find 0 -type f ! -name "*.*" -delete > /dev/null 2>&1
find 0 -type f ! -name "*.*" -delete
cleanCase
rm -rf constant
#------------------------------------------------------------------------------

View File

@ -4,8 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
find 0 -type f ! -name "*.*" -delete > /dev/null 2>&1
find 0 -type f ! -name "*.*" -delete
cleanCase
rm -rf constant
#------------------------------------------------------------------------------

View File

@ -7,8 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
mv ./-180 temp180
cleanCase
rm -rf 0 > /dev/null 2>&1
rm -f constant/polyMesh/boundary > /dev/null 2>&1
rm -rf 0
mv temp180 ./-180

View File

@ -5,6 +5,6 @@ cd "${0%/*}" || exit 1 # Run from this directory
. "$WM_PROJECT_DIR/bin/tools/CleanFunctions"
cleanCase
rm -rf constant/polyMesh/boundary 0/pointPriority
rm -f 0/pointPriority
#------------------------------------------------------------------------------

View File

@ -5,10 +5,10 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surface
rm -f constant/geometry/NACA0012.obj.gz > /dev/null 2>&1
rm -f constant/geometry/NACA0012.obj.gz
cleanCase
rm constant/geometry/boundaryLayer.obj > /dev/null 2>&1
rm -f constant/geometry/boundaryLayer.obj
#------------------------------------------------------------------------------

View File

@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -5,6 +5,5 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -f constant/polyMesh/boundary > /dev/null 2>&1
#------------------------------------------------------------------------------

View File

@ -5,11 +5,11 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surface
rm -f constant/geometry/NACA0012.obj.gz > /dev/null 2>&1
rm -f constant/geometry/NACA0012.obj.gz
cleanCase
rm 0/Ma > /dev/null 2>&1
rm constant/geometry/boundaryLayer.obj > /dev/null 2>&1
rm -f 0/Ma
rm -f constant/geometry/boundaryLayer.obj
#------------------------------------------------------------------------------

View File

@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform > /dev/null 2>&1
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform
#------------------------------------------------------------------------------

View File

@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform > /dev/null 2>&1
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform
#------------------------------------------------------------------------------

View File

@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform > /dev/null 2>&1
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform
#------------------------------------------------------------------------------

View File

@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform > /dev/null 2>&1
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform
#------------------------------------------------------------------------------

View File

@ -6,7 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase
rm -rf constant/baffle3DRegion
rm -rf constant/polyMesh/boundary
rm -rf 0
#------------------------------------------------------------------------------

View File

@ -8,7 +8,6 @@ cleanCase
rm -rf comms
killall externalSolver > /dev/null 2>&1
killall -q externalSolver
#------------------------------------------------------------------------------

View File

@ -20,7 +20,7 @@ removeRegionDirs ()
cleanCase
removeRegionDirs
rm -rf 0 > /dev/null 2>&1
rm -rf constant/regionProperties > /dev/null 2>&1
rm -rf 0
rm -f constant/regionProperties
#------------------------------------------------------------------------------

View File

@ -4,7 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -f constant/polyMesh/boundary > /dev/null 2>&1
rm -rf fluentInterface
cleanCase

View File

@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surfaces
rm -f constant/geometry/propeller*.obj.gz > /dev/null 2>&1
rm -f constant/geometry/propeller*.obj.gz
cleanCase
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/*.eMesh* > /dev/null 2>&1
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -6,8 +6,4 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase
# Delete OBJ files that are created by createPatch,
# when 'dumpCyclicMatches' set to true.
rm -f $objFiles > /dev/null 2>&1
#------------------------------------------------------------------------------

View File

@ -4,11 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm *.obj > /dev/null 2>&1
rm -r constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm constant/geometry/boundaryAndFaceZones.eMesh > /dev/null 2>&1
rm constant/polyMesh/boundary > /dev/null 2>&1
rm -f *.obj
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -4,6 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
# Clean time directories only
rm -rf *[1-9]*
rm -f log.* 2>/dev/null
rm -f log.*
#------------------------------------------------------------------------------

View File

@ -5,10 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surface and features
rm -f constant/geometry/motorBike.obj.gz > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/motorBike.eMesh > /dev/null 2>&1
rm -f constant/geometry/motorBike.obj.gz
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -3,11 +3,7 @@
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface and features
rm -rf constant/extendedFeatureEdgeMesh > /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
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -5,9 +5,6 @@ cd ${0%/*} || exit 1 # run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/buildings.eMesh > /dev/null 2>&1
rm -f constant/polyMesh/boundary > /dev/null 2>&1
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -6,20 +6,19 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase
rm -rf 0 > /dev/null 2>&1
rm -rf 0
rm -rf constant/cellAlignments > /dev/null 2>&1
rm -rf constant/targetCellSize > /dev/null 2>&1
rm -rf constant/internalDelaunayVertices > /dev/null 2>&1
rm -f constant/cellAlignments
rm -f constant/targetCellSize
rm -f constant/internalDelaunayVertices
rm -rf constant/backgroundMeshDecomposition/polyMesh/boundary > /dev/null 2>&1
rm -rf constant/backgroundMeshDecomposition/polyMesh/faces > /dev/null 2>&1
rm -rf constant/backgroundMeshDecomposition/polyMesh/neighbour > /dev/null 2>&1
rm -rf constant/backgroundMeshDecomposition/polyMesh/owner > /dev/null 2>&1
rm -rf constant/backgroundMeshDecomposition/polyMesh/points > /dev/null 2>&1
for f in points faces owner neighbour boundary
do
rm -f constant/backgroundMeshDecomposition/polyMesh/$f
done
rm -rf snapToSurface?.obj > /dev/null 2>&1
rm -rf tetsToSnapTo.obj > /dev/null 2>&1
rm -f snapToSurface?.obj
rm -f tetsToSnapTo.obj
#------------------------------------------------------------------------------

View File

@ -4,21 +4,20 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -r constant/geometry/flange.stl.gz > /dev/null 2>&1
rm -f constant/geometry/flange.stl.gz
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -r constant/ccx constant/ccy constant/ccz > /dev/null 2>&1
rm -r constant/internalDelaunayVertices constant/targetCellSize > /dev/null 2>&1
rm -r 0 > /dev/null 2>&1
rm -f constant/ccx constant/ccy constant/ccz
rm -f constant/internalDelaunayVertices constant/targetCellSize
rm -rf 0
rm -rf constant/backgroundMeshDecomposition/polyMesh/boundary > /dev/null 2>&1
rm -rf constant/backgroundMeshDecomposition/polyMesh/faces > /dev/null 2>&1
rm -rf constant/backgroundMeshDecomposition/polyMesh/neighbour > /dev/null 2>&1
rm -rf constant/backgroundMeshDecomposition/polyMesh/owner > /dev/null 2>&1
rm -rf constant/backgroundMeshDecomposition/polyMesh/points > /dev/null 2>&1
for f in points faces owner neighbour boundary
do
rm -f constant/backgroundMeshDecomposition/polyMesh/$f
done
rm -r *.obj > /dev/null 2>&1
rm -rf *.obj
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -4,19 +4,18 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -r constant/extendedFeatureEdgeMesh constant/internalDelaunayVertices > /dev/null 2>&1
rm constant/geometry/*.eMesh > /dev/null 2>&1
rm constant/geometry/*_orient* > /dev/null 2>&1
rm -r constant/polyMesh > /dev/null 2>&1
rm -r constant/polyMesh > /dev/null 2>&1
rm -r constant/tetDualMesh > /dev/null 2>&1
rm -rf constant/internalDelaunayVertices
rm -f constant/geometry/*_orient*
rm -rf constant/polyMesh
rm -rf constant/tetDualMesh
rm -r snapToSurface?.obj tetsToSnapTo.obj > /dev/null 2>&1
rm -f snapToSurface?.obj tetsToSnapTo.obj
rm domain coneAndSphere > /dev/null 2>&1
rm -f domain coneAndSphere
rm -rf 0/
rm -rf 0
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -4,13 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -rf constant/geometry/jaggedBoundary.eMesh > /dev/null 2>&1
rm -rf constant/polyMesh > /dev/null 2>&1
rm -rf constant/polyMesh
rm -rf MeshedSurface.obj > /dev/null 2>&1
rm -f MeshedSurface*.obj
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -4,13 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -rf constant/geometry/unit_cube.eMesh > /dev/null 2>&1
rm -rf constant/polyMesh > /dev/null 2>&1
rm -rf constant/polyMesh
rm -rf MeshedSurface*.obj > /dev/null 2>&1
rm -f MeshedSurface*.obj
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf 0 > /dev/null 2>&1
rm -rf 0
cleanCase

View File

@ -7,12 +7,10 @@ cd ${0%/*} || exit 1 # Run from this directory
# Remove surface
rm -f constant/geometry/flange.stl.gz
rm -rf 0 > /dev/null 2>&1
rm -f ./flange ./*.obj > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/flange.eMesh > /dev/null 2>&1
rm -f constant/polyMesh/boundary
rm -rf 0
rm -f ./flange ./*.obj
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -7,8 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Remove surface
rm -rf constant/geometry
rm -rf constant/extendedFeatureEdgeMesh
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf constant/polyMesh/sets > /dev/null 2>&1
rm -rf 0/polyMesh > /dev/null 2>&1
rm system/topoSetDict > /dev/null 2>&1
rm -rf constant/polyMesh/sets
rm -rf 0/polyMesh
rm -f system/topoSetDict
cleanCase
#------------------------------------------------------------------------------

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm system/topoSetDict > /dev/null 2>&1
rm -f system/topoSetDict
cleanCase
#------------------------------------------------------------------------------

View File

@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf constant/polyMesh/sets > /dev/null 2>&1
rm -rf 0/polyMesh > /dev/null 2>&1
rm system/topoSetDict > /dev/null 2>&1
rm -rf constant/polyMesh/sets
rm -rf 0/polyMesh
rm -f system/topoSetDict
cleanCase
#------------------------------------------------------------------------------

View File

@ -4,6 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
# Clean time directories only
rm -rf *[1-9]*
rm -f log.* 2>/dev/null
rm -f log.*
#------------------------------------------------------------------------------

View File

@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm system/topoSetDict > /dev/null 2>&1
rm -f system/topoSetDict
#------------------------------------------------------------------------------

View File

@ -5,10 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surface
rm -f constant/geometry/DTC-scaled.stl.gz > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/DTC-scaled.eMesh > /dev/null 2>&1
rm -f constant/geometry/DTC-scaled.stl.gz
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -5,10 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surface
rm -f constant/geometry/DTC-scaled.stl.gz > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/DTC-scaled.eMesh > /dev/null 2>&1
rm -f constant/geometry/DTC-scaled.stl.gz
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -5,10 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surface
rm -f constant/geometry/DTC-scaled.stl.gz > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/DTC-scaled.eMesh > /dev/null 2>&1
rm -f constant/geometry/DTC-scaled.stl.gz
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surfaces
rm -f constant/geometry/mixerVessel*.stl.gz > /dev/null 2>&1
rm -f constant/geometry/mixerVessel*.stl.gz
cleanCase
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/*.eMesh* > /dev/null 2>&1
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surface
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/w3.eMesh > /dev/null 2>&1
rm -f constant/geometry/w3.stl > /dev/null 2>&1
rm -rf sequencedVTK > /dev/null 2>&1
rm -f constant/geometry/w3.stl
cleanCase
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove surfaces
rm -f constant/geometry/propeller*.obj.gz > /dev/null 2>&1
rm -f constant/geometry/propeller*.obj.gz
cleanCase
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/geometry/*.eMesh* > /dev/null 2>&1
cleanExplicitFeatures
#------------------------------------------------------------------------------

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm 0/alpha.water.gz 0/alpha.water 2>/dev/null
rm -f 0/alpha.water.gz 0/alpha.water
rm -rf *Flux
cleanCase

View File

@ -4,6 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm 0/alpha.liquid.gz 0/alpha.liquid 2>/dev/null
rm -f 0/alpha.liquid.gz 0/alpha.liquid
cleanCase

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm system/cellSetDict > /dev/null 2>&1
rm -f system/cellSetDict
cleanCase