Closed robertladwig closed 3 years ago
Hi Robert, Thanks for spotting the error. I actually forgot to compile it before pushing. However, the parenthesis is still not quite at the right place: it should be before the "2". If you correct this then I can merge the pull request. Otherwise, I can also correct it myself later.
Gotcha, changed it to before the parenthesis.
Thanks
I noticed issues when compiling the newest Simstrat source code as a parenthesis was missing in strat_temp.f90 which gave gfortran problems (probably no error under fort?).
I assume that this line adds the heat flux as Q/(cp rho V) A and A is taken as the middle point of the cell? Therefore I added the missing parenthesis to the end of the line: `sources(ubnd_vol) = sources(ubnd_vol) + state%heat/rho_0/cp/grid%h(ubnd_vol)grid%Az(ubnd_fce)/(grid%Az(ubnd_fce) + grid%Az(ubnd_fce - 1)2
to
sources(ubnd_vol) = sources(ubnd_vol) + state%heat/rho_0/cp/grid%h(ubnd_vol)grid%Az(ubnd_fce)/(grid%Az(ubnd_fce) + grid%Az(ubnd_fce - 1)*2)`