The van der Waals equation accounts for both the finite volume of molecules (via the b parameter) and the attractive forces between them (via the a parameter):
In reduced variables — Pr = P/Pc, Vr = V/Vc, Tr = T/Tc — the constants drop out and every gas follows the same universal curve:
The critical point is at Vr = Pr = Tr = 1, marked with a glowing white/pink dot on the P–V plot.
| Region | Condition | Molecular view |
|---|---|---|
| Gas | Tr < 1 and Vr > Vr_gas | Small, pale-blue, fast, spread out |
| Liquid | Tr < 1 and Vr < Vr_liq | Large, deep-blue, slow, packed |
| Two-phase | Tr < 1 and Vr_liq < Vr < Vr_gas | Box splits into LIQ zone (left) and GAS zone (right) with a dashed gold interface |
| Supercritical | Tr ≥ 1 | Uniform violet particles, no phase distinction |
Below Tc, the raw vdW isotherm develops an S-shaped loop where the model predicts negative compressibility in part of the middle — physically impossible. The Maxwell construction replaces this loop with a flat horizontal line at the saturation pressure Psat, chosen so that the two lobes enclosed between the loop and the line have equal area:
In the simulator, the lobes are drawn as blue (deficit) and orange (excess) — they have identical area.
The orange solid curve tracing the envelope of all Maxwell endpoints is the binodal or coexistence dome. Inside it, liquid and vapor coexist at the saturation pressure. Both branches meet at the critical point.
The dashed pink curve inside the dome is the spinodal — the locus where dPr/dVr = 0. Between binodal and spinodal the fluid is metastable; inside the spinodal it is strictly unstable. The spinodal dips into negative pressure at low Tr — which is exactly why the Maxwell construction is needed.
| Control | Effect |
|---|---|
| Tr slider | Reduced temperature, 0.40 to 1.40. Crosses Tc at Tr = 1. |
| Vr slider | Reduced volume, log scale 0.4 to 6. |
| Ref. isotherms | Toggle faint background isotherms |
| Coexistence dome | Toggle orange binodal curve |
| Spinodal | Toggle dashed pink spinodal |
| Equal-area lobes | Toggle blue/orange Maxwell lobes |
| Raw vdW loop | Toggle magenta raw S-loop (below Tc only) |
| Reset | Return to Tr = 0.90, Vr = 1.5, all overlays visible |
| Click P–V plot | Set Vr |
| Click T–V plot | Set both Tr and Vr |
| H or ? | Open this help panel |