Problem with rebin
I have a the following problem ( I am working on Occigen, data are on: /scratch/cnt0026/oca7233/elega/DiskWind/Jnu2WindEvaForGiants/step3HR) I want to restart with a newgrid, I have prepared the grid with: /home/elega/fargOCA2019/build/utils/make_grid --nbradii 340 --nbsectors 536 --nblayers 68 --config ./config3.info --ofil e grid340x536x68.h5 and rebinned with: /home/elega/fargOCA2019/build/utils/rebind_disk -i disk50.h5 -g grid340x536x68.h5 -o disk51.h5
Now I compare the midplane values of hydro quantities of disk50.h5 and of disk51.h5 with view_midplane_disk
Figure are joined:
first is disk50.h5:
then the rebinned disk51:
Now velocities are ok while density and energy clearly are wrong:
the density:
disk50.h5: values are plotted between min and max so they are in the interval ~ 1.e-16 1.e-10
disk51.h5: black strips in the figures correspond to value 1.e-20 which is the density_min that I have in my config3.info file
but : why should the interpolation force values to the minimum considering the values of disk50.h5 ?
the energy:
something on the same lines there the minimum is fixed to zero so the log plot suffers but again there should not be the necessity to put values to zero considering disk50.h5
Could be the spline interpolation ? Did we try linear interpolation?