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

@ -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