diff --git a/tutorials/compressible/rhoPorousMRFPimpleFoam/mixerVessel2D/makeMesh b/tutorials/compressible/rhoPorousMRFPimpleFoam/mixerVessel2D/makeMesh index 91a75f1c4..937900177 100755 --- a/tutorials/compressible/rhoPorousMRFPimpleFoam/mixerVessel2D/makeMesh +++ b/tutorials/compressible/rhoPorousMRFPimpleFoam/mixerVessel2D/makeMesh @@ -2,4 +2,4 @@ set -x m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict -blockMesh >& log.blockMesh +blockMesh > log.blockMesh 2>&1 diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun index 5b96ab937..8a92674a6 100755 --- a/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun +++ b/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun @@ -23,7 +23,7 @@ done for i in bottomAir topAir heater leftSolid rightSolid do - changeDictionary -region $i >& log.changeDictionary.$i + changeDictionary -region $i > log.changeDictionary.$i 2>&1 done @@ -34,7 +34,7 @@ runApplication chtMultiRegionFoam ## Decompose #for i in bottomAir topAir heater leftSolid rightSolid #do -# decomposePar -region $i >& log.decomposePar.$i +# decomposePar -region $i > log.decomposePar.$i 2>&1 #done # ## Run @@ -43,7 +43,7 @@ runApplication chtMultiRegionFoam ## Reconstruct #for i in bottomAir topAir heater leftSolid rightSolid #do -# reconstructPar -region $i >& log.reconstructPar.$i +# reconstructPar -region $i > log.reconstructPar.$i 2>&1 #done diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/Allrun index 78bae403a..bb2152e8b 100755 --- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/Allrun +++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/Allrun @@ -29,7 +29,7 @@ done for i in bottomAir topAir heater leftSolid rightSolid do - changeDictionary -region $i >& log.changeDictionary.$i + changeDictionary -region $i > log.changeDictionary.$i 2>&1 done @@ -39,7 +39,7 @@ runApplication chtMultiRegionSimpleFoam ## Decompose #for i in bottomAir topAir heater leftSolid rightSolid #do -# decomposePar -region $i >& log.decomposePar.$i +# decomposePar -region $i > log.decomposePar.$i 2>&1 #done # ## Run @@ -48,7 +48,7 @@ runApplication chtMultiRegionSimpleFoam ## Reconstruct #for i in bottomAir topAir heater leftSolid rightSolid #do -# reconstructPar -region $i >& log.reconstructPar.$i +# reconstructPar -region $i > log.reconstructPar.$i 2>&1 #done diff --git a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun index 04eb8794e..67d734626 100755 --- a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun +++ b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun @@ -9,16 +9,16 @@ application=`getApplication` runApplication blockMesh # create sets -setSet -batch system/sets.setSet >& log.setSet1 +setSet -batch system/sets.setSet > log.setSet1 2>&1 # convert sets to zones -setsToZones -noFlipMap >& log.setsToZones +setsToZones -noFlipMap > log.setsToZones 2>&1 # create the first cyclic - lhs of porous zone unset FOAM_SETNAN -createBaffles cycLeft cycLeft -overwrite >& log.createBaffles1 +createBaffles cycLeft cycLeft -overwrite > log.createBaffles1 2>&1 # create the second cyclic - rhs of porous zone -createBaffles cycRight cycRight -overwrite >& log.createBaffles2 +createBaffles cycRight cycRight -overwrite > log.createBaffles2 2>&1 runApplication $application diff --git a/tutorials/multiphase/cavitatingFoam/les/Allrun b/tutorials/multiphase/cavitatingFoam/les/Allrun index 540e8127d..563519aed 100755 --- a/tutorials/multiphase/cavitatingFoam/les/Allrun +++ b/tutorials/multiphase/cavitatingFoam/les/Allrun @@ -12,7 +12,7 @@ refineMeshByCellSet() do echo "creating cell set for primary zone - $1" cp system/cellSetDict.$1 system/cellSetDict - runApplication -l log.cellSet.$1 cellSet + runApplication -l log.cellSet.$1 cellSet echo "refining primary zone - $1" runApplication -l log.refineMesh.$1 refineMesh -dict -overwrite @@ -33,7 +33,7 @@ cd throttle3D refineMeshByCellSet 1 2 3 echo "mapping fields from 2D throttle case" - mapFields ../throttle -sourceTime latestTime >& log.mapFields + mapFields ../throttle -sourceTime latestTime > log.mapFields 2>&1 runApplication decomposePar runParallel $application 4 diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun b/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun index 288660de7..0b09a55c3 100755 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun @@ -9,10 +9,10 @@ refineMeshByCellSet() { echo "creating cell set for primary zone - $1" cp system/cellSetDict.$1 system/cellSetDict - cellSet >& log.cellSet.$1 + cellSet > log.cellSet.$1 2>&1 echo "refining primary zone - $1" - refineMesh -dict -overwrite >& log.refineMesh.$1 + refineMesh -dict -overwrite > log.refineMesh.$1 2>&1 } runApplication blockMesh