Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / tutorials / incompressible / icoFoam / Allclean
blob4ead7ee3ea846cfb698273167773dbb5859247d1
1 #!/bin/sh
3 # Source tutorial clean functions
4 . $WM_PROJECT_DIR/bin/tools/CleanFunctions
6 keepCases="cavity cavityGrade cavityClipped elbow"
7 loseCases="cavityFine cavityHighRe"
9 for case in $keepCases
11 (cd $case && foamCleanTutorials)
13 if [ "$case" = "elbow" ]
14 then
15 rm -rf $case/fluentInterface
17 done
19 for case in $loseCases
21 removeCase $case
22 done