Skip to content

Latest commit

 

History

History
23 lines (11 loc) · 839 Bytes

README.md

File metadata and controls

23 lines (11 loc) · 839 Bytes

Hydrostatic Equilibrium of uniformly rotating cylindrical polytropes

A detailed analysis of how to track the surface of cylindrical polytropes.

Numerical Method

The method with wich the problem is solved is the cassical 4th-order Runge-Kutta.

Construct your polytrope

Constructing different polytropes by setting b (rotation) and polytropic index n.

Tip: Be aware that if you exceed the maximum value for rotation the code won't stop running since the radius is "infinity" in such cases.

Results