Updated tutorial scripts 'createGraphs' and 'patchifyObstacles' for clearer messages

Patch contributed by Bruno Santos
Resolves patch request https://bugs.openfoam.org/view.php?id=2411
This commit is contained in:
Henry Weller
2016-12-27 15:44:30 +00:00
parent 3d5e4c924b
commit fcde201a40
3 changed files with 19 additions and 9 deletions

View File

@ -6,8 +6,12 @@
# \\ / A nd | Web: www.OpenFOAM.org #
# \\/ M anipulation | #
#-----------------------------------------------------------------------------#
cd ${0%/*} || exit 1 # Run from this directory
# Stop on first error
set -e
x0=0.4
y0=0.1
z0=0.1
@ -157,4 +161,6 @@ echo "faceZoneSet floorFaces new setsToFaceZone FloorFaces floorCells" >> $tmpSe
setSet -batch $tmpSetSet > log.setSet.patchifyObstacles 2>&1
echo "End"
# *************************************************************************