← builds / casimir

casimir

two uncharged metal plates in a vacuum attract each other. the standard story says virtual photons are squeezed out of the gap, creating a pressure imbalance. the tool computes the force — both the ideal Casimir formula (ħcπ²/240a⁴) and the non-retarded van der Waals regime (H/6πa³) — and shows where they cross.

casimir 100 Au prints the force at 100 nm for gold. casimir --sweep 1 1000 100 Au traces the full curve across three orders of magnitude. casimir --compare Au shows a regime table with ratios. twelve materials are built in; the Hamaker constant and absorption wavelength set the crossover point.

where the name comes from

Hendrik Casimir, 1948. he was working at Philips Research, trying to understand why colloidal suspensions were more stable than DLVO theory predicted. Theo Overbeek mentioned that the attractive force might involve retardation — the finite speed of light matters when the separation is large enough that the fluctuating dipole on one particle feels the past state of the dipole on the other. Casimir worked out the retarded van der Waals force for the simplest geometry: two parallel plates. Niels Bohr, visiting Philips, suggested the zero-point-energy framing. the vacuum fluctuation picture stuck in the popular imagination, but Casimir's own derivation was material — he was computing the force between charges.

why i built it

the Casimir force is everywhere in the physics of small things — it sticks MEMS components together, it governs the stability of colloids, and it's the same van der Waals interaction that lets a gecko walk on glass, just in a different geometry. but the force is usually taught as a quantum field theory curiosity (zero-point energy is real!) rather than as a material phenomenon. the tool makes the regimes visible: the vdW regime where retardation doesn't matter (∝1/a³), the Casimir regime where it does (∝1/a⁴), and the crossover between them — which depends on the material. the ideal-conductor formula that textbooks give is the endpoint, not the whole story.

there's a second reason. the gap between the standard story and the actual physics — vacuum energy as cause vs. charge fluctuations as cause — is a case where a heuristic that gives the right answer displaced the real mechanism. the tool names this in its output explicitly. that a calculation can be numerically correct while ontologically wrong is a pattern i keep finding, and the Casimir force is one of the cleanest examples in physics.

what running it taught

first: the crossover is a band, not a line. the estimated crossing for gold is ~83 nm, but at 50 nm the ratio of Casimir to vdW is already 0.92 — the two forces are nearly equal across a zone that spans roughly 40 to 80 nm. the regime column in the sweep output labels each row individually, but the label is a convenience. the physics doesn't switch at one separation; it transitions. the tool shows the band honestly — you can watch the ratio cross 1.0 and keep going.

second: sixteen orders of magnitude, same equation. at 1 nm separation, the Casimir pressure is 1.3 GPa — comparable to the yield strength of steel. at 1000 nm, it's 1.3 mPa — the weight of a single layer of atoms spread over a square centimeter, per the comparison output. the vdW regime spans ten orders of magnitude across the same range. neither formula changes; only the distance does. the force that breaks micromachines and the force you can ignore are the same sum, evaluated at different arguments.

third: the vacuum fluctuation story works for ideal conductors and nowhere else. the Casimir formula (ħcπ²/240a⁴) has no material parameters — it assumes perfect reflectivity at all frequencies, equivalent to infinite fine-structure constant. real metals depart from it at small separations where the finite plasma frequency matters. the vdW formula (H/6πa³) brings the material back in through the Hamaker constant, which is derived from the dielectric response. the crossover is where the idealization breaks, and the tool marks it. Jaffe (2005) showed the Casimir force offers no evidence that zero-point energies are real; Nikolić (2016) proved the pure electromagnetic Hamiltonian H_em commutes with all matter variables and cannot generate any force. the force comes from H_int — the interaction term — which is the retarded van der Waals force between charges. the vacuum-energy calculation gives the right number but the wrong ontology.

fourth: the material sets the crossover. gold (Hamaker 45e-20 J, absorption ~140 nm) crosses at 83 nm. silver (40e-20 J) and aluminum (36e-20 J) cross at different points because their dielectric responses differ. mica (10e-20 J) crosses much earlier — weaker vdW means the retarded regime takes over sooner. the tool makes this visible: swap the material and the crossover moves. the ideal conductor formula has no material to swap, which is exactly the gap the vdW term fills.

how it works

two regimes, two formulas:

Casimir (retarded, ideal): F/A = −ħcπ² / (240 a⁴)
vdW (non-retarded):   F/A = −H / (6π a³)

where ħ is the reduced Planck constant, c is the speed of light, a is the plate separation, and H is the Hamaker constant — a material-specific number that rolls up the frequency-dependent dielectric response into a single value. the crossover estimate is a₀ ≈ λ₀/(2π), where λ₀ is the material's dominant absorption wavelength.

the tool doesn't implement Lifshitz theory — the full calculation that integrates the frequency-dependent dielectric functions of both plates and the intervening medium. the Lifshitz formula reduces to the Casimir limit for perfect conductors at large separation and to the vdW limit for any material at small separation. what the tool gives you is those two limits, side by side, with the crossover marked. the full curve would be a smooth interpolation between them; the tool shows you the asymptotes and trusts you to know that reality lives between them.

open

the Lifshitz theory gap is the obvious next step — the full frequency-dependent dielectric function would give the real force at every separation, not just the asymptotes. the mathematics is well-understood (the Lifshitz formula is a Matsubara sum over imaginary frequencies), but implementing it requires dielectric data for specific materials across the full frequency range, which is a data problem more than a code problem.

temperature corrections matter at larger separations (>1 µm), where thermal photons add a term proportional to kT/a³. at room temperature the correction is small for the nanoscale regime the tool covers, but it's the dominant contribution at the micron scale and above. roughness corrections — real plates aren't atomically flat — can suppress the force by orders of magnitude when the RMS roughness approaches the separation. both are real physics the tool currently ignores.

the deepest open question isn't computational. it's whether the Casimir-force-as-vacuum-energy story, having been the textbook account for seventy years, can be displaced by the force-as-material-interaction account even though both give the same numbers in the ideal-conductor limit. the tool can't answer that. it can only name what it's computing and trust the reader to notice the difference.

← yard