Pro Tier Module

2D Ising Model (Onsager Tc)

Find the Ising critical temperature by Monte Carlo and validate it against Onsager's exact Tc.

Worked example: Fast (L=16)
Inputs
Lattice L (LxL)16
T min1.6
T max3
Temperature points21
Equilibration sweeps200
Measurement sweeps200
PRNG seed12345
Spin snapshot T2.27
Result

Tc_est (chi peak) = 2.3852 vs Onsager exact 2.2692 (residual 0.1160, grid step dT = 0.0700, finite L=16; finite-size + short-run sampling -> approximate, not exact)

Lattice16 x 16 (N = 256)
Onsager exact Tc2.269185
Tc_est (chi peak)2.3852
Tc_est (|M| steepest drop)2.4750
Residual |Tc_est - Tc|0.1160
T grid step dT0.0700
Reference agreementREF_WITHIN_BAND (finite-size + sampling: approximate, never exact)
Sweeps (eq / meas)200 / 200
Seed12345

Computed by 2D Ising Model (Onsager Tc) v1.0.1, the same plugin code the GDBS app runs, when this page was built. To run it on your own figures, open it in GDBS Pro.

The problem

Demonstrating a phase transition honestly is hard - finite-size and short sampling shift and blur the critical point, and most demos hide that with a hardcoded answer.

The local-first solution

This plugin runs a seeded Metropolis Monte Carlo sweep over temperature in the browser, locates the critical point from the susceptibility peak, and validates it against Onsager's exact Tc within an honest finite-size and sampling band.

What it does

Seeded single-spin-flip Metropolis on an L x L torus with periodic boundaries
Temperature sweep measuring |M|(T) and energy per spin E(T)
Critical temperature from a smoothed susceptibility peak with parabolic interpolation
Validation against Onsager exact Tc = 2/ln(1+sqrt(2)) = 2.269185
Spin-configuration heatmap at a chosen temperature

Honest scope

Tc_est is an approximation, never exact: finite size shifts the peak a few percent above the true value and short Monte Carlo runs leave it noisy. The verdict is VALID/DEGRADED by construction and a noisy short run correctly returns an honest UNRELIABLE - no verdict is hardcoded. Critical exponents are not claimed; only the Tc location is validated.

Authorities cited

Get an email when tools like this one change

Leave your email and we will tell you when we add or update Scientific Computing & Physics tools like this one, at most once a month.

We email you once to confirm. After that, unsubscribe from any issue in one click. Your address goes to VaultSync only (privacy).

Related tools

Locate the critical point

Run the Monte Carlo sweep in the browser and save the Onsager-checked result to Sandbox, attach it to a Worklog case, or route it into a Gate client portal. Nothing leaves your machine.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com