Kossel-crystal lattice gas: Metropolis Monte Carlo growth, faceting and roughening versus temperature and supersaturation.
running...
The science
This is a Kossel-crystal lattice gas: atoms sit on a simple-cubic lattice and every nearest-neighbour pair lowers the energy by ε. Atoms attach from, and detach into, a vapour or solution with chemical potential μ = μ0 + Δμ, where coexistence μ0 = −3ε is the value at which a kink (half-crystal) site neither gains nor loses atoms. Dynamics are Metropolis Monte Carlo: a random site flips with probability min(1, exp(−ΔH/kT)), with ΔHattach = (3 − n)ε − Δμ and ΔHdetach = −ΔHattach for a site with n occupied neighbours.
The same rule produces the textbook behaviours: with Δμ > 0 the crystal grows, with Δμ < 0 it dissolves, and at low temperature growth is layer by layer with smooth flat facets (new layers need 2D nucleation of an island), while above the roughening temperature (about kT/ε ≈ 0.65 for this model) the surface becomes rough and growth is continuous and nearly isotropic. Dendrites do not appear because there is no diffusion field in this model.
Simplifications: a lattice gas has only one crystal structure, vapour atoms are well mixed (no depletion or diffusion), time is measured in Monte Carlo sweeps, not seconds, and the displayed cubes are lattice sites, not atoms. The checks compare the simulated vapour density to the dilute-gas formula, test growth/dissolution signs, and verify that the incremental bond counter equals a full recount.