Skip to content

Latest commit

 

History

History
534 lines (451 loc) · 23.5 KB

notes-lecture-EOS1.org

File metadata and controls

534 lines (451 loc) · 23.5 KB

400A - EOS (polytropic & ideal gas)

Materials: Chapter 3 of Onno Pols’ lecture notes, Sec. 2.2 and Chapter 5 and 13 of Kippenhahn’s book, Sec. 2-4 of Clayton’s book.

Equation of state 1/2

Summary of where we are

We have introduced now two equations of the stellar structure (N.B.: at the end of the course we’ll need 5 to close the system and get a solvable model), and we know we can write them using the Lagrangian mass coordinate, that is the mass enclosed in a certain radius, as independent variable. But to reason conceptually about the problem, we can stick to writing them as a function of r: the Lagrangian formalism is important when doing numerical work, but less so for analytic reasoning, when we can easily switch back and forth between r, m, or any other variable as independent.

Mass continuity:

where we implicitly are assuming static equilibrium (∂t = 0).

Hydrostatic equilibrium:

These two equations express the conservation of mass and momentum, respectively (N.B.: it is often useful to write all equations in the form of conservation laws to solve them numerically), and have as variables the function $m ≡ m(r)$ (or equivalently $r≡ r(m)$), $P$ and $ρ$. So clearly we cannot yet solve them, we need some relation between the pressure and the density - a so-called equation of state (EOS).

General consideration on the EOS

In general, this is a relation between the local value of pressure $P$, density $ρ$, and temperature $T$, which may also depend on the composition, that is the ensemble of fraction by mass of elements ($Xi$ = mass of $i$-th element/total mass):

For a given composition ${Xi}$, given two out of three between $P, ρ, T$, one can obtain the third using the EOS.

The aim of this lecture is to introduce first simple EOS which do not introduce any other variables (so independent of T), and then go over a more appropriate EOS which is a good approximation for most stars, the ideal gas EOS. We will see other EOS (for degenerate or radiation-dominated gas) in a future lecture.

Global and local thermal equilibrium

Before we get into the EOS though, we have to ask ourselves whether we can use thermodynamics/statistical mechanics to describe the microscopic properties of the stellar gas and find some relationship between $P$, $ρ$ (and other thermodynamic quantities such as $T$, entropy, etc). Are these even well defined?

Thermal equilibrium means by definition that all the particles in a system (including photons, if there is radiation) have the same temperature $T$, and their velocity distribution are described by a Maxwell-Boltzmann distribution (for particles) and the black-body spectrum (for radiation). This situation can only be achieved if there are sufficient interactions so each particle can exchange energy with the others (collisions among particles, and scattering/absorption for photon-particles interactions).

  • Q: are stars in global thermal equilibrium? If they were, they would have a single temperature throughout the star, does this sound realistic?

Stars are not in global thermal equilibrium. They are in ”gravothermal equilibrium”: the hydrostatic equilibrium requirement and the self-gravity determine the thermal state of each layer so that the pressure gradient can balance gravity.

However, locally, we can still assume that there are stellar layers with a thickness $dr\ll R$ that are in thermal equilibrium (with $R$ outer radius of the star, which we have seen to be an idealization, since in reality $R≡ R(λ)$ depends on the wavelength λ at which one observes). For this to happen, this layer needs still to be much larger than the mean-free-path for particle-particle and particle-photon interactions. This allows for many interactions between the particles to occur and establish local thermal equilibrium within the layer of thickness dr. Let’s consider the mean-free-path for particle-photon interactions first:

where n is the number density of particles ([$n$] = cm-3) and σ is the interaction cross section ([σ] = cm2), or equivalently, ρ is the mass density (appearing in the two equations we already have), and κ is the “opacity”, which is a way to measure the probability of a photon to interact with a certain amount of mass.

  • Q: what are the units of κ? How can we interpret it?

