Files
OpenFOAM-12/tutorials/mesh/foamyHexMesh/mixerVessel/Allclean
Will Bainbridge 76ba65be69 tutorials: Clean up geometry resources
A surface geometry file should be stored in
$FOAM_TUTORIALS/resources/geometry if it is used in multiple cases,
otherwise it should be stored locally to the case. This change enforces
that across all tutorials.
2019-11-01 12:32:33 +00:00

27 lines
847 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 surfaces
rm -f constant/triSurface/rawSurfaces/mixerVessel*.stl.* > /dev/null 2>&1
cleanCase
rm -rf constant/extendedFeatureEdgeMesh/
rm -f constant/triSurface/*.eMesh*
rm -f constant/triSurface/*.stl*
rm -f constant/triSurface/*.obj
rm -f constant/triSurface/*.vtk
rm -f constant/triSurface/problemFaces
rm -f *.obj
rm -f constant/backgroundMeshDecomposition/polyMesh/boundary
rm -f constant/backgroundMeshDecomposition/polyMesh/faces
rm -f constant/backgroundMeshDecomposition/polyMesh/neighbour
rm -f constant/backgroundMeshDecomposition/polyMesh/owner
rm -f constant/backgroundMeshDecomposition/polyMesh/points
#------------------------------------------------------------------------------