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

66 lines
1 KiB
Text
Raw Normal View History

#!/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 log.*
cd ..
cd bunnyOctree
cleanCase
rm -rf constant/polyMesh > /dev/null 2>&1
rm log.*
cd ..
cd intakePortOctree
cleanCase
rm -rf constant/polyMesh > /dev/null 2>&1
rm log.*
cd ..
cd sawOctree
cleanCase
rm -rf processor* > /dev/null 2>&1
rm log.*
cd ..
cd sBendOctree
cleanCase
rm -rf constant/polyMesh > /dev/null 2>&1
rm log.*
cd ..
cd ..
cd cartesian2DMesh
# Delete data generated by cartesian2DMesh
cd hatOctree
cleanCase
rm -rf constant/polyMesh > /dev/null 2>&1
rm log.*
cd ..
cd ..
cd tetMesh
# Delete data generated by tetMesh
cd cutCubeOctree
cleanCase
rm -rf constant/polyMesh > /dev/null 2>&1
rm log.*
cd ..
cd socketOctree
cleanCase
rm -rf constant/polyMesh > /dev/null 2>&1
rm log.*
cd ..
cd ..