foamCleanTutorials: Simplified cleaning the mesh by removing the constant/polyMesh directory

This commit is contained in:
Henry Weller
2016-10-13 15:02:32 +01:00
parent c12573c799
commit fead57c2ab
2 changed files with 1 additions and 101 deletions

View File

@ -68,14 +68,7 @@ cleanCase()
if [ -d constant/polyMesh ]
then
(cd constant/polyMesh && \
rm -rf \
allOwner* cell* face* meshModifiers* \
owner* neighbour* point* edge* \
cellLevel* pointLevel* refinementHistory* level0Edge* surfaceIndex* sets \
boundary \
> /dev/null 2>&1 \
)
rm -rf constant/polyMesh > /dev/null 2>&1
fi
if [ -d constant ]
then