Let’s for simplicity assume that a star is all made of hydrogen (a result first derived ∼100 years ago by Cecilia Payne in her PhD thesis in 1925). Let’s also assume that it is fully ionized (i.e., protons and electrons are separated from each other). The very minimum opacity in this case is given by scattering of photons onto the electrons and is: $κ = 0.2(1+X)$ cm2 g-1 (see also lecture on opacities), where $X$ is the mass fraction hydrogen, so for our rough approximation, κ\simeq0.4. The average density of the Sun is ρo, avg≅1.4 g cm-3, therefore \ellγ ≅ 2 cm. The mean-free-path for particle-particle interactions $\ell_\mathrm{b}$ is much smaller (because the cross section σ is larger): the interaction is electromagnetic and has infinite range, in principle all charged particles feel all other (we will return on this at the end of this lecture). Therefore, we can conservatively ask what is the temperature variation across \ellγ:

(where we neglect $T_\mathrm{surface}$ because we expect it much lower than $Tcenter$, since we already know $Pcenter \gg Psurface$). For the Sun we will see that we can estimate $T_\mathrm{center}≅ 107$ K, and we know $Ro≅ 1011$ cm, so $Δ T≅ 10-4 K \ll Tsurf \ll Tcenter$.

Thus, we can define layers of the star with $\ell_\mathrm{b} \ll \ellγ \ll dr \ll R$ where locally the temperature variation across the layer is negligible, and the assumption of local thermal equilibrium (LTE) holds well. (N.B.: you can revise this a posteriori once we have an EOS and a way to estimate of $T_\mathrm{center}$!)

This may not be true close to the surface, where \ellγ progressively increases (because ρ decreases). There we may need to care about the wavelength (or frequency) dependence of the cross section σ\equivσ(λ) and thus the mean free path: a star has a different “surface” for different photon frequencies! In those layers, the assumption of LTE does not work.

As long as we discuss regions of the star with a thickness large w.r.t. \ellγ but small enough that the T variation across them are negligible, we can use thermodynamics!

Also, as we have seen before, the stars are usually in equilibrium and change very slowly. Any local thermal imbalance will be restored on the local thermal timescale, which can be estimate in multiple ways, but it is usually very short compared to the star evolutionary timescale (we will see this in more detail later). Thus the assumption of LTE holds locally (as the “L” indicates) at any time! Therefore, while we cannot really define a physically meaningful $T$ for the entire star (beyond some rough averaged quantity), we can meaningfully define a local $T(r)$ or $T(m)$ temperature that characterizes the gas and the radiation at that radius/mass coordinate. The local validity of the LTE assumption allows us to define thermodynamic quantities from statistical mechanics and look for a relation between them, that is an EOS.

Polytropic EOS

Polytropic EOS as a special case of barotropic EOS, which are all the EOSs for which the density depends only on the pressure and not on the temperature or composition: $ρ\equivρ(P)$. These have applications beyond stellar physics (e.g., for atmospheric physics). A polytropic EOS is thus a barotropic EOS where the $ρ\equivρ(P)$ is in the form of a powerlaw, although usually written (following the general form of Eq. \ref{eq:general_EOS}):

where C is a constant, and by definition $Γ=∂ ln P /∂ ln ρ = 1+1/n$. The form of the EOS in Eq. \ref{eq:polytrope} may seem particularly artificial, but it is helpful because it does not introduce any new variable, and thus “closes” (together with Eq. \ref{eq:mass_cont} and Eq. \ref{eq:HSE}) the system of equations describing a star! This is the system of equations used to create, for example, analytic stellar models (e.g., the Lane-Emden equation), which is one of the topics for the projects. These can be useful to initialize roughly correct stellar structures in multi-dimensional hydrodynamic codes for particular applications (e.g., a common envelope evolution simulation!), but they are usually insufficient for modern stellar physics application.

More importantly, there are various physical situations (as we will return on during the second lecture on EOSs) in which EOS of this form occur, and are useful to describe real observed stars.

  • fully convective stars (see relative lecture)
  • stars supported by quantum mechanical effects such as white dwarfs (WDs)

Often, different polytropes in the form of Eq. \ref{eq:polytrope} can be used for different layers of the stars (piece-wise polytropes) as useful approximation. In this cases, it is important to ensure the continuity of $P$ at the points where different polytropes are stitched together.

  • Q: why do we want $P$ to be a continuous function in stars?

Ideal gas

In general, it is not possible to have an EOS independent of $T$ and/or the composition ${Xi}$. Let’s consider a perfect gas, that is a gas of particles that do interact with each other (otherwise they could never exchange energy and be in thermal equilibrium!), but such as that the energy exchanged in the particle-particle interactions is much small than their kinetic energy (due to their thermal motion)

