*
Cococubed.com


Electron and Positron Chemical Potentials

Home

Teaching materials
Astronomy research
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
Astronomy talks
Astronomy images
Outreach
Family album
Bicycle adventures
Artwork


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




* chemical_potentials.f

plus one include file:
chem_table_storage.dek

plus one 2.5 MB data file:
chem_table.dat.bz2


The code above returns the electron and positron chemical potentials for a fully ionized stellar plasa. The electron chemical potentials do not include the electron rest mass, so the reported value is the "kinetic chemical potential". this means that the positron chemical potential must have the rest-mass terms appear explicitly, ηpos = -ηele - 2mec2. you can see this formula being used at the end of the routine. I essentially formed this code from the Helmholtz equation of state to make a stand-alone version that may be useful for computing weak reaction rates.

Top 10 tips about the chemical potential (from Peter Saeta)
  1. It expresses how eager a system is for particles.
  2. In equilibrium it is equal in two systems placed in diffusive contact.
  3. Particles move from a region of high chemical potential to a region of low chemical potential.
  4. It can be found by differentiating thermodynamic potentials with respect to N.
  5. It has an internal part and an external part; the external part is just a normal per-particle potential energy, such as mgh.
  6. It is the Gibbs free energy per particle, G/N.
  7. It is used to describe chemical equilibria.
  8. For a monatomic ideal gas, it is kT ln (νQ/ν).
  9. It is enormously useful in describing equations of state.
  10. It is the factor you use to get the particle number right!

Number 10 is probably the most pragmatic tip. In the application here, one balances the number density of electrons from fully ionized material with the net number of electrons and positrons coming from various Fermi-Dirac integrals.
 



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.