Gas Mixtures
Many thermodynamic systems contain mixtures rather than single substances: air, combustion products, natural gas, exhaust streams, and refrigerant blends. Gas-mixture analysis connects composition with pressure, volume, molecular mass, gas constant, internal energy, enthalpy, entropy, and density.
Cengel's gas-mixture chapter emphasizes Dalton's law of additive pressures, Amagat's law of additive volumes, mole and mass fractions, ideal-gas mixture properties, and real-gas mixture approximations. The crucial modeling choice is whether the mixture behaves ideally and whether composition remains fixed during the process.
Definitions
- A mole fraction is , where is moles of component and is total moles.
- A mass fraction is . It is related to mole fraction through molar masses.
- The mixture molar mass is .
- The mixture gas constant is .
- Dalton's law for ideal-gas mixtures says total pressure is the sum of partial pressures, , and .
- Amagat's law says total volume is the sum of component partial volumes at the same mixture temperature and pressure, , and for ideal gases.
- A partial pressure is the pressure a component would exert if it alone occupied the mixture volume at the mixture temperature.
- A partial volume is the volume a component would occupy if it alone were at the mixture temperature and pressure.
- Gibbs-Dalton behavior means each ideal-gas component behaves as if it exists alone at its partial pressure and mixture temperature.
- Kay's rule estimates pseudocritical properties for real-gas mixtures using mole-fraction averages.
Use a mole basis for reactions and partial pressures, and a mass basis for flow rates and energy balances. Most mistakes in mixture problems come from switching bases invisibly. Write either of mixture or of mixture at the start and keep every term compatible. For this topic, a complete engineering model should state the boundary, the time basis, the property model, and the sign convention before any numbers are substituted. In gas mixtures, that habit is especially important because several formulas look similar while answering different physical questions. A closed-system expression, a steady-flow expression, an ideal-gas relation, and a property-table interpolation may all contain pressure, temperature, or enthalpy, but they do not have the same assumptions. The safest workflow is to write the general balance or defining relation first, cancel terms with a written reason, and only then insert table values or constants.
The second modeling habit is to keep the basis visible. Some calculations are per unit mass, some per mole, some per kg dry air, and some per unit time. A correct formula on the wrong basis is a common source of errors that look numerically plausible. When a table gives , multiply by to get ; when a reaction is balanced in kmol, convert to mass only after the element balance is complete; when a mixture property uses mole fraction, do not substitute mass fraction without conversion.
Key results
Composition relations:
Mass and mole fractions are related by
For ideal-gas mixtures,
Mixture internal energy and enthalpy on a mass basis can be written as
for ideal gases because and depend on temperature only. Entropy of an ideal-gas mixture includes the effect of each component's partial pressure:
when component entropies are evaluated consistently. Mixing increases entropy because each species occupies a larger accessible volume after mixing.
For real mixtures, pseudoreduced properties from Kay's rule are rough estimates:
These results should be read as a hierarchy rather than a list of isolated equations. Conservation of mass and energy set the allowed accounting; property relations supply the missing state data; the second law or equilibrium criterion decides direction, limits, and losses. A numerical answer is not finished until it passes three checks: the units reduce to the requested quantity, the sign matches the stated energy or entropy transfer direction, and the magnitude is reasonable compared with a limiting case. Useful limiting cases include zero heat transfer, reversible operation, incompressible behavior, ideal-gas behavior, saturated-liquid or saturated-vapor endpoints, and equal reservoir temperatures.
Because the textbook often moves between exact laws and engineering approximations, the approximation should be named in the solution. Examples include constant specific heats, negligible kinetic energy, negligible pump work, adiabatic devices, isentropic turbomachinery, ideal-gas mixtures, dry-air approximations, and linear interpolation. Naming the approximation makes later refinement straightforward: replace the approximate property model or restore the neglected term without rebuilding the whole analysis.
Visual
| Quantity | Mole basis | Mass basis | Use case |
|---|---|---|---|
| Composition | reactions vs energy balances | ||
| Molecular weight | implicit through fractions | convert kmol to kg | |
| Partial pressure | convert mass to mole first | ideal-gas mixtures | |
| Enthalpy | flow energy |
Worked example 1: partial pressures and mixture gas constant
Problem. A mixture contains of oxygen and of nitrogen at and . Find mole fractions, partial pressures, mixture molar mass, and mixture gas constant. Use , , and .
Method.
- Total moles:
- Mole fractions:
- Partial pressures:
- Mixture molar mass:
- Gas constant:
Checked answer. The result is nearly the gas constant of air because the composition is close to dry air's oxygen-nitrogen mixture.
Worked example 2: converting mass fractions to mole fractions
Problem. A gas mixture is methane and carbon dioxide by mass. Find the mole fractions using and .
Method.
- Choose a mixture basis:
- Convert to kmol:
- Total:
- Mole fractions:
Checked answer. Methane's mole fraction is much higher than its mass fraction because methane has a much smaller molar mass than carbon dioxide.
Code
def mole_to_mass_fractions(y, M):
Mm = sum(yi * Mi for yi, Mi in zip(y, M))
return [yi * Mi / Mm for yi, Mi in zip(y, M)], Mm
def mass_to_mole_fractions(mf, M):
n_over_m = [mfi / Mi for mfi, Mi in zip(mf, M)]
total = sum(n_over_m)
return [value / total for value in n_over_m]
print(mole_to_mass_fractions([0.25, 0.75], [32, 28]))
print(mass_to_mole_fractions([0.60, 0.40], [16, 44]))
Common pitfalls
- Using mass fraction where mole fraction is required for partial pressure.
- Forgetting to compute the mixture gas constant from the mixture molar mass.
- Assuming air composition by mass and by mole are the same.
- Using ideal-gas mixture rules at high pressure without checking real-gas effects.
- Ignoring entropy of mixing when computing mixture entropy.
- Starting from a special-case equation before checking that its assumptions actually hold. Write the general balance or definition first, then reduce it.
- Leaving property-table values unlabeled. Record the substance, phase region, pressure or temperature row, interpolation fraction, and units so the result can be audited.
- Rounding intermediate states too aggressively. Keep extra digits through property lookup, quality calculation, and efficiency ratios, then round the final answer to justified precision.
- Skipping a limiting-case check. Test the result against reversible operation, zero pressure drop, saturated endpoints, ideal-gas behavior, or equal-temperature reservoirs when those limits are meaningful.
- Treating a numerical solver or chart as a substitute for physical reasoning. Software can return a precise-looking number even when the selected phase, reference state, or boundary model is wrong.
- Forgetting to state whether the reported answer is specific, total, or rate based.