AFAICT the rotation problem stems in large part from trying to use Keplers laws for a galaxy where they simply do not apply. I've even seen this problem in an article in Nature. It's quite a bit more than a 2-body problem. I'm in favor of these simulators plotting the rotation curves of simulated galaxies.
If you like simulators like this you might be interested in this game: http://store.steampowered.com/app/72200/
Yeah maybe it would be nice idea if when you generate a galaxy it also generates small dark matter particles around the regular particles.
What laws of gravity would those particles have to obey?
I think the answer of your question is being seek by a lot of physicists.
Re:HTML5 Gravity/Galaxy Simulator
by bitJericho on Monday September 08, 2014 @03:20PM
(#8286631)
First a simulator like this would have to be written with Einstein's equations. This is (just a guess) a newtonian physics sim.
I don't mean to be pedantic or anything. I just think it's interesting.
[0] http://abyss.uoregon.edu/~js/cosmo/lectures/lec17.html