This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/mesh/cfMesh/Allclean
2015-05-17 15:27:49 +02:00

65 lines
1 KiB
Bash
Executable file

#!/bin/sh
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cd cartesianMesh
# Delete data generated by cartesianMesh
cd asmoOctree
cleanCase
\rm -rf constant/polyMesh > /dev/null 2>&1
\rm -f log.*
cd ..
cd bunnyOctree
cleanCase
\rm -rf constant/polyMesh > /dev/null 2>&1
\rm -f log.*
cd ..
cd intakePortOctree
cleanCase
\rm -rf constant/polyMesh > /dev/null 2>&1
\rm -f log.*
cd ..
cd sawOctree
cleanCase
\rm -rf processor* > /dev/null 2>&1
\rm -f log.*
cd ..
cd sBendOctree
cleanCase
\rm -rf constant/polyMesh > /dev/null 2>&1
\rm -f log.*
cd ..
cd ..
cd cartesian2DMesh
# Delete data generated by cartesian2DMesh
cd hatOctree
cleanCase
\rm -rf constant/polyMesh > /dev/null 2>&1
\rm -f log.*
cd ..
cd ..
cd tetMesh
# Delete data generated by tetMesh
cd cutCubeOctree
cleanCase
\rm -rf constant/polyMesh > /dev/null 2>&1
\rm -f log.*
cd ..
cd socketOctree
cleanCase
\rm -rf constant/polyMesh > /dev/null 2>&1
\rm -f log.*
cd ..
cd ..