Hello,
I am trying to benchmark one of the built-in networks in KROME, specifically react_primordialZ. I am specifically trying to plot figure 5 from the Omukai 2005 paper, which the reactions in the network are taken from, so I ran the collapseZ test which worked fine for its intended purpose of recreating figure 9 from Omukai 2005 for the thermal evolution. The problem comes when I try to plot the abundances of H2O, O, O2 and OH against number density. The output fort.22 seems to have the columns for these abundances, but plotting them gives massively different results than the figures in the paper. I altered the plot.gps script to plot columns 9-12, so the plot for Z=-3:
reset
set logscale
set autoscale
set format y "%L"
set format x "%L"
set ylabel "log y(Abundance H2O, O, O2, OH)"
set xlabel "log(n/cm-3)"
set title "Z = -3"
set yrange [1e-13:1e-6]
set key b r
set grid
plot './fort.22' u 2:($1==-3?$11:1/0) w l t "H2O",\
'' u 2:($1==-3?$9:1/0) w l t "O",\
'' u 2:($1==-3?$10:1/0) w l t "OH",\
'' u 2:($1==-3?$12:1/0) w l t "O2",\
In addition to this I altered the test.f90 script to only run for one metallicity, which produced the same plot I get when I try the above script for the standard test.f90, just to double check. I understand that this was not the intended purpose of the test, and dust cooling is not present so there may be differences, but I'd have thought the plots would have been closer. If anyone has any suggestions as to why this may be, what I am doing incorrectly regarding looking at the data output or the way I'm plotting, it would be greatly appreciated. I will also attach the graph I produce and also the specific figure I am trying to reproduce.
I have tried using python, such as the script plot.py but I've no idea what the module kp is and can not find any information online about it. Trying to load the data using techniques I know in python seems more confusing than gnuplot because of the data output format, so that is why I have tried to stick to using gnuplot for this.
Cheers,
Chris Jessop