tutorials Allrun scripts: Update running of postProcess application

Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2173
This commit is contained in:
Henry Weller
2016-08-02 16:24:28 +01:00
parent d01eb45cfc
commit 2e1557a79e
6 changed files with 13 additions and 7 deletions

View File

@ -31,7 +31,13 @@ cloneCase moriyoshiHomogeneous moriyoshiHomogeneousPart2
(
cd moriyoshiHomogeneousPart2 || exit
cp -r ../moriyoshiHomogeneous/0.005 .
# The following 2 command lines are a generic implementation of the
# following command:
# cp -r ../moriyoshiHomogeneous/0.005 .
lastTimeStep=$(foamListTimes -case ../moriyoshiHomogeneous -latestTime)
cp -r ../moriyoshiHomogeneous/$lastTimeStep .
setControlDict
runApplication `getApplication`
)