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
This commit is contained in:
sergio
2020-02-04 13:14:04 -08:00
committed by Mattijs Janssens
parent 2ee9315532
commit 499933dbab
85 changed files with 6616 additions and 548 deletions

View File

@ -0,0 +1,25 @@
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