Commit ae1e1cc9 authored by mattijs's avatar mattijs
Browse files

BUG: tutorial scripts bashisms

parent 22b85e36
......@@ -2,4 +2,4 @@
set -x
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
blockMesh >& log.blockMesh
blockMesh > log.blockMesh 2>&1
......@@ -7,11 +7,11 @@ cd ${0%/*} || exit 1 # run from this directory
./Allrun.pre
decomposePar -region wallFilmRegion >& log.decomposePar.wallFilmRegion
decomposePar >& log.decomposePar.primaryRegion
decomposePar -region wallFilmRegion > log.decomposePar.wallFilmRegion 2>&1
decomposePar > log.decomposePar.primaryRegion 2>&1
runParallel reactingParcelFilmFoam 4
reconstructPar -region wallFilmRegion >& log.reconstructPar.wallFilmRegion
reconstructPar >& log.reconstructPar.primaryRegion
reconstructPar -region wallFilmRegion > log.reconstructPar.wallFilmRegion 2>&1
reconstructPar > log.reconstructPar.primaryRegion 2>&1
......@@ -14,7 +14,7 @@ runApplication subsetMesh c0 -patch wallFilm -overwrite
# split the obstacle patches into cube[1-6]_patch[1-6]
echo "running patchifyObstacles"
./patchifyObstacles >& log.patchifyObstacles
./patchifyObstacles > log.patchifyObstacles 2>&1
# Create the wall film region via extrusion
runApplication extrudeToRegionMesh \
......
......@@ -4,11 +4,11 @@
./Allrun.pre
decomposePar -region wallFilmRegion >& log.decomposePar.wallFilmRegion
decomposePar >& log.decomposePar.primaryRegion
decomposePar -region wallFilmRegion > log.decomposePar.wallFilmRegion 2>&1
decomposePar > log.decomposePar.primaryRegion 2>&1
runParallel reactingParcelFilmFoam 4
reconstructPar -region wallFilmRegion >& log.reconstructPar.wallFilmRegion
reconstructPar >& log.reconstructPar.primaryRegion
reconstructPar -region wallFilmRegion > log.reconstructPar.wallFilmRegion 2>&1
reconstructPar > log.reconstructPar.primaryRegion 2>&1
......@@ -14,7 +14,7 @@ runApplication subsetMesh c0 -patch wallFilm -overwrite
# split the obstacle patches into cube[1-6]_patch[1-6]
echo "running patchifyObstacles"
./patchifyObstacles >& log.patchifyObstacles
./patchifyObstacles > log.patchifyObstacles 2>&1
# Create the wall film region via extrusion
runApplication extrudeToRegionMesh \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment