Files
openfoam/tutorials/lagrangian/simpleReactingParcelFoam/verticalChannel/Allclean
Mark Olesen dd60cfcd06 FIX: provide restore0Dir function to fix issue #159
- makes it easier to ensure the correct behaviour, consistently
2016-06-27 16:33:55 +02:00

16 lines
376 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove old time and post-processing directories
\rm -rf 0 *[1-9]* processor* postProcessing
# restore 0/ directory from 0.org/
\cp -r 0.org 0
cleanCase
#------------------------------------------------------------------------------