and other than these interaction between particles, they are free to move (no external potential).

To obtain the pressure of such gas, we need to consider the distribution in velocity space of these particles. Let’s for a moment consider particles that all have the same mass m, we can then equivalently consider the distribution in momentum p=mv of the particles – this is convenient to generalize later to relativistic particles, and we will see how to deal with mixtures of gases (each with particles mi) further down.

Since the particles of the ideal gas move isotropically within their volume, the momentum distribution of particles is a Maxwell-Boltzmann distribution. The number of particles with momentum between $p$ and $p+dp$ is

where on the r.h.s., $n$ is the total number density, the prefactor of the exponential is the normalization constant, and the exponential comes from assuming a Gaussian distribution of kinetic energies for each momentum component (you can demonstrate that a Maxwellian distribution is equivalent to a Gaussian in each direction $px$, $py$, $pz$, by going to spherical-polar coordinates in momentum space, thus introducing a Jacobian for the change of variables, and integrating over the $pθ$, $p\varphi$ components).

From this, we can calculate the pressure of the gas. By definition this will be isotropic, and so we can imagine to put a “box” with unit linear size through our gas (the orientation of the walls does not matter). To determine the gas pressure we want the force exerted by the gas on the walls. By Newton’s third law this is equal to the change in momentum of each gas particles as they hit the walls. We will first consider the momentum change for a generic single particle, and then integrate over the distribution in Eq. \ref{eq:Maxwellian} to get the whole pressure.

Let’s call the imaginary wall the xy plane and assume the collisions to be elastic (because we are considering an ideal gas, by definition any exchange of energy is negligible). For a generic particle of the gas, it will collide with the wall at an angle $θ ∈ [0, π/2]$ and the collision will change its momentum from ($px$, $py$, $pz$) to ($px$, $py$, $-pz$): only the component perpendicular to the wall changes sign. Thus

The time between two collisions of a particle on the same wall is

where we used the $L=1$ assumption. Thus the force exerted on this imaginary wall of a unit box is $F=Δ p/Δ t = vp cos2(θ)$, dividing by $L2 = 1$ we obtain the contribution to the pressure from one particle coming from one specific direction θ (w.r.t. the wall of the box), and introducing the distribution of particles in angle and momentum we have

But we can assume that the motion of the particles is isotropic (spherical symmetry), so $n(θ,p)dθ = n(p)sin(θ)dθ$, and thus

where we integrated over $θ$. Combining Eq. \ref{eq:P_statistic} with Eq. \ref{eq:Maxwellian} gives the pressure.

Non-relativistic, classical gas

Let’s consider a non-relativistic gas of classical particles (no quantum effects). Then $p= mv ⇔ v=p/m$ (N.B.: we are considering an ideal gas, so each particle is freely moving, no potential of interaction!). Carrying out the integral above using the Maxwell-Boltzmann distribution for $n(p)$ and $v=p/m$ gives

Mixture of (non-relativistic, classical) gases

Let’s now say that we have multiple gas mixed, for example, a gas of ions of various species and electrons. Each gas will contribute to the pressure: $Ptot = Pion, tot + Pe = ∑i Pion, i + Pe = (∑ini +ne) kBT$, where $ni$ is the number density of the ions $i$, which have mass $mu Ai$ with $mu$ the atomic mass unit:

Thus, we can relate the number density of the ions of species i with the mass density that already appears in the equations we already have with $ni = Xiρ/(Ai mu)$. Note that we are implicitly using the fact that everything has the same T because of the assumption of LTE!

We can re-write the total contribution of the ions defining the ion mean molecular weight such that $μ_\mathrm{ion} × mu$ = “average mass of ions”, that is $μ_\mathrm{ion} n_\mathrm{ion} = ρ/mu$ or $n_\mathrm{ion} = ∑i ni = ∑i Xiρ/(Aimu) ≡ ρ/(μ_\mathrm{ion}mu)$ and:

Similarly, we can define an electron mean molecular weight noticing that to maintain a total charge of zero per unit volume, since each ion carries charge $+Zie$ and each electron as charge $-e$: $(∑i Zini - ne)e = 0$. Thus

and we can define a combined mean molecular weight:

So that the total pressure of a mixture of ideal, classical and non-relativistic gas is

