tutorials: Clean up files from 0 directories

This commit is contained in:
Will Bainbridge
2024-07-02 10:42:18 +01:00
parent 99bf687263
commit bff241a98a
9 changed files with 49 additions and 7 deletions

View File

@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Remove surface
rm -f constant/geometry/NACA0012.obj.gz
cleanCase
cleanCase && rm -f 0/Ma
rm -f constant/geometry/boundaryLayer.obj

View File

@ -7,9 +7,8 @@ cd ${0%/*} || exit 1 # Run from this directory
# Remove surface
rm -f constant/geometry/NACA0012.obj.gz
cleanCase
cleanCase && rm -f 0/Ma
rm -f 0/Ma
rm -f constant/geometry/boundaryLayer.obj
#------------------------------------------------------------------------------

View File

@ -0,0 +1,9 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase && rm -f 0/Ma
#------------------------------------------------------------------------------

View File

@ -0,0 +1,9 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase && rm -f 0/age 0/DR 0/PMV 0/PPD
#------------------------------------------------------------------------------

View File

@ -4,8 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -rf *.eps
cleanCase && rm -f 0/mag\(U\) *.eps
#------------------------------------------------------------------------------

View File

@ -4,6 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanVoFCase
cleanVoFCase && rm -f 0/VoF/T.*
#------------------------------------------------------------------------------

View File

@ -0,0 +1,9 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase && rm -f 0/alpha.map
#------------------------------------------------------------------------------

View File

@ -0,0 +1,9 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase && rm -f 0/alpha.map
#------------------------------------------------------------------------------

View File

@ -0,0 +1,9 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase && rm -f 0/alpha.map
#------------------------------------------------------------------------------