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,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
#------------------------------------------------------------------------------