Bugfix: minor adjustments
This commit is contained in:
parent
0326f7259f
commit
bafaf17599
2 changed files with 6 additions and 2 deletions
|
@ -19,7 +19,7 @@ $1 along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
|
|||
$2
|
||||
!s;
|
||||
s!^(([#%]*) *)\\\\ / F ield \|.*!$1\\\\ / F ield | foam-extend: Open Source CFD!m;
|
||||
s!^(([#%]*) *) \\\\ / O peration \|.*!$1 \\\\ / O peration | Version: 3.2!m;
|
||||
s!^(([#%]*) *) \\\\ / O peration \|.*!$1 \\\\ / O peration | Version: 4.0!m;
|
||||
s!^(([#%]*) *) \\\\ / A nd \|.*!$1 \\\\ / A nd | Web: http://www.foam-extend.org!m;
|
||||
s!^(([#%]*) *) \\\\/ M anipulation \|.*!$1 \\\\/ M anipulation | For copyright notice see file Copyright!m;
|
||||
s!README file for version 3.[01]\*!README file for version 3.2*!;
|
||||
|
|
|
@ -52,7 +52,9 @@ runApplication ()
|
|||
echo "$APP_NAME already run on $PWD: remove log file to run"
|
||||
else
|
||||
echo "Running $APP_NAME on $PWD"
|
||||
$APP_RUN $* > $LOG_NAME 2>&1
|
||||
cat system/fvSchemes > $LOG_NAME
|
||||
cat system/fvSolution >> $LOG_NAME
|
||||
$APP_RUN $* >> $LOG_NAME 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -82,6 +84,8 @@ runParallel ()
|
|||
# Allow eccentric systems to override the hardcoded mpirun
|
||||
mpirunProg=$WM_MPIRUN_PROG
|
||||
fi
|
||||
cat system/fvSchemes > $LOG_NAME
|
||||
cat system/fvSolution >> $LOG_NAME
|
||||
( $mpirunProg -np $1 $APP_RUN -parallel < /dev/null > $LOG_NAME 2>&1 )
|
||||
fi
|
||||
}
|
||||
|
|
Reference in a new issue