The phase_diagram using a uniform initial velocity and no gravity ( cooling is on ) and (always using total internal energy):
Row 1: Normal pressure on the flux of E and momentum
Row 2: No pressure on the flux of E and momentum
No spurious heating of the gas!
To track the differences on the hydro conserved variables I plot projections ( 5 Mpc deep );
I used PPCM for the reconstruction and HLLC for the Reimann solver.
First using same as enzo:
Now using , here we are using more of the advected internal energy
Now using always using advected internal energy and not synchronizing the total internal energy to see the independent evolution of the total internal energy.
Here is the phase diagram for the simulation using (only advected internal energy )
Here I show the fraction of the 90 percentile of the internal energy to the 90 percentile of the kinetic energy to show how small errors in the kinetic energy result in large errors on the internal energy.