Compressibility Factor & Virial Equation
The virial equation of state, second and third virial coefficients (B and C), Boyle temperature, and low-to-moderate pressure real gas deviations.
1. Theoretical Foundations & Engineering Mechanics
The Virial Equation of State & Compressibility Factor
Unlike empirical cubic equations, the Virial Equation is the only equation of state derived strictly from statistical mechanics. It expresses real gas non-ideality as an infinite power series expansion in density or pressure.
1. Mathematical Formulations
- Density (Molar Volume) Expansion:
$$Z = \frac{P v}{R T} = 1 + \frac{B(T)}{v} + \frac{C(T)}{v^2} + \frac{D(T)}{v^3} + \cdots$$ - Pressure Expansion:
$$Z = 1 + B'(T) P + C'(T) P^2 + \cdots$$
where $B' = \frac{B}{R T}$ and $C' = \frac{C - B^2}{(R T)^2}$.
2. Physical Significance of Virial Coefficients
- Second Virial Coefficient $B(T)$: Accounts for direct two-body molecular interactions (intermolecular attraction and repulsion).
- Third Virial Coefficient $C(T)$: Accounts for simultaneous three-body collisions.
- At low temperatures, attractive forces dominate $\implies B(T) < 0$ and $Z < 1.0$.
- At high temperatures, repulsive hard-sphere volume dominates $\implies B(T) > 0$ and $Z > 1.0$.
- The Boyle Temperature ($T_B$): The exact temperature where $B(T_B) = 0$. At this temperature, the gas obeys the ideal gas law ($Z \approx 1.0$) up to substantial pressures.
2. Governing Equations & Mathematical Formulation
$$Z = 1 + \frac{B P}{R T}$$
$$\frac{B P_c}{R T_c} = B^{(0)}(T_r) + \omega B^{(1)}(T_r) \quad [\text{Pitzer Correlation}]$$
$$B^{(0)} = 0.083 - \frac{0.422}{T_r^{1.6}}, \quad B^{(1)} = 0.139 - \frac{0.172}{T_r^{4.2}}$$
$$B(T_B) = 0 \implies T_{Boyle} \approx 2.5 - 2.8 \times T_c$$
• Truncation after the second virial coefficient ($Z = 1 + BP/RT$) is valid for pressures up to $\sim 15 - 20\text{ bar}$.
• Virial coefficients depend strictly on temperature, independent of pressure.
• For gas mixtures, $B_{mix} = \sum_i \sum_j y_i y_j B_{ij}$.
• Using the two-term virial equation at supercritical pressures ($P > 50\text{ bar}$); the series diverges and yields unphysical densities.
• Forgetting cross-virial interaction terms ($B_{12}$) in multi-component gas mixtures.
• Confusing the pressure series $B'$ with the volume series $B$.
3. Applied Engineering Worked Example
Gas: Pure Ethane ($T_c = 305.3\text{ K}$, $P_c = 48.72\text{ bar} = 4,872\text{ kPa}$, $\omega = 0.099$)
Operating Conditions: $T = 350.0\text{ K}$ ($T_r = 350.0 / 305.3 = 1.1464$), $P = 15.0\text{ bar} = 1,500\text{ kPa}$
-
Compute Pitzer Generalized Virial Functions:
$$B^{(0)} = 0.083 - \frac{0.422}{(1.1464)^{1.6}} = 0.083 - \frac{0.422}{1.246} = 0.083 - 0.3387 = -0.2557$$
$$B^{(1)} = 0.139 - \frac{0.172}{(1.1464)^{4.2}} = 0.139 - \frac{0.172}{1.769} = 0.139 - 0.0972 = +0.0418$$ -
Compute Second Virial Coefficient $B$:
$$\frac{B P_c}{R T_c} = -0.2557 + (0.099 \times 0.0418) = -0.2557 + 0.00414 = -0.25156$$
$$B = -0.25156 \times \frac{8.314 \times 305.3}{4,872,000} = -0.25156 \times 5.210 \times 10^{-4} = -1.3106 \times 10^{-4}\text{ m}^3/\text{mol}$$
In cm³/mol: $B = -131.1\text{ cm}^3/\text{mol}$. -
Compute Compressibility Factor $Z$:
$$Z = 1 + \frac{B P}{R T} = 1 + \frac{-1.3106 \times 10^{-4} \times 1,500,000}{8.314 \times 350} = 1 - \frac{196.59}{2909.9} = 1 - 0.06756 = \mathbf{0.9324}$$
The ethane gas exhibits a $6.76\%$ negative deviation from ideal gas behavior due to molecular attraction.
Interactive Practice Drill: Compressibility Factor & Virial Equation
Completed this lesson?
Record your study progress, build your daily streak, and unlock +25 XP toward your next engineering tier.
Connected ChemProCal Tool
Rigorous gas property evaluation and fluid dynamics using SRK Equation of State.