The introduction of the mean molecular weight allows us to treat a mixture of gases (assumed to be in LTE) as a single gas!

N.B.: this holds as long as every species satisfies our assumption of ideal, non-relativistic, classical gas.

Physical interpretation of $μ$

The mean molecular weight we have introduced above may seem a bit arbitrary, but it has a clear physical interpretation: it is the average number of particles per unit atomic mass $mu$.

For a fully ionized gas (i.e., where every ion is stripped of all its electrons):

In fact, for every $i$-th species that corresponds to a fraction $Xi$ of the total mass, that is $Xi/Ai$ in number density, we have $Zi$ electrons plus one nucleus that contribute. This approximation is usually good in the stellar interior, but as one moves outwards in the star, $P$ decreases, therefore by Eq. \ref{eq:ideal_gas_EOS}, $T$ decreases, and elements recombine, meaning the term $Zi+1$ is reduced. This can have important consequences in certain layers of the stars (“partial ionization layers”).

We can further simplify the expression for $μ$ by noting that for hydrogen $(Zi +1)/Ai = 2$ (i.e., hydrogen contributes 2 particles per unit atomic mass, one proton and one electron), for helium $(Zi +1)/Ai = 3/4$ (we are actually considering only the stable isotope of helium that contributes 3 particles every 4 atomic mass units, one nucleus and 2 electrons), and for the vast majority of stable metals $Zi \gg 1$ and $Zi ≅ Ai/2$ (i.e., most metals contribute per each $Ai$ atomic mass units roughly $Ai/2$ particles which are the electrons that are typically half as many as the nucleons). Therefore, for fully ionized gas, we can simplify the mean molecular weight to:

where $X$, $Y$, $Z$ are the mass fraction of hydrogen, helium, and the metallicity, respectively.

Relation between pressure and internal density

Eq. \ref{eq:P_statistic} can be used to relate $P$ to the internal energy density of a gas. This can be defined as:

with ε(p) the energy per particle.

If the particles in the (ideal) gas are non-relativistic, then $ε=p2/2m$, thus in the term $pv$ in Eq. \ref{eq:P_statistic} is $pv = 2ε$, and thus:

If instead the gas is ultra-relativistic, then $ε = pc$ (neglecting the mass term in the energy since $pc \gg mc2$), and thus:

Can we really use an ideal gas EOS in a plasma?

This is legitimate as long as the interaction energy between the particles are small compared to their kinetic energy. The dominant interaction between the particles (ions and electrons) is going to be through the Coulomb force, leading to energy exchanges of the order of:

for particles of charge $Ze$ (the ions) and average distance $d ≅ (4π n/3)-1/3$ with $n≅\rho/Amu$ number density. We want to compare this with the kinetic energy, which for point-like particles is $ε_\mathrm{thermal} = 3kbT/2$. The ratio of these two is often called the Coulomb parameter (neglecting constants of order unity):

We can assume the ideal gas situation if $ΓC \ll 1$, which is the case for the average $T$ and ρ of the Sun (we will estimate the average temperature of the Sun in the next lecture). We also see that at progressively lower temperature the Coulomb interaction start to matter (this is important for the crystallization of WDs for instance), or at increasingly high densities.

Homework

  • We have discussed that the internal layers of the star are in LTE using an argument based on the photons mean free path \ellγ. Assuming a star of constant density (use the mean density for this!), pure hydrogen composition, and that electron scattering is the dominant interaction of the photons in the stellar interior so κ\simeqκes=0.2(1+X), using one-dimensional random-walk arguments, estimate:
    1. how many scatterings a photon created in the center of the Sun will experience before coming out at the surface?
    2. Knowing that photons travel at the speed of light c and assuming scatterings to be instantaneous, what is the photon diffusion timescale throughout the star? How does it compare to the dynamical timescale?
  • Run with MESA-web a 0.3Mo star up to 108 yrs, and plot the P(ρ) profile of the star at this age (Hint: it may be useful to plot it on a log-log plot). Do you think it is possible to find a good approximation of this profile with a polytropic relation? Note that MESA-web does not assume a poytropic EOS! As usual, the deliverables are the plot, the code used to make it, and a small paragraph of text with your answer. Extra: you may even try to fit a polytrope throughout the star and provide the polytropic index Γ.