mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Tutorial Allclean script updates
This commit is contained in:
@ -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/triSurface/propellerTip.obj.gz
|
\rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
\rm -rf 0
|
\rm -rf 0 > /dev/null 2>&1
|
||||||
\rm -rf constant/extendedFeatureEdgeMesh/
|
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||||
\rm -f constant/triSurface/*.eMesh*
|
\rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
|
||||||
|
|||||||
@ -4,10 +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
|
||||||
|
|
||||||
rm *.obj
|
rm *.obj > /dev/null 2>&1
|
||||||
rm -r constant/extendedFeatureEdgeMesh
|
rm -r constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||||
rm constant/triSurface/boundaryAndFaceZones.eMesh
|
rm constant/triSurface/boundaryAndFaceZones.eMesh > /dev/null 2>&1
|
||||||
rm constant/polyMesh/boundary
|
rm constant/polyMesh/boundary > /dev/null 2>&1
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
|
|||||||
@ -4,9 +4,9 @@
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
# remove surface and features
|
# remove surface and features
|
||||||
\rm -f constant/triSurface/motorBike.obj.gz
|
\rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
|
||||||
\rm -rf constant/extendedFeatureEdgeMesh/
|
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||||
\rm -f constant/triSurface/motorBike.eMesh
|
\rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
|
||||||
|
|
||||||
rm -rf 0 > /dev/null 2>&1
|
rm -rf 0 > /dev/null 2>&1
|
||||||
|
|
||||||
|
|||||||
@ -6,8 +6,8 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
\rm -rf 0
|
\rm -rf 0 > /dev/null 2>&1
|
||||||
\rm -rf constant/extendedFeatureEdgeMesh/
|
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||||
\rm -f constant/triSurface/*.eMesh*
|
\rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -9,6 +9,6 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
|
|
||||||
\rm -rf 0
|
\rm -rf 0 > /dev/null 2>&1
|
||||||
\rm -rf constant/extendedFeatureEdgeMesh/
|
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||||
\rm -f constant/triSurface/*.eMesh*
|
\rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user