openfoam/tutorials/verificationAndValidation/interCondensatingEvaporatingFoam/stefanProblem/plotGraph
sergio 499933dbab ENH: Adding features for phase change solvers
1) Adding interfaceHeight FO
2) Adding interfaceHeatResistance mass transfer model to
   interCondensatingEvaporatingFoam with spread source approach
3) Reworking framework for icoReactingMultiphaseInterFoam
2020-02-19 14:18:25 +00:00

26 lines
462 B
Plaintext
Executable File

createGraphs()
{
OF=$1
EXPT=$2
gnuplot<<EOF
set terminal postscript default
set output "OF_vs_Exact.eps"
set xlabel "t [sec]"
set ylabel "x [mm]"
set grid
plot \
"$EXPT" u 1:2 title "Exact", \
"$OF" u 1:2 title "OpenFOAM" with line lt -1 lw 1
EOF
}
sed -e 's/[()]//g' "postProcessing/interfaceHeight1/1.36/position.dat" > "positionClean.dat"
OF="positionClean.dat"
EXPT="data.dat"
createGraphs $OF $EXPT