A little confused about the conversion of gravitational energy to kinetic energy

The last run shows the collapse of a slightly perturbed sphere. I would expect that the total energy is conserved or that KE+U+iE = C… The run is however, isothermal - so any heating due to compression is lost… but does this explain the essentially flat curve that is 2KE+V? https://clover.pas.rochester.edu/trac/astrobear/wiki/GravoTurbulence#VII

So I reran the simulation with a gamma of 1.001 to track this energy. Sure enough the rate of increase in the internal energy is very similar to the kinetic energy during the initial stages of the simulation.

Comments

No comments.