BUG: mixerVessel: replace foamInfoExec with foamListTimes

This commit is contained in:
mattijs
2017-06-14 12:28:33 +01:00
parent 29fa7a9306
commit e14ad6f1fc

View File

@ -71,7 +71,7 @@ runParallel checkMesh -allTopology -allGeometry -latestTime
# Copy the mesh from the latest time folder into polyMesh and delete that
# latest time folder
latestTime=$(foamInfoExec -case processor0 -latestTime)
latestTime=$(foamListTimes -latestTime -processor)
if [ "$latestTime" != "constant" ] && [ -d processor0/$latestTime/polyMesh ]
then
runApplication reconstructParMesh -latestTime