diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun index 6de4b18840f513923647e10ed3211e3520d17546..ed131900d36d14e0bb34237f1e1e0b69976c65dc 100755 --- a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun +++ b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun @@ -13,7 +13,7 @@ unset FOAM_SETNAN unset FOAM_SIGFPE # Create first baffle -createBaffles baffleFaces '(baffle1Wall_0 baffle1Wall_1)' -overwrite > log.createBaffles 2>&1 +runApplication createBaffles baffleFaces '(baffle1Wall_0 baffle1Wall_1)' -overwrite # Create region runApplication extrudeToRegionMesh -overwrite diff --git a/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun b/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun index 84758693b88e0ac85b8dce7d3faf314190a50624..2374d2fb6c3277c6f5aa1db7cd77620c2bc5109e 100755 --- a/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun +++ b/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun @@ -16,9 +16,13 @@ unset FOAM_SETNAN # Create faceZones for fan and baffles runApplication topoSet + # Create fan cyclics -createBaffles cyclicFaces '(fan_half0 fan_half1)' -overwrite > log.createBaffles 2>&1 +runApplication createBaffles cyclicFaces '(fan_half0 fan_half1)' -overwrite +mv log.createBaffles log.createBaffles.1 + # Create wall baffles -createBaffles baffleFaces '(baffles baffles)' -overwrite > log.createBaffles 2>&1 +runApplication createBaffles baffleFaces '(baffles baffles)' -overwrite +mv log.createBaffles log.createBaffles.2 runApplication $application diff --git a/tutorials/lagrangian/reactingParcelFoam/filter/Allrun b/tutorials/lagrangian/reactingParcelFoam/filter/Allrun index 061be5a02eb8a1cd772b947b0c05a27f5230043e..b7428e064f41ff60966bae7e3ee0f990ef38bd62 100755 --- a/tutorials/lagrangian/reactingParcelFoam/filter/Allrun +++ b/tutorials/lagrangian/reactingParcelFoam/filter/Allrun @@ -21,10 +21,12 @@ setsToZones -noFlipMap > log.setsToZones 2>&1 # - use binary writing to avoid 'nan' # - use setFields to set values unset FOAM_SIGFPE -createBaffles cycLeft '(cycLeft_half0 cycLeft_half1)' -overwrite > log.createBaffles1 2>&1 +runApplication createBaffles cycLeft '(cycLeft_half0 cycLeft_half1)' -overwrite +mv log.createBaffles log.createBaffles1 # create the second cyclic - rhs of porous zone -createBaffles cycRight '(cycRight_half0 cycRight_half1)' -overwrite > log.createBaffles2 2>&1 +runApplication createBaffles cycRight '(cycRight_half0 cycRight_half1)' -overwrite +mv log.createBaffles log.createBaffles2 # Initialise newly created patchFields to 0 runApplication changeDictionary diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun index 29758935af3f44d3b33636462a6c091fe16f7c15..32c7e6f948157c416cccf020b8c874198ee1ddcc 100755 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun @@ -16,7 +16,7 @@ unset FOAM_SETNAN # Create faceZones for porous baffles runApplication topoSet -createBaffles cyclicZoneFaces '(porous_half0 porous_half1)' -overwrite > log.createBaffles 2>&1 +runApplication createBaffles cyclicZoneFaces '(porous_half0 porous_half1)' -overwrite runApplication changeDictionary