Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
examples_aswns_kepler [2022/08/16 20:57]
theoastro
examples_aswns_kepler [2022/08/16 22:02] (current)
theoastro [Plotting your results]
Line 62: Line 62:
    error flag                      0    error flag                      0
  
-This was simply the first step of the iteration and you see that the code is continuously increasing the mass and tries to find the maximum mass that you can reach at the Kepler limit. For this dummy example, you should arrive at: +This was simply the first step of the iterationand you see that the code is continuously increasing the mass and trying to find the maximum mass that you can reach the Kepler limit.  
  
 +The final results will be written in the file that you provided, by default this would be kepler.dat. The individual columns refer to:  
 +     * the central density
 +    * axial Omega 
 +    * the corresponding error flag (0 means no error)
 +    * the gravitational mass in Msun 
 +    * the baryonic mass in Msun
 +    * the proper mass
 +    * total stellar entropy,
 +    * the angular momentum
 +    * the rotational energy
 +    * the equatorial omega,
 +    * the Keplerian Omega
 +    *  the equatorial radius in Msun,
 +    * the equatorial radius in km
 +    *  radius at the pole in Msun
 +    *  the disk mass
 +    * the derivative dm/drho
 +==== Plotting your results ====
  
-This computation can take a whileso please be patient+Based on the result in kepler.datyou could check your results. One straight forward way would be to look at m(rho) and plot this with gnuplot, e.g.,  
 +   
 +gnuplot  
 +gnuplot> plot 'kepler.dat' u 1:4 w l
  
-==== Plotting your results ====+which gives you the following plot of the gravitational mass as a function of the central density. 
  
 +{{aswns_kepler_simple.png}}
Last modified: le 2022/08/16 20:57