tutorials: remove redirects to /dev/null
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration | Website: https://openfoam.org
|
# \\ / O peration | Website: https://openfoam.org
|
||||||
# \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -42,46 +42,39 @@ cleanCase()
|
|||||||
done
|
done
|
||||||
|
|
||||||
rm -rf ./[1-9]* ./-[1-9]* ./log ./log.* ./logSummary.* \
|
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 ]
|
[ -d system ] && [ -d dynamicCode ] && rm -rf dynamicCode
|
||||||
then
|
|
||||||
rm -rf dynamicCode > /dev/null 2>&1
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf processor* > /dev/null 2>&1
|
rm -rf processor*
|
||||||
rm -rf jobInfo > /dev/null 2>&1
|
rm -rf jobInfo
|
||||||
rm -rf postProcessing > /dev/null 2>&1
|
rm -rf postProcessing
|
||||||
rm -rf TDAC > /dev/null 2>&1
|
rm -rf TDAC
|
||||||
|
|
||||||
if [ -d constant/polyMesh ]
|
rm -rf constant/polyMesh
|
||||||
then
|
rm -f constant/cellToRegion \
|
||||||
rm -rf constant/polyMesh > /dev/null 2>&1
|
constant/cellLevel* \
|
||||||
fi
|
constant/pointLevel*
|
||||||
if [ -d constant ]
|
|
||||||
then
|
|
||||||
(cd constant && \
|
|
||||||
rm -rf \
|
|
||||||
cellToRegion cellLevel* pointLevel* \
|
|
||||||
> /dev/null 2>&1 \
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf constant/tetDualMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
rm -rf VTK > /dev/null 2>&1
|
rm -rf constant/tetDualMesh
|
||||||
rm -rf sequencedVTK > /dev/null 2>&1
|
|
||||||
|
|
||||||
rm -rf 0/polyMesh 0/cellLevel 0/pointLevel 0/cellDist constant/cellDecomposition
|
rm -rf VTK
|
||||||
|
rm -rf sequencedVTK
|
||||||
|
|
||||||
if [ -e system/blockMeshDict.m4 ]
|
rm -rf 0/polyMesh 0/cellLevel \
|
||||||
then
|
0/pointLevel 0/cellDist \
|
||||||
rm -f system/blockMeshDict > /dev/null 2>&1
|
constant/cellDecomposition
|
||||||
fi
|
|
||||||
|
|
||||||
find . -name "*.orig" -type f -exec sh -c 'rm -f ${0%.*} ${0%.*}.gz' {} \;
|
find . -name "*.orig" -type f -exec sh -c 'rm -f ${0%.*} ${0%.*}.gz' {} \;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cleanExplicitFeatures()
|
||||||
|
{
|
||||||
|
rm -rf constant/extendedFeatureEdgeMesh
|
||||||
|
rm -f constant/geometry/*.eMesh*
|
||||||
|
}
|
||||||
|
|
||||||
cleanVoFCase()
|
cleanVoFCase()
|
||||||
{
|
{
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|||||||
@ -9,7 +9,7 @@ echo "Removing backup files"
|
|||||||
find . -type f \( -name "*~" -o -name "*.bak" \) -exec rm {} \;
|
find . -type f \( -name "*~" -o -name "*.bak" \) -exec rm {} \;
|
||||||
find . \( -name core -o -name 'core.[1-9]*' \) -exec rm {} \;
|
find . \( -name core -o -name 'core.[1-9]*' \) -exec rm {} \;
|
||||||
find . \( -name '*.pvs' -o -name '*.OpenFOAM' \) -exec rm {} \;
|
find . \( -name '*.pvs' -o -name '*.OpenFOAM' \) -exec rm {} \;
|
||||||
rm logs testLoopReport > /dev/null 2>&1
|
rm -rf logs testLoopReport
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf EnSight Ensight Fieldview > /dev/null 2>&1
|
rm -rf EnSight Ensight Fieldview
|
||||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,8 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
find 0 -type f ! -name "*.*" -delete > /dev/null 2>&1
|
find 0 -type f ! -name "*.*" -delete
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
|
rm -rf constant
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,8 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
find 0 -type f ! -name "*.*" -delete > /dev/null 2>&1
|
find 0 -type f ! -name "*.*" -delete
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
|
rm -rf constant
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,8 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
mv ./-180 temp180
|
mv ./-180 temp180
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
rm -rf 0 > /dev/null 2>&1
|
rm -rf 0
|
||||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
|
||||||
|
|
||||||
mv temp180 ./-180
|
mv temp180 ./-180
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,6 @@ cd "${0%/*}" || exit 1 # Run from this directory
|
|||||||
. "$WM_PROJECT_DIR/bin/tools/CleanFunctions"
|
. "$WM_PROJECT_DIR/bin/tools/CleanFunctions"
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf constant/polyMesh/boundary 0/pointPriority
|
rm -f 0/pointPriority
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,10 +5,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surface
|
# Remove surface
|
||||||
rm -f constant/geometry/NACA0012.obj.gz > /dev/null 2>&1
|
rm -f constant/geometry/NACA0012.obj.gz
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
rm constant/geometry/boundaryLayer.obj > /dev/null 2>&1
|
rm -f constant/geometry/boundaryLayer.obj
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,6 +5,5 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,11 +5,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surface
|
# Remove surface
|
||||||
rm -f constant/geometry/NACA0012.obj.gz > /dev/null 2>&1
|
rm -f constant/geometry/NACA0012.obj.gz
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
rm 0/Ma > /dev/null 2>&1
|
rm -f 0/Ma
|
||||||
rm constant/geometry/boundaryLayer.obj > /dev/null 2>&1
|
rm -f constant/geometry/boundaryLayer.obj
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform > /dev/null 2>&1
|
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform > /dev/null 2>&1
|
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform > /dev/null 2>&1
|
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform > /dev/null 2>&1
|
rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -6,7 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf constant/baffle3DRegion
|
rm -rf constant/baffle3DRegion
|
||||||
rm -rf constant/polyMesh/boundary
|
|
||||||
rm -rf 0
|
rm -rf 0
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -8,7 +8,6 @@ cleanCase
|
|||||||
|
|
||||||
rm -rf comms
|
rm -rf comms
|
||||||
|
|
||||||
killall externalSolver > /dev/null 2>&1
|
killall -q externalSolver
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -20,7 +20,7 @@ removeRegionDirs ()
|
|||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
removeRegionDirs
|
removeRegionDirs
|
||||||
rm -rf 0 > /dev/null 2>&1
|
rm -rf 0
|
||||||
rm -rf constant/regionProperties > /dev/null 2>&1
|
rm -f constant/regionProperties
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,7 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
|
||||||
rm -rf fluentInterface
|
rm -rf fluentInterface
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
|
|||||||
@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surfaces
|
# Remove surfaces
|
||||||
rm -f constant/geometry/propeller*.obj.gz > /dev/null 2>&1
|
rm -f constant/geometry/propeller*.obj.gz
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/geometry/*.eMesh* > /dev/null 2>&1
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -6,8 +6,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
# Delete OBJ files that are created by createPatch,
|
|
||||||
# when 'dumpCyclicMatches' set to true.
|
|
||||||
rm -f $objFiles > /dev/null 2>&1
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,11 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm *.obj > /dev/null 2>&1
|
rm -f *.obj
|
||||||
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
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,6 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Clean time directories only
|
# Clean time directories only
|
||||||
|
|
||||||
rm -rf *[1-9]*
|
rm -rf *[1-9]*
|
||||||
rm -f log.* 2>/dev/null
|
rm -f log.*
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,10 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surface and features
|
# Remove surface and features
|
||||||
rm -f constant/geometry/motorBike.obj.gz > /dev/null 2>&1
|
rm -f constant/geometry/motorBike.obj.gz
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/geometry/motorBike.eMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -3,11 +3,7 @@
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $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
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,9 +5,6 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
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
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -6,20 +6,19 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
rm -rf 0 > /dev/null 2>&1
|
rm -rf 0
|
||||||
|
|
||||||
rm -rf constant/cellAlignments > /dev/null 2>&1
|
rm -f constant/cellAlignments
|
||||||
rm -rf constant/targetCellSize > /dev/null 2>&1
|
rm -f constant/targetCellSize
|
||||||
rm -rf constant/internalDelaunayVertices > /dev/null 2>&1
|
rm -f constant/internalDelaunayVertices
|
||||||
|
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/boundary > /dev/null 2>&1
|
for f in points faces owner neighbour boundary
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/faces > /dev/null 2>&1
|
do
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/neighbour > /dev/null 2>&1
|
rm -f constant/backgroundMeshDecomposition/polyMesh/$f
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/owner > /dev/null 2>&1
|
done
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/points > /dev/null 2>&1
|
|
||||||
|
|
||||||
rm -rf snapToSurface?.obj > /dev/null 2>&1
|
rm -f snapToSurface?.obj
|
||||||
rm -rf tetsToSnapTo.obj > /dev/null 2>&1
|
rm -f tetsToSnapTo.obj
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,21 +4,20 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $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 -f constant/ccx constant/ccy constant/ccz
|
||||||
rm -r constant/ccx constant/ccy constant/ccz > /dev/null 2>&1
|
rm -f constant/internalDelaunayVertices constant/targetCellSize
|
||||||
rm -r constant/internalDelaunayVertices constant/targetCellSize > /dev/null 2>&1
|
rm -rf 0
|
||||||
rm -r 0 > /dev/null 2>&1
|
|
||||||
|
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/boundary > /dev/null 2>&1
|
for f in points faces owner neighbour boundary
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/faces > /dev/null 2>&1
|
do
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/neighbour > /dev/null 2>&1
|
rm -f constant/backgroundMeshDecomposition/polyMesh/$f
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/owner > /dev/null 2>&1
|
done
|
||||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/points > /dev/null 2>&1
|
|
||||||
|
|
||||||
rm -r *.obj > /dev/null 2>&1
|
rm -rf *.obj
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,19 +4,18 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm -r constant/extendedFeatureEdgeMesh constant/internalDelaunayVertices > /dev/null 2>&1
|
rm -rf constant/internalDelaunayVertices
|
||||||
rm constant/geometry/*.eMesh > /dev/null 2>&1
|
rm -f constant/geometry/*_orient*
|
||||||
rm constant/geometry/*_orient* > /dev/null 2>&1
|
rm -rf constant/polyMesh
|
||||||
rm -r constant/polyMesh > /dev/null 2>&1
|
rm -rf constant/tetDualMesh
|
||||||
rm -r constant/polyMesh > /dev/null 2>&1
|
|
||||||
rm -r constant/tetDualMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
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
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,13 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
rm -rf constant/polyMesh
|
||||||
rm -rf constant/geometry/jaggedBoundary.eMesh > /dev/null 2>&1
|
|
||||||
rm -rf constant/polyMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
rm -rf MeshedSurface.obj > /dev/null 2>&1
|
rm -f MeshedSurface*.obj
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,13 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
rm -rf constant/polyMesh
|
||||||
rm -rf constant/geometry/unit_cube.eMesh > /dev/null 2>&1
|
|
||||||
rm -rf constant/polyMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
rm -rf MeshedSurface*.obj > /dev/null 2>&1
|
rm -f MeshedSurface*.obj
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm -rf 0 > /dev/null 2>&1
|
rm -rf 0
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
|
|||||||
@ -7,12 +7,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Remove surface
|
# Remove surface
|
||||||
rm -f constant/geometry/flange.stl.gz
|
rm -f constant/geometry/flange.stl.gz
|
||||||
|
|
||||||
rm -rf 0 > /dev/null 2>&1
|
rm -rf 0
|
||||||
rm -f ./flange ./*.obj > /dev/null 2>&1
|
rm -f ./flange ./*.obj
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/geometry/flange.eMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/polyMesh/boundary
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,8 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Remove surface
|
# Remove surface
|
||||||
rm -rf constant/geometry
|
rm -rf constant/geometry
|
||||||
|
|
||||||
rm -rf constant/extendedFeatureEdgeMesh
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm -rf constant/polyMesh/sets > /dev/null 2>&1
|
rm -rf constant/polyMesh/sets
|
||||||
rm -rf 0/polyMesh > /dev/null 2>&1
|
rm -rf 0/polyMesh
|
||||||
rm system/topoSetDict > /dev/null 2>&1
|
rm -f system/topoSetDict
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm system/topoSetDict > /dev/null 2>&1
|
rm -f system/topoSetDict
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm -rf constant/polyMesh/sets > /dev/null 2>&1
|
rm -rf constant/polyMesh/sets
|
||||||
rm -rf 0/polyMesh > /dev/null 2>&1
|
rm -rf 0/polyMesh
|
||||||
rm system/topoSetDict > /dev/null 2>&1
|
rm -f system/topoSetDict
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,6 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Clean time directories only
|
# Clean time directories only
|
||||||
|
|
||||||
rm -rf *[1-9]*
|
rm -rf *[1-9]*
|
||||||
rm -f log.* 2>/dev/null
|
rm -f log.*
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm system/topoSetDict > /dev/null 2>&1
|
rm -f system/topoSetDict
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,10 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surface
|
# Remove surface
|
||||||
rm -f constant/geometry/DTC-scaled.stl.gz > /dev/null 2>&1
|
rm -f constant/geometry/DTC-scaled.stl.gz
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/geometry/DTC-scaled.eMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,10 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surface
|
# Remove surface
|
||||||
rm -f constant/geometry/DTC-scaled.stl.gz > /dev/null 2>&1
|
rm -f constant/geometry/DTC-scaled.stl.gz
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/geometry/DTC-scaled.eMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,10 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surface
|
# Remove surface
|
||||||
rm -f constant/geometry/DTC-scaled.stl.gz > /dev/null 2>&1
|
rm -f constant/geometry/DTC-scaled.stl.gz
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/geometry/DTC-scaled.eMesh > /dev/null 2>&1
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surfaces
|
# Remove surfaces
|
||||||
rm -f constant/geometry/mixerVessel*.stl.gz > /dev/null 2>&1
|
rm -f constant/geometry/mixerVessel*.stl.gz
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/geometry/*.eMesh* > /dev/null 2>&1
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surface
|
# Remove surface
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
rm -f constant/geometry/w3.stl
|
||||||
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
|
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# Remove surfaces
|
# Remove surfaces
|
||||||
rm -f constant/geometry/propeller*.obj.gz > /dev/null 2>&1
|
rm -f constant/geometry/propeller*.obj.gz
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
cleanExplicitFeatures
|
||||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
||||||
rm -f constant/geometry/*.eMesh* > /dev/null 2>&1
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $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
|
rm -rf *Flux
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|||||||
@ -4,6 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $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
|
cleanCase
|
||||||
|
|||||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
rm system/cellSetDict > /dev/null 2>&1
|
rm -f system/cellSetDict
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user