06-06 · Week 7
The van der Waals gas: two corrections to the ideal gas that predict liquids
The van der Waals equation fixes the ideal gas law with an excluded volume and an average attraction, and its loops in p against V explain why a gas condenses into a liquid below T_c.
- Name the two ways molecules interact and what each does to the ideal gas law.
- Derive the van der Waals equation from excluded volume and a mean-field attraction.
- Describe the van der Waals isotherms above, at and below T_c.
- Explain why the real system jumps from point 2 to point 6 and what coexistence means.
- State the strengths and limits of the van der Waals model.
20 min readJump to the quiz ↓
Real molecules take up room and tug on each other, so the ideal gas law needs two fixes
Intuition
An ideal gas is a crowd of ghosts: they pass through each other and never feel each other. Real molecules are more like people on a train platform. They cannot stand in the same spot, and they are mildly drawn to a friend a few steps away. Those two facts are the whole story of the van der Waals gas.
Real gases involve interactions between molecules. The oldest real-gas equation of state is the van der Waals equation, and importantly it predicts the gas to liquid transition. The lecture derives it with mean-field theory.
Molecules interact in two ways. They repel when very close, because they cannot overlap. They attract at medium distances, which is the van der Waals attraction. At low pressure the molecules are far apart, so the interaction is weak and the gas becomes ideal. The slide plots potential energy against separation: steep repulsion at short range, a shallow minimum below zero, and an attractive tail that fades to zero.
Fix one: molecules have size, so the free volume is V minus Nb
The exact form of the interaction is not important, and usually not known. The lecture approximates it with a square well: an infinite wall at small separation, a shallow attractive well out to a cutoff, and zero beyond. The infinite wall at small is why the van der Waals equation replaces with . is the excluded volume of all the molecules, the room they take up themselves. It leaves less space to move in, which raises the pressure.
Fix two: attraction pulls molecules together, which lowers the pressure
Adding up every pairwise attraction is too hard. So the lecture uses the mean-field idea. Look from the point of view of one molecule and assume the others are evenly spread through the remaining volume. Its potential energy is then proportional to the density of nearby molecules (how many are in its radius of attraction).
The minus sign means attraction lowers the energy. is the attraction constant. Multiply by molecules for the total:
To turn an energy into a pressure, use the first law, . At constant entropy . So
This pressure is negative. Add it to the non-interacting pressure .
Try it: worked example
Derive the van der Waals equation from the ideal gas law in the order the lecture uses.
Show answer and steps
AnswerReplace V by V - Nb for the excluded volume, then add the attractive pressure -aN^2/V^2 found from U_pot = -aN^2/V.
- Start from the ideal gas law .
- Molecules cannot overlap, so only is free. Replace : .
- For attraction, mean-field says one molecule feels energy . For molecules, .
- Pressure comes from energy: . Differentiate with respect to : the derivative of is , so .
- Apply the minus sign in front: .
- Add it to the pressure from step 2: .
- Move the attraction to the left: .
Exam detail
Learn both forms of the van der Waals equation and which term is which. and are excluded volume (from repulsion at short range). and are attraction (mean-field at medium range).
Below T_c the isotherms have a loop, and the real gas skips across it
Plot pressure against volume and you get the isotherms of slide 18. Above the curves fall smoothly. At there is a flat inflection point. Below each curve has a minimum followed by a maximum, called the van der Waals loop. In that stretch it seems, unphysically, that compressing the gas would lower its pressure.
The true equilibrium at a given and is decided by the Gibbs free energy. In reality the system goes straight from point 2 (gas) to point 6 (liquid), an abrupt change in volume. Between those volumes the liquid and gas coexist. The right-hand plot on slide 19 shows against and a common tangent between 6 and 2 that gives the equilibrium.
Slides 19 and 20 show real CO numbers read from a plot. The isotherms are at 243 K, 258 K, 274 K, 304.12 K (the critical isotherm, peak near 74 bar), 334 K and 365 K, with a dashed ideal-gas curve at 334 K, and the two-phase region shaded. Lecture 22 (slide 19) shows the same plot with coexistence plateaus of roughly 36 bar at 243 K, 47 bar at 258 K and 60 bar at 274 K. These are read off the plot and are approximate.
Compare
Strengths of the vdW model
Discontinuous transition from gas to liquid below . Coexistence of liquid and gas at certain volumes. A supercritical fluid above (more next lecture).
Limits of the vdW model
Not particularly accurate, and better equations exist for real gases. Mean-field is an approximation, and real molecules tend to clump at high pressure.
Where the Gibbs energy comes from (appendix)
The appendix, taken from Schroeder, shows how to get for a vdW fluid. The lecture marks it as a supporting derivation.
Try it: worked example
Show how G for a van der Waals fluid is found, starting from dG = -S dT + V dP + mu dN.
Show answer and steps
AnswerAt fixed N and T, dG = V dP. Differentiate the vdW pressure, multiply by V, then integrate in V to get G = -NkT ln(V - Nb) + NkT Nb/(V - Nb) - 2aN^2/V + c(T).
- At fixed and , and , so . Dividing by gives .
- Differentiate the vdW pressure : . This step is not printed on the slide.
- Multiply by : (eq. 5.55).
- To integrate the first term, write the on top as and integrate the two pieces separately.
- The first piece gives . The second gives .
- The attraction term integrates to .
- Add the constant of integration, which can depend on but is unimportant here: (eq. 5.56).
Pitfall
The vdW loop is not a real state of the system. The lecture says it is unphysical. The real path skips from the gas end to the liquid end, with coexistence in between, and the Gibbs free energy decides where.
Recall
Why does the van der Waals equation use V minus Nb and a minus aN squared over V squared?
removes the volume the molecules occupy themselves (repulsion at short range). The term is the pressure drop from average attraction between molecules (mean-field at medium range).
Check yourself
Source
L 21 PDF