diff --git a/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre b/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre index e2508db192560393817c69c7152b8cc54c6cacea..21c5d3f1998cc8a0369d9a0c33d806327c44e87b 100755 --- a/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre +++ b/tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre @@ -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