*
Cococubed.com


Stellar Atmospheres

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
... 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 below implements a simple stellar atmosphere model. It assumes a one-dimensional slab in hydrostatic and local thermodynamic equilibrium with gray rosseland mean opacities. Still, it can be useful as a quick diagnostic of a stellar atmosphere, or for checking the effects of a piece of local physics (e.g.,ionization).

image
sun's temperature structure
image
sun's ionization structure


atmos.f
plus six include files:
atmos.dek
implno.dek
const.dek
network.dek
vector_eos.dek
vector_kap.dek

You'll need the eosfxt equation of state and the kapfxt opacity routine.
 



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.