*
Cococubed.com


Polytropic Stars

Home

Commercial:
Artwork
Software
Teaching materials
Bicycle sag support

Free:
Family Album
Pretty astronomy pictures
Some astronomy codes
... Stellar equation of states
... EOS with ionization
... EOS for supernovae
... Chemical potentials
... Stellar atmospheres
... Voigt Function
... Polytropic stars
... Cold white dwarfs
... Hotter white dwarfs
... Cold neutron stars
... Stellar opacities
... Neutrino energy loss rates
... Ephemeris routines
... Fermi-Dirac functions
... Galactic chemical evolution

... Nuclear reaction networks
... Nuclear statistical equilibrium
... Laminar deflagrations
... CJ detonations
... ZND detonations
... Fitting to conic sections
... Unusual linear algebra
... Derivatives on uneven grids
... Pentadiagonal solver
... Quadratics, Cubics, Quartics
... Supernova light curves
... Exact Riemann solutions
... 1D PPM Hydrodynamics
... Verification problems

... EZ stellar evolution
... FLASH code
... Mesa code
Some astronomy talks
Some research
Bicycle adventures


Contact us:
J.D. Maldonado
F.X.Timmes, my vitae

The code given below computes the structure of stars that are in hydrostatic equilibrium and obey a polytropic equation of state. That is, it solves the dimensionless Lane-Emden equation and puts the physical units back in. Certain polytropic stars are related cold white dwarfs.


image
Various pathways in the PV-plane for a polytropic equation of state. Note that gamma = 1/n + 1 = n when n is equal to the golden ratio.
image
Numerical solutions to the Lane-Emden equation. For n < 5, the solutions can be continued to negative y. Although not physical, such solutions exists mathematically, and are quite useful for determining the values of x and dy/dx when y is zero. It's an exercise for the user to compare the computed surface values with other's tabulated values.
image
Difference between the analytical and numerical solutions for n = 0, 1, and 5 for various integration accuracies.
image
The larger n, the more extended the object. Many other physical properties can be plotted from the output files that are generated.


poly2.f
plus two include files:
implno.dek
const.dek


 



Please cite the relevant references if you publish a piece of work that use these codes, pieces of these codes, or modified versions of them. If you're nice, offer co-authorship of the publication. At best, you'll love these programs so much that you'll send great wads of cash to me.