wrishik / Neutron-Star-Structure

Numerical Solutions to the Structure of Neutron Stars using EoS
MIT License
12 stars 6 forks source link

Enthalpy #1

Open phathulkp opened 2 years ago

phathulkp commented 2 years ago

Can u tell me in which step have u converted ur Pressure and energy as function of radius from function of enthalpy (In no_rot.py code) Why do u multiply rho,nb and P with some factor in apr.

wrishik commented 2 years ago

Hello, I haven't converted Pressure/energy to a function of radius, I have solved the differential equations of stellar structure to obtain the Pressure as a function of the radius/distance from the center of the star. Also, the factor multiplied is just a simple conversion of units. Please get back to me if you have furthur doubts.

phathulkp commented 2 years ago

Hey Wrishk, Thanks for the reply. In the file, the pressure and energy are the functions of rho. How could u use them for plotting graphs as a function of r. Could u please tell me which paper u used for equation. Regards

wrishik commented 2 years ago

Hello,

You can search TOV equation, solving that, coupled to the mass increment equation will give you P(r), M(r). If you want a detailed explanation, drop me a mail at wrishiknaskar@gmail.com

Best, Wrishik.