TUT: Updated Allrun scripts for tests. Fixes #710

This commit is contained in:
Andrew Heather
2018-01-17 15:30:49 +00:00
parent 40985d291b
commit e3c4696a6e
24 changed files with 208 additions and 181 deletions

View File

@ -4,6 +4,8 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
params=$@
runApplication blockMesh
cat system/schemesToTest | while read scheme
@ -16,6 +18,9 @@ do
runApplication -s ${schemeTag} scalarTransportFoam
# Save the line plot
mv postProcessing/sample1/100/line1_T.xy line1_T_${schemeTag}.xy
if ! isTest $params
then
# Save the line plot
mv postProcessing/sample1/100/line1_T.xy line1_T_${schemeTag}.xy
fi
done