The SingleStar object
The Single Star object contains the current and past states of the star.
Only parameters in the STARPROPERTIES
list are stored in the history.
The current parameter value of the star object is accessed as, e.g. star.mass
while its past history with star.mass_history
.
To use SingleStar object import it using:
from posydon.binary_evol.singlestar import SingleStar
Creating a SingleStar object
STARPROPERTIES
The star properties are defined as follows
Properties |
Descriptions |
---|---|
|
The state of the star, see state options. |
|
Fractional metal content (Z) of the star. |
|
Stellar mass in M_sun. |
|
log10 stellar radius in R_sun. |
|
log10 surface stellar luminosity in L_sun. |
|
Stellar mass-loss rate in Msun/yr. |
|
log10 stellar wind mass-loss rate in Msun/yr. |
|
Helium core mass in M_sun. |
|
Helium core radius in R_sun. |
|
Carbon core mass in M_sun. |
|
Carbon core radius in R_sun. |
|
Oxygen core mass in M_sun. |
|
Oxygen core radius in R_sun. |
|
Hydrogen central mass fraction abundance. |
|
Helium central mass fraction abundance. |
|
Carbon central mass fraction abundance. |
|
Nitrogen central mass fraction abundance. |
|
Oxygen central mass fraction abundance. |
|
Hydrogen surface mass fraction abundance. |
|
Helium surface mass fraction abundance. |
|
Carbon surface mass fraction abundance. |
|
Nitrogen surface mass fraction abundance. |
|
Oxygen surface mass fraction abundance. |
|
log10 total thermal power from PP and CNO, excluding neutrinos devided by L_sun. |
|
log10 total thermal power from triple-alpha, excluding neutrinos devided by L_sun. |
|
log10 total burning power excluding LH and LHe and photodisintegrations devided by L_sun. |
|
log10 total nuclear reaction luminosity (LH + LHe LZ) in L_sun. |
|
log10 total luminosity for c12_c12 reaction in L_sun. |
|
Average surface omega divided by critical omega. |
|
Total moment of inertia in g*cm^2. |
|
log10 total angular momentum of the star g*cm^2*s^-1 |
|
Angular momentum of the star in g*cm^2*s^-1 or dimensionless BH spin. |
|
Stellar profile from MESA. [not currently supported for the initial-final interpolator] |
Additional scalar properties are added during the evolution depending on which steps the star has undergone. These properties are not stored in the history.
State options
Star states are defined by their burning and surface properties. These states are combined to describe the stellar state. We also have additional extra states for objects that are not stars.
State |
Description |
---|---|
|
The star has a hydrogen-rich surface. |
|
The star has a stripped helium surface. |
|
The star has accreted a helium rich layer on its surface. |
State |
Description |
---|---|
|
The star is not burning. |
|
The star is burning hydrogen in its core. |
|
The star is burning hydrogen in a shell. |
|
The star is burning helium in its core. |
|
The star has a helium depleted core. |
|
The star is burning helium in a shell. |
|
The star is burning carbon in its core. |
|
The star has a carbon depleted core. |
State |
Description |
---|---|
|
The star is a White Dwarf. |
|
The star is a Neutron Star. |
|
The star is a Black Hole. |
|
The star exploded or merged. Only its companion is left as a single star. |
Basic example
The simplest method is to provide kwargs of the initial stellar parameters.
kwargs = {'state' : 'MS',
'mass' : 10.0,
'metallicity' : 0.014}
SingleStar(**kwargs)
Now, the SingleStar object is ready to be used.