BUG: tutorial scripts bashisms

This commit is contained in:
mattijs
2010-11-25 13:31:40 +00:00
parent 22b85e36e6
commit ae1e1cc963
5 changed files with 11 additions and 11 deletions

View File

@ -2,4 +2,4 @@
set -x set -x
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
blockMesh >& log.blockMesh blockMesh > log.blockMesh 2>&1

View File

@ -7,11 +7,11 @@ cd ${0%/*} || exit 1 # run from this directory
./Allrun.pre ./Allrun.pre
decomposePar -region wallFilmRegion >& log.decomposePar.wallFilmRegion decomposePar -region wallFilmRegion > log.decomposePar.wallFilmRegion 2>&1
decomposePar >& log.decomposePar.primaryRegion decomposePar > log.decomposePar.primaryRegion 2>&1
runParallel reactingParcelFilmFoam 4 runParallel reactingParcelFilmFoam 4
reconstructPar -region wallFilmRegion >& log.reconstructPar.wallFilmRegion reconstructPar -region wallFilmRegion > log.reconstructPar.wallFilmRegion 2>&1
reconstructPar >& log.reconstructPar.primaryRegion reconstructPar > log.reconstructPar.primaryRegion 2>&1

View File

@ -14,7 +14,7 @@ runApplication subsetMesh c0 -patch wallFilm -overwrite
# split the obstacle patches into cube[1-6]_patch[1-6] # split the obstacle patches into cube[1-6]_patch[1-6]
echo "running patchifyObstacles" echo "running patchifyObstacles"
./patchifyObstacles >& log.patchifyObstacles ./patchifyObstacles > log.patchifyObstacles 2>&1
# Create the wall film region via extrusion # Create the wall film region via extrusion
runApplication extrudeToRegionMesh \ runApplication extrudeToRegionMesh \

View File

@ -4,11 +4,11 @@
./Allrun.pre ./Allrun.pre
decomposePar -region wallFilmRegion >& log.decomposePar.wallFilmRegion decomposePar -region wallFilmRegion > log.decomposePar.wallFilmRegion 2>&1
decomposePar >& log.decomposePar.primaryRegion decomposePar > log.decomposePar.primaryRegion 2>&1
runParallel reactingParcelFilmFoam 4 runParallel reactingParcelFilmFoam 4
reconstructPar -region wallFilmRegion >& log.reconstructPar.wallFilmRegion reconstructPar -region wallFilmRegion > log.reconstructPar.wallFilmRegion 2>&1
reconstructPar >& log.reconstructPar.primaryRegion reconstructPar > log.reconstructPar.primaryRegion 2>&1

View File

@ -14,7 +14,7 @@ runApplication subsetMesh c0 -patch wallFilm -overwrite
# split the obstacle patches into cube[1-6]_patch[1-6] # split the obstacle patches into cube[1-6]_patch[1-6]
echo "running patchifyObstacles" echo "running patchifyObstacles"
./patchifyObstacles >& log.patchifyObstacles ./patchifyObstacles > log.patchifyObstacles 2>&1
# Create the wall film region via extrusion # Create the wall film region via extrusion
runApplication extrudeToRegionMesh \ runApplication extrudeToRegionMesh \