ENH: foamRunTutorials: specify name of log file

This commit is contained in:
mattijs
2014-02-26 14:50:04 +00:00
parent 3affd5ba07
commit b299b6b6ee
2 changed files with 28 additions and 14 deletions

View File

@ -17,15 +17,11 @@ do
sed "s/XXX/$e/g" constant/transportProperties.template \
> constant/transportProperties
runApplication `getApplication`
mv log.boundaryFoam log.boundaryFoam_$e
runApplication -l log.boundaryFoam_$e `getApplication`
# extract y+, U+
# note: both must be added to foamLog.db
runApplication foamLog log.boundaryFoam_$e
mv log.foamLog log.foamLog_$e
runApplication -l log.foamLog_$e foamLog log.boundaryFoam_$e
if [ -e logs/yPlus_0 ]
then