tutorials: rationalized log

This commit is contained in:
Henry
2015-02-19 08:39:32 +00:00
parent 0ca9a1fb09
commit 6be514684a
7 changed files with 28 additions and 21 deletions

View File

@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
# \\/ M anipulation |
#-------------------------------------------------------------------------------
# License
@ -48,7 +48,8 @@ createEpsT()
set xrange [0:0.08]
set yrange [285:310]
plot \
"$EXPT" u (\$1/1000):(\$2+273.15) title "Expt 0.$index" with points lt 1 pt 6, \
"$EXPT" u (\$1/1000):(\$2+273.15) title "Expt 0.$index" \
with points lt 1 pt 6, \
"$OF" title "OpenFOAM 0.$index" with lines linetype -1
EOF
}
@ -71,7 +72,8 @@ createEpsU()
set xrange [0:0.08]
set yrange [-0.2:0.2]
plot \
"$EXPT" u (\$1/1000):(\$2) title "Expt 0.$index" with points lt 1 pt 6, \
"$EXPT" u (\$1/1000):(\$2) title "Expt 0.$index" \
with points lt 1 pt 6, \
"$OF" u 1:3 title "OpenFOAM 0.$index" with lines linetype -1
EOF
}
@ -102,7 +104,8 @@ EXPTDATAROOT=./exptData
TSets="1 3 4 5 6 7 9"
for i in $TSets
do
echo " processing temperature profile at y/yMax of 0.$i"
echo " processing temperature profile at y/yMax of 0.$i" \
> log.createGraphs 2>&1
OF="$OFDATAROOT/y0.${i}_T.xy"
EXPT="$EXPTDATAROOT/mt_z0_${i}0_lo.dat"
@ -115,7 +118,8 @@ done
USets="1 3 4 5 6 7 9"
for i in $USets
do
echo " processing velocity profile at y/yMax of 0.$i"
echo " processing velocity profile at y/yMax of 0.$i" \
> log.createGraphs 2>&1
OF="$OFDATAROOT/y0.${i}_U.xy"
EXPT="$EXPTDATAROOT/mv_z0_${i}0_lo.dat"