diff --git a/tutorials/combustion/chemFoam/gri/Allclean b/tutorials/combustion/chemFoam/gri/Allclean index d1134cd3fc43a615d36c6e144fd518ee1348ee98..d511cde495b10a4ec299580f21d9f76a926cd22b 100755 --- a/tutorials/combustion/chemFoam/gri/Allclean +++ b/tutorials/combustion/chemFoam/gri/Allclean @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII +rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII #------------------------------------------------------------------------------ diff --git a/tutorials/combustion/chemFoam/h2/Allclean b/tutorials/combustion/chemFoam/h2/Allclean index d1134cd3fc43a615d36c6e144fd518ee1348ee98..d511cde495b10a4ec299580f21d9f76a926cd22b 100755 --- a/tutorials/combustion/chemFoam/h2/Allclean +++ b/tutorials/combustion/chemFoam/h2/Allclean @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII +rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII #------------------------------------------------------------------------------ diff --git a/tutorials/combustion/chemFoam/ic8h18/Allclean b/tutorials/combustion/chemFoam/ic8h18/Allclean index d1134cd3fc43a615d36c6e144fd518ee1348ee98..d511cde495b10a4ec299580f21d9f76a926cd22b 100755 --- a/tutorials/combustion/chemFoam/ic8h18/Allclean +++ b/tutorials/combustion/chemFoam/ic8h18/Allclean @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII +rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII #------------------------------------------------------------------------------ diff --git a/tutorials/combustion/chemFoam/nc7h16/Allclean b/tutorials/combustion/chemFoam/nc7h16/Allclean index d1134cd3fc43a615d36c6e144fd518ee1348ee98..d511cde495b10a4ec299580f21d9f76a926cd22b 100755 --- a/tutorials/combustion/chemFoam/nc7h16/Allclean +++ b/tutorials/combustion/chemFoam/nc7h16/Allclean @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII +rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII #------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/pimpleDyMFoam/propeller/Allclean b/tutorials/incompressible/pimpleDyMFoam/propeller/Allclean index 6283ac6bb007da3ca99bb835970a936fc328d293..496837c14e38ea0b4554af1025abfc9c3a42f380 100755 --- a/tutorials/incompressible/pimpleDyMFoam/propeller/Allclean +++ b/tutorials/incompressible/pimpleDyMFoam/propeller/Allclean @@ -5,10 +5,10 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove surface -\rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1 +rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1 cleanCase -\rm -rf 0 > /dev/null 2>&1 -\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 -\rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1 +rm -rf 0 > /dev/null 2>&1 +rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 +rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1 diff --git a/tutorials/incompressible/pimpleDyMFoam/propeller/Allrun.pre b/tutorials/incompressible/pimpleDyMFoam/propeller/Allrun.pre index 26988f02371b585986b883eea89e0877e13ca065..41142ea37a679a3b15c0005c9b21dd6017c2d82d 100755 --- a/tutorials/incompressible/pimpleDyMFoam/propeller/Allrun.pre +++ b/tutorials/incompressible/pimpleDyMFoam/propeller/Allrun.pre @@ -19,7 +19,7 @@ runApplication snappyHexMesh -overwrite runApplication renumberMesh -overwrite # force removal of fields generated by snappy -\rm -rf 0 +rm -rf 0 # - generate face/cell sets and zones runApplication topoSet -dict system/createInletOutletSets.topoSetDict diff --git a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/Allclean b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/Allclean index a48c67fbef85230fab9bc8c5710aecdf1e2d5e73..32ab17201f0a9095b374dd06a9a707512756fd24 100755 --- a/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/Allclean +++ b/tutorials/incompressible/pisoFoam/les/motorBike/motorBike/Allclean @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove surface -\rm -f constant/triSurface/motorBike.obj.gz +rm -f constant/triSurface/motorBike.obj.gz rm -rf 0 > /dev/null 2>&1 diff --git a/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun.pre b/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun.pre index cbf9866f1a1f47decab17f4d1cc06d74b85974da..d621df24f0a9bf503773b5b3807280ecd25d627a 100755 --- a/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun.pre +++ b/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun.pre @@ -21,10 +21,10 @@ runApplication checkMesh -allTopology -allGeometry -latestTime latestTime=`foamInfoExec -latestTime` # Move the mesh into polyMesh -\rm -rf constant/polyMesh -\mv "${latestTime}"/polyMesh constant +rm -rf constant/polyMesh +mv "${latestTime}"/polyMesh constant # Clean up intermediate meshes -\rm -r [1-9]* +rm -r [1-9]* #------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/simpleFoam/motorBike/Allclean b/tutorials/incompressible/simpleFoam/motorBike/Allclean index 17464e7020d3cbe606b694c058f2d1c71d24a128..68a1d17d7b95d4325ac62967c787eb8a3e01709c 100755 --- a/tutorials/incompressible/simpleFoam/motorBike/Allclean +++ b/tutorials/incompressible/simpleFoam/motorBike/Allclean @@ -4,9 +4,9 @@ . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove surface and features -\rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1 -\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 -\rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1 +rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1 +rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 +rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1 rm -rf 0 > /dev/null 2>&1 diff --git a/tutorials/incompressible/simpleFoam/rotorDisk/Allclean b/tutorials/incompressible/simpleFoam/rotorDisk/Allclean index 6fec4f4a7f546da7720d5c4722cb5c7082eb58c6..2204732e4514bf77bc9ed355ca0406b7fe14f919 100755 --- a/tutorials/incompressible/simpleFoam/rotorDisk/Allclean +++ b/tutorials/incompressible/simpleFoam/rotorDisk/Allclean @@ -4,10 +4,10 @@ . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove surface and features -\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 -\rm -f constant/triSurface/rotatingZone.eMesh > /dev/null 2>&1 -\rm -f constant/triSurface/fixed.eMesh > /dev/null 2>&1 -\rm -f 0/pointLevel > /dev/null 2>&1 -\rm -f 0/cellLevel > /dev/null 2>&1 +rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 +rm -f constant/triSurface/rotatingZone.eMesh > /dev/null 2>&1 +rm -f constant/triSurface/fixed.eMesh > /dev/null 2>&1 +rm -f 0/pointLevel > /dev/null 2>&1 +rm -f 0/cellLevel > /dev/null 2>&1 cleanCase diff --git a/tutorials/mesh/foamyHexMesh/mixerVessel/Allclean b/tutorials/mesh/foamyHexMesh/mixerVessel/Allclean index 55c1a652c28b5fb34905147d2d2213a150bcdf04..d7ffd378fae96d830b553992b41d88dc157f5bfd 100755 --- a/tutorials/mesh/foamyHexMesh/mixerVessel/Allclean +++ b/tutorials/mesh/foamyHexMesh/mixerVessel/Allclean @@ -6,19 +6,19 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 -\rm -rf constant/extendedFeatureEdgeMesh/ -\rm -f constant/triSurface/*.eMesh* -\rm -f constant/triSurface/*.stl -\rm -f constant/triSurface/*.obj -\rm -f constant/triSurface/problemFaces -\rm -f *.obj +rm -rf 0 +rm -rf constant/extendedFeatureEdgeMesh/ +rm -f constant/triSurface/*.eMesh* +rm -f constant/triSurface/*.stl +rm -f constant/triSurface/*.obj +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 +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 #------------------------------------------------------------------------------ diff --git a/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre b/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre index b95aabe645f183560cf3c1cbbda6a9782d5872d3..0dd6f8c600aa7f4c91f1ce5cc9f4bbe5701cbda4 100755 --- a/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre +++ b/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre @@ -19,7 +19,7 @@ intersectSurfaces() # Set application name application=$(getApplication) -\rm -rf 0 +rm -rf 0 # Run the surface preparation script @@ -71,7 +71,7 @@ done # Meshing -\cp system/controlDict.mesh system/controlDict +cp system/controlDict.mesh system/controlDict runApplication blockMesh -region backgroundMeshDecomposition @@ -97,8 +97,8 @@ runApplication reconstructParMesh -latestTime # Copy the mesh from the latest time folder into polyMesh and delete that # latest time folder latestTime=$(foamListTimes -latestTime) -\cp -r $latestTime/polyMesh constant -\rm -rf $latestTime +cp -r $latestTime/polyMesh constant +rm -rf $latestTime #------------------------------------------------------------------------------ diff --git a/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-simulation b/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-simulation index 5b165fcf7faf6778b309388c7f3c2d05bb964152..45d0f11ee763f6132ef125eb340ab652ee0b18ec 100755 --- a/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-simulation +++ b/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-simulation @@ -4,12 +4,12 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -\cp system/controlDict.flow system/controlDict +cp system/controlDict.flow system/controlDict # Set application name application=$(getApplication) -\rm -rf 0 +rm -rf 0 runApplication createBaffles -overwrite runApplication mergeOrSplitBaffles -split -overwrite @@ -18,7 +18,7 @@ runApplication mergeOrSplitBaffles -split -overwrite runApplication createPatch -overwrite # Copy fields after meshing to avoind the generation of unnecessary patch fields -\cp -r 0.orig 0 +cp -r 0.orig 0 # Initialize alpha runApplication setFields diff --git a/tutorials/mesh/foamyHexMesh/mixerVessel/constant/triSurface/surfaceProcess.sh b/tutorials/mesh/foamyHexMesh/mixerVessel/constant/triSurface/surfaceProcess.sh index a030e2075820b2ce61e7646794aab49ff2f8f185..2e97357bc223160a24e2d611349dac991ebb7608 100755 --- a/tutorials/mesh/foamyHexMesh/mixerVessel/constant/triSurface/surfaceProcess.sh +++ b/tutorials/mesh/foamyHexMesh/mixerVessel/constant/triSurface/surfaceProcess.sh @@ -2,7 +2,7 @@ cd ${0%/*} || exit 1 # Run from this directory -\cp rawSurfaces/*.stl . +cp rawSurfaces/*.stl . # Vessel surface @@ -25,10 +25,10 @@ surfaceOrient -inside shaft.stl "(0 0.1 1)" shaft.stl surfaceSplitByTopology stirrer.stl stirrer.stl surfaceOrient -inside stirrer.stl "(0 0.1 1)" stirrer.stl -\mv stirrer_bafflePart_0.stl stirrer_baffles.stl +mv stirrer_bafflePart_0.stl stirrer_baffles.stl surfaceCheck stirrer_baffles.stl -\mv stirrer_baffles_0.obj stirrer_baffles_plate.obj +mv stirrer_baffles_0.obj stirrer_baffles_plate.obj #------------------------------------------------------------------------------ diff --git a/tutorials/mesh/snappyHexMesh/flange/Allclean b/tutorials/mesh/snappyHexMesh/flange/Allclean index abcfd9e6e66ac95c36e206b13b82364b72e47bef..eba9b7e6d2ace77c244df92f811f7a6314098021 100755 --- a/tutorials/mesh/snappyHexMesh/flange/Allclean +++ b/tutorials/mesh/snappyHexMesh/flange/Allclean @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove surface -\rm -f constant/triSurface/flange.stl.gz +rm -f constant/triSurface/flange.stl.gz rm -rf 0 > /dev/null 2>&1 rm -f ./flange ./*.obj > /dev/null 2>&1 diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allclean b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allclean index caaf799f71a5f5df4b2616de8979ae834a1b5030..9f691c93851e250425529116772e1d82b81075f2 100755 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allclean +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D/Allclean @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 +rm -rf 0 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allclean b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allclean index b5350d676abc99fe060183c351b89b10dd92ef95..a180eaa28b0e134a40df326d3698eecf2b8a0083 100755 --- a/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allclean +++ b/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge3D/Allclean @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 +rm -rf 0 rm -rf processor* #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allclean b/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allclean index caaf799f71a5f5df4b2616de8979ae834a1b5030..9f691c93851e250425529116772e1d82b81075f2 100755 --- a/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allclean +++ b/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allclean @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 +rm -rf 0 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allrun b/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allrun index 1aaa93ed560f12f0644115b8adbe75f15de2f37a..e909a02e90156106f734275fb632315ed365a852 100755 --- a/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allrun +++ b/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allrun @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Set application name application=`getApplication` -\rm -rf 0 +rm -rf 0 cp -r 0.orig 0 runApplication blockMesh diff --git a/tutorials/multiphase/interDyMFoam/ras/DTCHull/Allclean b/tutorials/multiphase/interDyMFoam/ras/DTCHull/Allclean index ae1cd804808562fe5a92bab4aa56c4f3be4aebf3..e3e304dace9b32b33ff744ce134c16fe06fe085a 100755 --- a/tutorials/multiphase/interDyMFoam/ras/DTCHull/Allclean +++ b/tutorials/multiphase/interDyMFoam/ras/DTCHull/Allclean @@ -5,13 +5,13 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove surface -\rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1 -\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 -\rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1 +rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1 +rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 +rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1 cleanCase -\rm constant/polyMesh/boundary > /dev/null 2>&1 -\rm -rf 0 > /dev/null 2>&1 -\rm system/topoSetDict > /dev/null 2>&1 +rm constant/polyMesh/boundary > /dev/null 2>&1 +rm -rf 0 > /dev/null 2>&1 +rm system/topoSetDict > /dev/null 2>&1 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/ras/DTCHull/Allrun b/tutorials/multiphase/interDyMFoam/ras/DTCHull/Allrun index 718c42610971b7bb069bc64c39f92b537356a1f2..1fc448e5452f37b1f7a8dea191fee00da95ec596 100755 --- a/tutorials/multiphase/interDyMFoam/ras/DTCHull/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/DTCHull/Allrun @@ -22,8 +22,8 @@ done runApplication snappyHexMesh -overwrite -\rm -rf 0 -\cp -r 0.orig 0 +rm -rf 0 +cp -r 0.orig 0 runApplication setFields diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allclean b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allclean index bd23e0cde8246174b6f127ac8d9030528b2e7de6..83230a683ee7c7ae55f14e972fce04cf9fa1d637 100755 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allclean +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allclean @@ -6,8 +6,8 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 > /dev/null 2>&1 -\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 -\rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1 +rm -rf 0 > /dev/null 2>&1 +rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 +rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre index c04e0b9ec8b1b04352d5f07aba2c783bc2b5088f..3ded7bc7b4279ad10ed99429a8d04af3c14cc79b 100755 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Set application name application=`getApplication` -\rm -rf 0 +rm -rf 0 # Meshing runApplication blockMesh @@ -20,7 +20,7 @@ runApplication mergeOrSplitBaffles -split -overwrite runApplication createPatch -overwrite # Copy fields after meshing to avoind the generation of unnecessary patch fields -\cp -r 0.orig 0 +cp -r 0.orig 0 # Initialize alpha runApplication setFields diff --git a/tutorials/multiphase/interFoam/ras/DTCHull/Allclean b/tutorials/multiphase/interFoam/ras/DTCHull/Allclean index ae1cd804808562fe5a92bab4aa56c4f3be4aebf3..e3e304dace9b32b33ff744ce134c16fe06fe085a 100755 --- a/tutorials/multiphase/interFoam/ras/DTCHull/Allclean +++ b/tutorials/multiphase/interFoam/ras/DTCHull/Allclean @@ -5,13 +5,13 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove surface -\rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1 -\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 -\rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1 +rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1 +rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 +rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1 cleanCase -\rm constant/polyMesh/boundary > /dev/null 2>&1 -\rm -rf 0 > /dev/null 2>&1 -\rm system/topoSetDict > /dev/null 2>&1 +rm constant/polyMesh/boundary > /dev/null 2>&1 +rm -rf 0 > /dev/null 2>&1 +rm system/topoSetDict > /dev/null 2>&1 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interFoam/ras/DTCHull/Allrun b/tutorials/multiphase/interFoam/ras/DTCHull/Allrun index 718c42610971b7bb069bc64c39f92b537356a1f2..1fc448e5452f37b1f7a8dea191fee00da95ec596 100755 --- a/tutorials/multiphase/interFoam/ras/DTCHull/Allrun +++ b/tutorials/multiphase/interFoam/ras/DTCHull/Allrun @@ -22,8 +22,8 @@ done runApplication snappyHexMesh -overwrite -\rm -rf 0 -\cp -r 0.orig 0 +rm -rf 0 +cp -r 0.orig 0 runApplication setFields diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allclean b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allclean index 6283ac6bb007da3ca99bb835970a936fc328d293..496837c14e38ea0b4554af1025abfc9c3a42f380 100755 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allclean +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allclean @@ -5,10 +5,10 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove surface -\rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1 +rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1 cleanCase -\rm -rf 0 > /dev/null 2>&1 -\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 -\rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1 +rm -rf 0 > /dev/null 2>&1 +rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 +rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1 diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun.pre b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun.pre index 5c780072636c95610fcf74b150187cff6da34847..0f299581cb1ba9f3959508429451023b639bb16e 100755 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun.pre +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun.pre @@ -19,7 +19,7 @@ runApplication snappyHexMesh -overwrite runApplication renumberMesh -overwrite # force removal of fields generated by snappy -\rm -rf 0 +rm -rf 0 # - generate face/cell sets and zones diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allclean b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allclean index 152263e5405b3874a58fed5c9e61656e55253018..dff0a164b0fe4efc92f8026f9bacdb4429f7f053 100755 --- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allclean +++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allclean @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions # Remove surface -\rm -f constant/triSurface/bullet.stl.gz +rm -f constant/triSurface/bullet.stl.gz # Remove copy of 0.orig rm -rf 0 diff --git a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allclean b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allclean index caaf799f71a5f5df4b2616de8979ae834a1b5030..9f691c93851e250425529116772e1d82b81075f2 100755 --- a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allclean +++ b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allclean @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 +rm -rf 0 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allrun b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allrun index 1aaa93ed560f12f0644115b8adbe75f15de2f37a..e909a02e90156106f734275fb632315ed365a852 100755 --- a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allrun +++ b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allrun @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Set application name application=`getApplication` -\rm -rf 0 +rm -rf 0 cp -r 0.orig 0 runApplication blockMesh diff --git a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allclean b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allclean index caaf799f71a5f5df4b2616de8979ae834a1b5030..9f691c93851e250425529116772e1d82b81075f2 100755 --- a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allclean +++ b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allclean @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 +rm -rf 0 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun index ed7ec92321d766889f21dd5ea7434da46fd7392c..98bbc1abe75ed9021ff8964e62043b0fcc92a6bf 100755 --- a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun +++ b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Set application name application=`getApplication` -\rm -rf 0 +rm -rf 0 cp -r 0.orig 0 runApplication blockMesh diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allclean b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allclean index caaf799f71a5f5df4b2616de8979ae834a1b5030..9f691c93851e250425529116772e1d82b81075f2 100755 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allclean +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allclean @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 +rm -rf 0 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allrun b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allrun index 1aaa93ed560f12f0644115b8adbe75f15de2f37a..e909a02e90156106f734275fb632315ed365a852 100755 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allrun +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allrun @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Set application name application=`getApplication` -\rm -rf 0 +rm -rf 0 cp -r 0.orig 0 runApplication blockMesh diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/Allclean b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/Allclean index caaf799f71a5f5df4b2616de8979ae834a1b5030..9f691c93851e250425529116772e1d82b81075f2 100755 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/Allclean +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/Allclean @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 +rm -rf 0 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allclean b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allclean index caaf799f71a5f5df4b2616de8979ae834a1b5030..9f691c93851e250425529116772e1d82b81075f2 100755 --- a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allclean +++ b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allclean @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase -\rm -rf 0 +rm -rf 0 #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun index 1aaa93ed560f12f0644115b8adbe75f15de2f37a..e909a02e90156106f734275fb632315ed365a852 100755 --- a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun +++ b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Set application name application=`getApplication` -\rm -rf 0 +rm -rf 0 cp -r 0.orig 0 runApplication blockMesh