foamInfoExec: Time listing functionality superseded by foamListTimes

This commit is contained in:
Henry Weller
2016-06-03 19:23:27 +01:00
parent 82236c2b81
commit dd281330bc
6 changed files with 3 additions and 254 deletions

View File

@ -4,16 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
#moveTimeMeshToConstant()
#{
# DT=`foamInfoExec -times | tail -1`
# if [ "$DT" != 0 ]
# then
# mv ${DT}/polyMesh/* constant/polyMesh
# rm -rf ${DT}
# fi
#}
runApplication blockMesh
runApplication datToFoam grid256.dat
@ -21,7 +11,6 @@ runApplication datToFoam grid256.dat
CONST="constant"
cat $CONST/pointsHeader $CONST/points.tmp > $CONST/polyMesh/points
runApplication collapseEdges -overwrite
#moveTimeMeshToConstant
echo "Changing patch type to wedge type in boundary file"
mv $CONST/polyMesh/boundary $CONST/polyMesh/boundary.bak

View File

@ -18,7 +18,7 @@ runApplication -s collapseFaces \
runApplication checkMesh -allTopology -allGeometry -latestTime
latestTime=`foamInfoExec -latestTime`
latestTime=`foamListTimes -latestTime`
# Move the mesh into polyMesh
rm -rf constant/polyMesh