openfoam/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allclean
Mark Olesen 21679c04e4 STYLE: adjust tutorial Allclean scripts (issue #310)
- A few without a 'cd' at the start.
  Several remove files that are already covered by the cleanCase function.
2016-11-20 17:26:44 +01:00

25 lines
429 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
(
cd wingMotion_snappyHexMesh || exit 1
cleanCase
)
(
cd wingMotion2D_simpleFoam || exit 1
cleanCase
rm -rf 0
)
(
cd wingMotion2D_pimpleDyMFoam || exit 1
cleanCase
rm -rf 0
)
#------------------------------------------------------------------------------