tutorials::buoyantCavity::createGraphs: Updated for new sample file format
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration | Website: https://openfoam.org
|
||||
# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
# \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
# \\/ M anipulation |
|
||||
#------------------------------------------------------------------------------
|
||||
# License
|
||||
@ -79,7 +79,7 @@ createEpsU()
|
||||
plot \
|
||||
"$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
|
||||
"$OF" u 1:4 title "OpenFOAM 0.$index" with lines linetype -1
|
||||
EOF
|
||||
}
|
||||
|
||||
@ -112,7 +112,7 @@ for i in $TSets
|
||||
do
|
||||
echo " processing temperature profile at y/yMax of 0.$i"
|
||||
|
||||
OF="$OFDATAROOT/y0.${i}_T.xy"
|
||||
OF="$OFDATAROOT/y0.${i}.xy"
|
||||
EXPT="$EXPTDATAROOT/mt_z0_${i}0_lo.dat"
|
||||
|
||||
createEpsT $i $OF $EXPT
|
||||
@ -125,7 +125,7 @@ for i in $USets
|
||||
do
|
||||
echo " processing velocity profile at y/yMax of 0.$i"
|
||||
|
||||
OF="$OFDATAROOT/y0.${i}_U.xy"
|
||||
OF="$OFDATAROOT/y0.${i}.xy"
|
||||
EXPT="$EXPTDATAROOT/mv_z0_${i}0_lo.dat"
|
||||
|
||||
createEpsU $i $OF $EXPT
|
||||
|
||||
Reference in New Issue
Block a user