Originally the only supported geometry specification were triangulated surfaces, hence the name of the directory: constant/triSurface, however now that other surface specifications are supported and provided it is much more logical that the directory is named accordingly: constant/geometry. All tutorial and template cases have been updated. Note that backward compatibility is provided such that if the constant/geometry directory does not exist but constant/triSurface does then the geometry files are read from there.
25 lines
929 B
Bash
Executable File
25 lines
929 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
|
|
|
rm -r constant/geometry/flange.stl.gz > /dev/null 2>&1
|
|
|
|
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
rm -r constant/ccx constant/ccy constant/ccz > /dev/null 2>&1
|
|
rm -r constant/internalDelaunayVertices constant/targetCellSize > /dev/null 2>&1
|
|
rm -r 0 > /dev/null 2>&1
|
|
|
|
rm -rf constant/backgroundMeshDecomposition/polyMesh/boundary > /dev/null 2>&1
|
|
rm -rf constant/backgroundMeshDecomposition/polyMesh/faces > /dev/null 2>&1
|
|
rm -rf constant/backgroundMeshDecomposition/polyMesh/neighbour > /dev/null 2>&1
|
|
rm -rf constant/backgroundMeshDecomposition/polyMesh/owner > /dev/null 2>&1
|
|
rm -rf constant/backgroundMeshDecomposition/polyMesh/points > /dev/null 2>&1
|
|
|
|
rm -r *.obj > /dev/null 2>&1
|
|
|
|
cleanCase
|
|
|
|
#------------------------------------------------------------------------------
|