openfoam/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/Allclean
2014-12-14 21:50:14 +00:00

31 lines
592 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 periodicCubeArgon || exit
rm -rf 0/lagrangian 0/uniform
rm -f Ar-Ar
rm -f electrostatic
rm -f constant/idList
rm -rf constant/polyMesh/sets
cleanCase
)
(
cd periodicCubeWater || exit
rm -rf 0/lagrangian 0/uniform
rm -f O-O
rm -f electrostatic
rm -f constant/idList
rm -rf constant/polyMesh/sets
cleanCase
)
# ----------------------------------------------------------------- end-of-file