💎 Crystal Nucleation & Growth Rate Simulator
This simulation models the nucleation and growth rate of a crystal in relation to supersaturation. Users can adjust parameters such as temperature, concentration, and agitation to observe how these factors influence the crystallization process.
Supersaturation — The Thermodynamic Driving Force Behind Every Crystal
No crystal forms without supersaturation. A solution is supersaturated when its solute concentration C exceeds the equilibrium solubility C* at a given temperature — the state is thermodynamically unstable and the system seeks to relieve the excess chemical potential by forming a new solid phase. The supersaturation ratio S = C/C* (or relative supersaturation σ = S−1) is the single most important control variable in industrial crystallization, set by cooling, evaporation, anti-solvent addition, or reactive precipitation.
- 1.0–1.1: Supersaturation ratio S (metastable zone, no spontaneous nucleation)
- kT·lnS: Chemical potential Δμ (driving force per molecule)
- 0.1–1 °C/min: Typical cooling crystallizer (controls approach rate to C*)
- van't Hoff plot: Solubility curve source (ln(C*) vs 1/T, batch solubility data)
Defining and generating supersaturation
Supersaturation is quantified in several equivalent ways:
• Absolute supersaturation: ΔC = C − C* (mass/volume) • Supersaturation ratio: S = C/C* (dimensionless, most common in CNT) • Relative supersaturation: σ = (C−C*)/C* = S−1 • Driving force in chemical potential: Δμ = kT·ln(S), the true thermodynamic force per molecule joining the solid
Four industrial routes to supersaturation:
1. Cooling crystallization: exploits solubility that decreases with temperature (most organics, inorganic salts like KNO₃). Programmed cooling ramp from T₁ to T₂ moves C* below the fixed solution concentration C₀. Typical rates: 0.1–2 °C/min; too fast overshoots the metastable zone.
2. Evaporative crystallization: solvent removed under vacuum at constant T, raising C directly while C* stays fixed. Used when solubility is weakly temperature-dependent (e.g., NaCl in water, ~0.01 g/100g per °C).
3. Anti-solvent (drowning-out) crystallization: a miscible solvent in which the solute is far less soluble is metered in, collapsing C* almost instantaneously. Common in pharmaceutical API crystallization (e.g., water added to an ethanol solution). Addition rate is the primary control lever, analogous to cooling rate.
4. Reactive crystallization (precipitation): two soluble reagents combine to form a product whose solubility product Ksp is exceeded, e.g., BaCl₂ + Na₂SO₄ → BaSO₄↓. Local supersaturation at the mixing point can be extremely high (S > 1000) unless reagents are pre-diluted and mixed rapidly.
Solubility curve determination: gravimetric or turbidimetric measurement of C* across a temperature range, fit to a van't Hoff-type expression ln(C*) = A − B/T, gives the equilibrium boundary against which S is always measured. Every subsequent nucleation and growth phenomenon in this simulation is parameterized by S measured relative to this curve.
Classical Nucleation Theory — Crossing the Free Energy Barrier to Form the First Stable Nucleus
Primary nucleation is the spontaneous, uncatalyzed birth of a new crystalline phase from a supersaturated solution containing no existing crystal surface. Classical nucleation theory (CNT), formulated by Volmer, Weber, Becker, and Döring in the 1920s–30s, treats a growing cluster as competing surface and volume free energy terms. The theory, though an idealization of a genuinely stochastic, often two-step process, remains the workhorse framework for predicting nucleation rates in industrial crystallizers.
- 5–100 mJ/m²: Interfacial energy γ (solid–liquid, compound-dependent)
- 1–10 nm: Critical radius r* (r* = 2γVm /(RT·lnS))
- 10⁻²⁰–10²⁰ m⁻³s⁻¹: Nucleation rate J (exponentially sensitive to S)
- 1926–1935: CNT founding work (Volmer–Weber, Becker–Döring)
The free energy barrier and the critical nucleus
For a spherical cluster of radius r forming from solution, the total Gibbs free energy change is the sum of an unfavorable surface term and a favorable volume term:
ΔG(r) = 4πr²γ − (4/3)πr³Δg_v
• γ = solid–liquid interfacial energy (mJ/m², typically 5–100 for molecular crystals, higher for inorganic salts) • Δg_v = volumetric free energy of crystallization = (RT/Vm)·ln(S), which scales with the driving force from Stage 1 • Vm = molar volume of the solid
The surface term grows as r², the volume term as r³ — for small r, the surface term dominates and ΔG rises; past a critical size, the volume term wins and ΔG falls. Differentiating dΔG/dr = 0 gives the critical radius and barrier height:
r* = 2γVm / (RT·lnS) ΔG* = 16πγ³Vm² / [3(RT·lnS)²]
Clusters smaller than r* are thermodynamically unstable — every added molecule raises the free energy, so they preferentially shrink and redissolve (subcritical, shown as the diffuse cyan haze in the animation). Clusters that fluctuate past r* become stable nuclei that lower their free energy by continuing to grow (indigo → blue in the animation).
The nucleation rate follows an Arrhenius-type expression:
J = A·exp(−ΔG*/kT) = A·exp[−16πγ³Vm² / (3k³T³(lnS)²)]
This exponential dependence on 1/(lnS)² makes J extraordinarily sensitive to supersaturation: doubling S from 1.2 to 1.4 can raise J by many orders of magnitude, which is why the metastable zone boundary in industrial practice looks almost like a sharp threshold rather than a gradual onset — in this simulation, note how few stable (blue) nuclei appear at S=1.05 versus S=1.6.
Modern refinements (2-step nucleation, ten Wolde & Frenkel 1997; nonclassical pathways via dense liquid precursors, Gebauer & Cölfen 2011) show that for many systems — proteins, calcium carbonate — a dense amorphous or liquid intermediate precedes the ordered crystalline nucleus, but CNT remains the standard engineering approximation for reactor design and MSZW prediction.
Secondary Nucleation and the Metastable Zone Width — Why Seeded Crystallizers Behave Differently
Once even a small population of crystals exists in the vessel, a second and usually much faster nucleation pathway takes over: secondary nucleation. Rather than requiring a stochastic climb over the primary barrier ΔG*, secondary nuclei are generated mechanically from existing crystal surfaces via fluid shear and collisions, occurring at supersaturations far below what primary nucleation would need. The gap between the solubility curve and the point of observable spontaneous nucleation is the metastable zone width (MSZW), the operating envelope every crystallizer is designed around.
- S ≈ 1.05–1.2: Secondary nucleation onset (much lower than primary S)
- 2–15 °C: MSZW (typical org. compound) (ΔT between C* and nucleation onset)
- 0.1–5 µm: Attrition fragment size (sheared from parent crystal/impeller)
- polythermal (Nyvlt): MSZW measurement method (cooling until turbidity onset)
Mechanisms of secondary nucleation and defining the metastable zone
Secondary nucleation mechanisms, in rough order of contribution in a stirred tank crystallizer:
1. Attrition/collision-breeding: crystal–crystal, crystal–impeller, and crystal–vessel-wall collisions shear microscopic fragments (0.1–5 µm) from existing crystal surfaces. These fragments are already ordered lattice pieces above their own critical size, so they grow immediately without needing to cross ΔG* — this is the dominant mechanism in most industrial stirred and circulated crystallizers.
2. Fluid shear (surface) breeding: elevated local supersaturation and shear stress at a crystal's boundary layer can detach loosely bound surface clusters ("dendrites") even without solid–solid contact.
3. Initial/dust breeding: microscopic crystalline dust adhering to a seed crystal's surface when it is introduced, released into solution as the seed dissolves slightly then regrows.
Secondary nucleation rate is commonly correlated empirically (not from CNT) as:
B = k_b · M_T^j · ΔC^b
where M_T is suspension density (crystal mass per volume), ΔC is absolute supersaturation, and j, b are empirical exponents (typically j≈1, b≈1–2). Higher agitation intensity and crystal loading both increase B.
Metastable zone width (MSZW): Nyvlt's classical polythermal method cools a clear, saturated solution at a fixed rate and records the temperature (or supersaturation) at which nucleation is first detected by turbidity, focused-beam reflectance (FBRM), or laser backscattering. The gap ΔT_max = T(C*) − T(onset) — typically 2–15 °C for organic pharmaceutical compounds, narrower for inorganic salts with high solubility slope — defines the "safe zone": below the solubility curve, undersaturated (no driving force); between the curve and the MSZW boundary, metastable (existing crystals grow, no new nuclei); beyond the MSZW boundary, labile (uncontrolled primary nucleation, "spontaneous" showering).
Faster cooling/anti-solvent addition rate pushes the system deeper into the labile zone before secondary/seeded growth can consume the excess supersaturation — visible in the animation as a shower of yellow secondary nucleation fragments when the cooling-rate slider is set to Fast, versus a controlled few when set to Slow.
Crystal Growth Rate — Diffusion, Surface Integration, and the McCabe ΔL Law
Once a nucleus exceeds r*, it grows by incorporating solute molecules from solution into an ordered lattice at its faces. Growth proceeds through two sequential resistances in series — bulk diffusion to the crystal surface and integration into the lattice — and the slower of the two controls the overall linear growth rate G (µm/min). Understanding which regime dominates determines whether a crystallizer should be designed to intensify mixing (diffusion-limited) or to control supersaturation and temperature more precisely (integration-limited).
- 1–50 µm: Boundary layer thickness δ (thinner with more agitation)
- 0.01–1 µm/min: Typical growth rate G (compound- and S-dependent)
- 1–2: Growth order n (G∝ΔCⁿ) (1=diffusion, ~2=spiral/BCF)
- 1929: McCabe ΔL law (invariant growth rate w/ size)
Two-step growth model and rate laws
Growth of a crystal face proceeds through two sequential steps:
Step 1 — Bulk diffusion: solute is transported from the bulk solution, across a stagnant boundary layer of thickness δ, to the crystal surface. Flux: N_diff = k_d·(C − C_i), where k_d = D/δ is the mass transfer coefficient (D = diffusivity, ~10⁻⁹–10⁻¹⁰ m²/s for small organic molecules), and C_i is the interfacial concentration.
Step 2 — Surface integration: solute at the interface is incorporated into the crystal lattice. Flux: N_int = k_r·(C_i − C*)^r, where k_r is the integration rate constant and r is the surface reaction order (often 1–2).
At steady state the two fluxes are equal, and eliminating the unknown C_i gives the overall growth rate as a function of bulk supersaturation ΔC = C − C*:
G = k_G · ΔC^n
where n (the "apparent order") reveals the controlling regime: n≈1 indicates diffusion control (well-stirred, high-solubility systems); n≈2 indicates surface-integration control via spiral growth.
Surface integration sub-mechanisms:
• 2D surface nucleation: a new atomic layer must nucleate on an otherwise smooth face — analogous to 3D nucleation but in 2D, requires relatively high local supersaturation, gives a highly nonlinear (often exponential) G(ΔC) relationship at low S.
• Spiral (screw dislocation) growth — BCF theory (Burton, Cabrera, Frank 1951): a screw dislocation emerging at the face provides a permanent step that never needs to renucleate; the step spirals outward continuously. This is the dominant mechanism at low-to-moderate supersaturation for most real crystals (which virtually always contain dislocations), giving G roughly parabolic in ΔC at low S, becoming linear at higher S as steps crowd together.
• Rough (continuous) growth: at high supersaturation or for materials with very low entropy of fusion, the interface becomes atomically rough and growth is essentially diffusion-limited and linear in ΔC — the fastest growth mode.
McCabe ΔL law (McCabe 1929): empirically, all crystals of the same material and habit growing in the same environment grow at approximately the same linear rate G (µm/min) independent of their initial size — "ΔL law" — so a population of seed crystals shifts together on a size axis rather than large crystals outrunning small ones. This underpins population balance modeling of crystal size distribution (CSD) in industrial crystallizers and is the basis for predicting final CSD from a known seed distribution and a size-independent G(t).
In the animation, growth-front thickening (green) around each stable nucleus is rendered explicitly proportional to G, which itself responds to the current supersaturation slider — note the visibly parabolic-to-linear transition in front speed as S is increased.
Balancing J and G — Seeding Strategy and Particle Size Distribution Control
Every practical crystallization process is an exercise in managing the competition between nucleation rate J and growth rate G. Too much nucleation relative to growth yields a product of many small, hard-to-filter crystals with poor bulk properties and possibly the wrong polymorph; too little nucleation with unconstrained growth yields large, fragile crystals prone to inclusion of mother liquor. Modern crystallizer design deliberately suppresses uncontrolled primary nucleation and lets a controlled seed population absorb essentially all the supersaturation through growth.
- 0.1–5 wt%: Typical seed loading (of expected final crystal mass)
- CV < 30%: Target CSD span ((D90−D10)/D50, quality target)
- mid-MSZW: Optimal operating point (below primary, above dissolution)
- FBRM, PVM, ATR-FTIR: PAT tools (in-situ supersaturation/CSD control)
Seeding, controlled supersaturation trajectories, and PSD engineering
Seeding strategy: introducing a known mass and size distribution of seed crystals at a controlled supersaturation (typically low in the metastable zone, well below the secondary nucleation threshold) gives the process engineer direct control over the number of growth sites. Seed mass, size, and surface area determine how much of the total supersaturation released during cooling/anti-solvent addition is consumed by growth on existing seeds versus lost to new nucleation events. Rule of thumb: seed loading of 0.1–5 wt% of the expected product mass, added at a supersaturation ratio S ≈ 1.05–1.10 (well inside the metastable zone, away from both the solubility curve and the MSZW boundary).
Programmed supersaturation trajectories: rather than a linear cooling ramp (which produces high initial ΔT-driven supersaturation, prone to secondary/primary nucleation bursts early, then insufficient driving force late), controlled crystallizers use:
• Programmed (natural) cooling curves: cooling rate is slower at the start (when surface area is low, so growth alone cannot consume supersaturation fast enough) and faster later (as total crystal surface area increases and can absorb more supersaturation per unit time) — keeping ΔC roughly constant throughout the batch.
• Controlled anti-solvent dosing: analogous logic applied to anti-solvent addition rate, often under feedback control from an in-line concentration/turbidity signal.
Process analytical technology (PAT): modern crystallizers use in-situ probes — focused beam reflectance measurement (FBRM) for chord-length (proxy for particle count/size), particle vision and measurement (PVM) imaging, and ATR-FTIR for real-time solution concentration — to close the loop and hold the process within the metastable zone despite disturbances, rather than relying on an open-loop recipe.
Consequences of getting the J/G balance wrong:
• Nucleation-dominated (fast cooling/anti-solvent, high S): fine, needle-like or agglomerated crystals, high surface-area-to-volume ratio, difficult filtration and washing, higher impurity incorporation (larger surface trapping mother liquor), possible metastable polymorph formation.
• Growth-dominated with excessive seed consumption before enough nuclei exist: overly broad or bimodal CSD if secondary nucleation still triggers episodically.
• Optimal: narrow CSD (span/CV < 30%), predictable filtration and drying behavior, and — critically for pharmaceuticals — reliable selection of the desired thermodynamic polymorph, since different polymorphs have different solubility curves and therefore different effective S at a given concentration and temperature.
The central design insight of industrial crystallization is that nucleation rate J and growth rate G respond to supersaturation on very different curves — J rises steeply (near-exponentially) with S while G rises much more gently. Operating deliberately in the low-supersaturation "growth-dominant" region of the metastable zone — enabled by seeding — is therefore the single most effective lever for controlling crystal size distribution, filterability, and polymorphic purity, and is why virtually every scaled pharmaceutical and fine-chemical crystallization process is seeded rather than left to nucleate spontaneously.
This simulation models the nucleation and growth rate of a crystal in relation to supersaturation. Users can adjust parameters such as temperature, concentration, and agitation to observe how these factors influence the crystallization process.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install