Real gases, critical constants and liquefaction ·… | StemPy Lab
Course 12.2·Lesson 3 of 3
Real gases, critical constants and liquefaction
An ideal gas can never become a liquid, but carbon dioxide does, and so does every other gas if it is cold enough. Real molecules have a size and they attract each other. The van der Waals equation corrects the ideal gas equation for both, and it explains liquefaction and the critical temperature.
about 40 min1 simulation3 practice questions
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
When the ideal gas equation fails
The ideal gas equation treats molecules as points with no forces between them. Neither is true. At a high pressure, molecules are close together. Then their size matters, and so do their attractions. At a low temperature, molecules move slowly and attract each other more effectively. Eventually the gas turns into a liquid, which an ideal gas can never do.
The compressibility factor
To measure how far a gas is from ideal, we use the compressibility factor of one mole:
Z=RTPVm
For an ideal gas, Z=1 at every pressure and temperature. We can also read Z as the ratio VidealVreal, the real molar volume divided by the ideal one at the same P and T.
Z<1: the gas is more compressible than an ideal gas. Attractions are winning. They pull the molecules closer, so the volume is smaller.
Z>1: the gas is less compressible than an ideal gas. The size of the molecules is winning. They cannot be pushed into the space that the other molecules fill.
A graph of the compressibility factor Z against pressure in bar from 0 to 500, for five gases at 400 K computed from the van der Waals equation. A dashed horizontal line marks Z equal to 1. Helium and hydrogen rise steadily from 1 to about 1.35 at 500 bar. Nitrogen dips to 0.999 near 27 bar and then rises above 1 beyond 52 bar. Methane dips to 0.93 near 151 bar and returns to 1 near 291 bar. Carbon dioxide falls to 0.64 near 187 bar and returns to 1 near 476 bar. All curves start at 1 at zero pressure.
The picture shows Z against pressure for five gases at 400K. All of them start at Z=1 at zero pressure, because at low pressure every gas is ideal. Carbon dioxide has strong attractions, so its Z falls far below 1 and comes back up only at several hundred bar. Hydrogen and helium have very weak attractions, so their Z goes above 1 at once. At a high pressure, every gas has Z>1. The molecules are almost touching, and repulsion dominates. The curves of the picture are computed from the van der Waals equation. Measured curves have the same shapes.
The van der Waals equation
Johannes van der Waals made two corrections to PV=nRT in 1873.
1. The volume. The molecules have a size, so a molecule can move only in the space that the others leave free. We subtract a volume nb from V. The constant b is the excluded volume of one mole of molecules. It is about four times the real volume of the molecules.
2. The pressure. A molecule near the wall is pulled back by the molecules behind it. It hits the wall less hard, so the pressure that we measure is less than the pressure that the gas would have without attractions. We add a correction to the measured pressure. Both the number of molecules that hit the wall and the pull on each one are proportional to Vn. So the correction is proportional to V2n2, and we write V2an2.
The result is the van der Waals equation:
(P+V2an2)(V−nb)=nRT
The constant a measures the attraction, and b measures the size. They depend on the gas:
Gas
a (L2bar mol−2)
b (L mol−1)
He
0.0346
0.0238
H2
0.2476
0.02661
N2
1.370
0.0387
CH4
2.303
0.0431
CO2
3.640
0.04267
NH3
4.225
0.0371
A large a goes with strong attractions, and so with a gas that is easy to liquefy. Ammonia, which forms hydrogen bonds, has the largest a in the table.
Other books give a in L2atm mol−2 or in Pa m6mol−2. The conversion is 1L2bar mol−2=0.1Pa m6mol−2. Values in textbooks differ in the last digit, so use the numbers that a question gives you.
Example. One mole of carbon dioxide is in a 1.00L vessel at 300K. For an ideal gas, P=VRT=24.94bar. The van der Waals equation gives
The attraction lowers the pressure by 3.64bar, and the size of the molecules raises it by 1.11bar. The result is Z=0.08314×30022.41×1.00=0.899.
At low pressure, V is large. Then V−b is almost V and V2a is small, and the van der Waals equation becomes the ideal gas equation. A good approximation at low pressure is Z≈1+(b−RTa)RTP.
Set a=3.6, b=0.043 and T=300K, and move the volume down to 0.2L. The pressure of the real gas goes below the ideal pressure and then crosses it. Now set a=0. What does the blue curve do?
The Boyle temperature
At low pressure, Z≈1+(b−RTa)RTP. The bracket is zero at one temperature, the Boyle temperature:
TB=Rba
At TB, the gas follows Boyle's law, PV = constant, over a wide range of low pressures. Below TB the attraction wins at low pressure and Z dips below 1. Above TB the size wins and Z>1 at all pressures. For nitrogen TB=426K and for carbon dioxide TB=1026K. For hydrogen TB=112K and for helium TB=17K. At room temperature both are far above their Boyle temperatures, so Z>1 for both.
Liquefaction and the critical temperature
In 1869 Thomas Andrews compressed carbon dioxide at different temperatures and measured the pressure. The picture shows the same experiment from the van der Waals equation.
A graph of pressure in bar against molar volume in litres per mole, from 0.05 to 0.9, with four van der Waals isotherms of carbon dioxide at 260 K, 280 K, 304 K and 330 K. The 330 K curve falls smoothly. The 304 K curve is the critical isotherm: it has a flat point at 74.0 bar and 0.128 litres per mole, marked with a red dot. The 280 K and 260 K curves each have an S-shaped loop with a dip and a hump. A dashed horizontal line cuts each loop, at 52.8 bar for 280 K and at 38.4 bar for 260 K, so that the area above the line equals the area below it. The dashed line is where the gas and the liquid exist together.
At 330K the pressure rises smoothly as the volume falls. The gas never liquefies.
At 280K, the curve of the van der Waals equation has an S-shaped loop. The real gas does not follow the loop. As the volume falls, the pressure rises until a liquid starts to form. Then the pressure stays constant, along the dashed line, while more and more gas turns into liquid. When all of it is a liquid, the pressure rises steeply again, because a liquid is hard to compress. The height of the dashed line is the vapour pressure at that temperature. It is placed so that the area of the loop above it equals the area below it. This is the equal area construction of Maxwell.
At one temperature the flat part shrinks to a point. This is the critical point. The temperature is the critical temperatureTc, the pressure the critical pressurePc and the molar volume the critical volumeVc.
Above Tc a gas cannot be liquefied by pressure alone, however high. Below Tc it can be. A substance above both Tc and Pc is a supercritical fluid. It is not a gas and not a liquid. Supercritical carbon dioxide is used to remove caffeine from coffee.
For a van der Waals gas the critical point is where the isotherm has a flat point of inflection. Setting the first and second slopes to zero gives
Tc=27Rb8aPc=27b2aVc=3b
From these, Zc=RTcPcVc=83=0.375 for every van der Waals gas. For carbon dioxide, the constants of the table give Tc=304.0K, Pc=74.0bar and Vc=0.128L/mol. The measured values are 304.2K, 73.8bar and 0.094L/mol. The equation is good for Tc and Pc, and it overstates Vc. The measured Zc is about 0.27 and not 0.375.
We can go the other way, and find a and b from measured critical constants. From Tc and Pc, b=8PcRTc and a=64Pc27R2Tc2.
The critical temperatures decide how a gas is stored:
Substance
Tc (K)
He
5.2
H2
33.2
N2
126.2
O2
154.6
CH4
190.6
CO2
304.2
NH3
405.5
H2O
647.1
At room temperature, 298K, ammonia and carbon dioxide are below Tc. Pressure alone liquefies them, and that is why ammonia and carbon dioxide are sold in steel cylinders as liquids. Nitrogen, oxygen, hydrogen and helium are above Tc. They must first be cooled below Tc, and in practice far below it. One cooling method uses the Joule-Thomson effect. A real gas that expands through a small hole cools, because the molecules do work against their attraction. Hydrogen and helium must first be cooled by other means, because at room temperature they warm up on expanding.
Practise with new numbers
Try it in Python
The program solves the van der Waals equation for the molar volume of carbon dioxide. The equation is a cubic in V, and numpy.roots finds the roots. It also prints the critical constants and the Boyle temperature.
Common mistakes
Using the volume V in place of V−nb. The molecules cannot use the volume that they occupy themselves.
A wrong sign for the pressure correction. The measured pressure is lower than the ideal one because of attraction, so we add V2an2 to the measured pressure.
Reading Z<1 as a sign of repulsion.Z<1 means that attraction wins. Z>1 means that the size of the molecules wins.
Mixing the Boyle temperature and the critical temperature.TB=Rba and Tc=278TB.
Thinking that pressure liquefies every gas at any temperature. Above Tc it does not.
Remember these
Z=RTPVm. Z<1: attraction wins. Z>1: size wins. Every gas has Z→1 as P→0.
(P+V2an2)(V−nb)=nRT. a is the attraction, b is the excluded volume.
Tc=27Rb8a, Pc=27b2a, Vc=3b, Zc=83. Boyle temperature TB=Rba.
Below Tc a gas can be liquefied by pressure. Above Tc it cannot.
A gas with a large a has a high Tc and is easy to liquefy.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
A gas has Z=0.85 at a certain pressure. What does this say about the forces in the gas?
Which gas is closer to ideal at 300K and 50bar, helium or methane? Why?
The critical temperature of nitrogen is 126.2K. Can nitrogen be liquefied at 25∘C by raising the pressure?
Hydrogen has a=0.2476 and b=0.02661. What is its critical temperature?
Why does the pressure correction in the van der Waals equation have n2/V2 and not n/V?
References
OpenStax, Chemistry 2e, Chapter 9, section 9.6 (non-ideal gas behaviour).
The van der Waals constants and critical constants are standard values from the CRC Handbook of Chemistry and Physics.
Enroll free in Molecular Speeds and Real Gases
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.