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

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