mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: tutorial scripts bashisms
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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 \
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user