diff --git a/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allmesh b/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allmesh index 9a95d04cbd..9578e3b12c 100755 --- a/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allmesh +++ b/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allmesh @@ -18,7 +18,7 @@ runApplication -s collapseFaces \ runApplication checkMesh -allTopology -allGeometry -latestTime -latestTime=`foamListTimes -latestTime` +latestTime="$(foamListTimes -latestTime)" # Move the mesh into polyMesh rm -rf constant/polyMesh diff --git a/tutorials/mesh/foamyHexMesh/mixerVessel/Allmesh b/tutorials/mesh/foamyHexMesh/mixerVessel/Allmesh index d22a716634..336c8c084d 100755 --- a/tutorials/mesh/foamyHexMesh/mixerVessel/Allmesh +++ b/tutorials/mesh/foamyHexMesh/mixerVessel/Allmesh @@ -16,9 +16,6 @@ intersectSurfaces() surfaceBooleanFeatures "$@" intersection } -# Set application name -application=$(getApplication) - # Run the surface preparation script ./constant/triSurface/surfaceProcess.sh > log.surfaceProcess 2>&1 diff --git a/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/Allmesh b/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/Allmesh index 73bdcda6c5..b8bfd32e0e 100755 --- a/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/Allmesh +++ b/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/Allmesh @@ -4,9 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Set application name -application=$(getApplication) - # Meshing runApplication blockMesh runApplication surfaceFeatures diff --git a/tutorials/multiphase/interFoam/RAS/waterChannel/Allmesh b/tutorials/multiphase/interFoam/RAS/waterChannel/Allmesh index c941916ef1..97900ec6cd 100755 --- a/tutorials/multiphase/interFoam/RAS/waterChannel/Allmesh +++ b/tutorials/multiphase/interFoam/RAS/waterChannel/Allmesh @@ -4,8 +4,6 @@ cd ${0%/*} || exit 1 # run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=$(getApplication) - runApplication blockMesh echo "Creating channel" @@ -14,7 +12,7 @@ while [ "$i" -lt 3 ] ; do cp system/extrudeMeshDict.${i} system/extrudeMeshDict echo "Running extrudeMesh, instance" ${i} extrudeMesh > log.extrudeMesh.${i} - i=`expr $i + 1` + i=$((i + 1)) done #------------------------------------------------------------------------------