P–V DIAGRAM · REDUCED UNITS (Vr, Pr)
MOLECULAR VIEW
T–V PHASE DIAGRAM
0.900
1.500

van der Waals Simulator — Help

Maxwell construction · coexistence · spinodal · critical point

1 · The van der Waals equation

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):

P = RT/(V − b) − a/V²

In reduced variables — Pr = P/Pc, Vr = V/Vc, Tr = T/Tc — the constants drop out and every gas follows the same universal curve:

Pr = 8·Tr/(3·Vr − 1) − 3/Vr²

The critical point is at Vr = Pr = Tr = 1, marked with a glowing white/pink dot on the P–V plot.

2 · The four phases

RegionConditionMolecular view
GasTr < 1 and Vr > Vr_gasSmall, pale-blue, fast, spread out
LiquidTr < 1 and Vr < Vr_liqLarge, deep-blue, slow, packed
Two-phaseTr < 1 and Vr_liq < Vr < Vr_gasBox splits into LIQ zone (left) and GAS zone (right) with a dashed gold interface
SupercriticalTr ≥ 1Uniform violet particles, no phase distinction

3 · The Maxwell construction

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:

∫ (Pr_raw − Psat) dVr = 0 from Vr_liq to Vr_gas

In the simulator, the lobes are drawn as blue (deficit) and orange (excess) — they have identical area.

4 · Coexistence dome (binodal)

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.

5 · Spinodal curve

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.

6 · Reading the plots

P–V diagram (top)

T–V phase diagram (bottom-right)

Molecular view (bottom-left)

7 · Controls

ControlEffect
Tr sliderReduced temperature, 0.40 to 1.40. Crosses Tc at Tr = 1.
Vr sliderReduced volume, log scale 0.4 to 6.
Ref. isothermsToggle faint background isotherms
Coexistence domeToggle orange binodal curve
SpinodalToggle dashed pink spinodal
Equal-area lobesToggle blue/orange Maxwell lobes
Raw vdW loopToggle magenta raw S-loop (below Tc only)
ResetReturn to Tr = 0.90, Vr = 1.5, all overlays visible
Click P–V plotSet Vr
Click T–V plotSet both Tr and Vr
H or ?Open this help panel
💡 Try this: drag Tr from 0.99 down to 0.60 and watch the coexistence dome widen. The raw vdW loop dips deeper — eventually below Pr = 0. That unphysical dip is exactly why the Maxwell correction exists.