In an N-body simulation where forces between particles are attractive and particles do not lose energy on colliding with walls or each other, should energy be conserved? How could it be, with total kinetic energy increasing to unlimited values and total potential energy capped by the number of particles and their closest allowed proximity?
(I'm not sure if this is the correct forum to ask this, as it doesn't question the implementation mechanism itself. Feel free to tell me to repost it elsewhere.)