Van der Waals Gas 🌡️

Real 3D molecular gas: condensation, the critical point, and the van der Waals isotherm

Physics & equations

Van der Waals equation: (P + a n²/V²)(V − nb) = nRT

where a accounts for intermolecular attractive forces and b for finite molecular volume. For an ideal gas, a = b = 0.

Critical point (inflection of isotherm): Tc = 8a/(27Rb), Pc = a/(27b²), Vc = 3b

Below Tc the van der Waals isotherm develops a non-physical loop. In a real fluid this loop is replaced by a flat tie-line (the Maxwell equal-area construction) at the saturation pressure — and the system separates into coexisting liquid and gas. In the 3D simulation this is exactly the droplet you see condense.

The reduced equation of state with Pr=P/Pc, Vr=V/Vc, Tr=T/Tc: (Pr + 3/Vr²)(3Vr−1) = 8Tr — universal for all vdW gases.