All Questions
2
questions
1
vote
1
answer
29
views
Doubt regarding solving an integration for radial flow of matter around a star in Newtonian gravity
The spherically symmetric flow of matter around a star in Newtonian gravity is governed by the equation
$$v\frac{dv}{dr}+\frac{1}{P+\rho}\frac{dp}{dr}+\frac{1}{r^2}=0$$
The equation of state is chosen ...
2
votes
0
answers
123
views
What is the correct way of integrating in astronomy simulations? [closed]
I'm creating a simple astronomy simulator that should use Newtonian physics to simulate movement of plants in a system (or any objects, for that matter). All the bodies are circles in an Euclidean ...