Allmesh scripts: removed unused variables and legacy syntax

This commit is contained in:
Chris Greenshields
2018-11-23 18:41:55 +00:00
parent b928e37677
commit 01763b037d
4 changed files with 2 additions and 10 deletions

View File

@ -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

View File

@ -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
#------------------------------------------------------------------------------