diff --git a/bin/tools/CleanFunctions b/bin/tools/CleanFunctions index e7a5da0753..4a2015febf 100644 --- a/bin/tools/CleanFunctions +++ b/bin/tools/CleanFunctions @@ -61,12 +61,17 @@ cleanTimeDirectories () cleanCase () { cleanTimeDirectories + rm -rf processor* > /dev/null 2>&1 + rm -rf probes* > /dev/null 2>&1 + rm -rf forces* > /dev/null 2>&1 - rm -rf constant/polyMesh/{allOwner*,cell*,face*,meshModifiers*} \ + rm -rf system/machines \ + constant/polyMesh/{allOwner*,cell*,face*,meshModifiers*} \ constant/polyMesh/{owner*,neighbour*,point*,edge*} \ constant/polyMesh/{cellLevel*,pointLevel*,refinementHistory*,surfaceIndex*} \ - constant/{cellLevel*,pointLevel*} \ + constant/{cellToRegion,cellLevel*,pointLevel*} \ constant/polyMesh/sets/ \ + VTK \ > /dev/null 2>&1 for f in `find . -name "*Dict"` @@ -76,13 +81,6 @@ cleanCase () done } -cleanParallelCase () -{ - cleanCase - - rm -rf processor* > /dev/null 2>&1 -} - removeCase () { echo "Removing $case case" diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean index 5622060c8e..1cc972be26 100755 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean @@ -5,5 +5,3 @@ cleanCase rm -rf 0/lagrangian 0/dsmcSigmaTcRMax -rm -rf processor* -rm -f system/machines \ No newline at end of file diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean index a81bd94599..1cc972be26 100755 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean @@ -5,6 +5,3 @@ cleanCase rm -rf 0/lagrangian 0/dsmcSigmaTcRMax -rm -rf processor* -rm -rf forces1 -rm -f system/machines \ No newline at end of file diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allclean b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allclean deleted file mode 100755 index 2954f18bad..0000000000 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allclean +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# Source tutorial clean functions -. $WM_PROJECT_DIR/bin/tools/CleanFunctions - -cleanCase -rm -rf VTK -rm -rf constant/cellToRegion constant/polyMesh/sets - -# ----------------------------------------------------------------------------- diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict index 03fbddb7a8..98d278dccc 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/controlDict @@ -47,10 +47,10 @@ runTimeModifiable yes; functions { - probes1 + probes { type probes; - functionObjectLibs ( "libsampling.so" ); + functionObjectLibs ("libsampling.so"); enabled true; outputControl timeStep; outputInterval 1; @@ -74,7 +74,7 @@ functions fieldAverage1 { type fieldAverage; - functionObjectLibs ( "libfieldFunctionObjects.so" ); + functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl outputTime; fields diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/VTK/c0/c0_1.vtk b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/VTK/c0/c0_1.vtk deleted file mode 100644 index af03eba465..0000000000 Binary files a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/VTK/c0/c0_1.vtk and /dev/null differ