3D Drug Nanocapsule: Narrow-Escape Release

Drug molecules random-walk inside a polymer shell and escape through pores: Stokes-Einstein diffusion, narrow-escape time V/(4 N a D) and an exponential release curve.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A polymer nanocapsule is loaded with drug molecules. Each molecule jiggles about by Brownian motion inside the shell and can only leave by happening to hit one of the few small pores. This is the classic narrow-escape problem: a diffusing particle trapped in a closed cavity with a tiny exit. The page simulates individual walkers and compares their escape with the analytic theory.

Equations

  • Diffusion (Stokes-Einstein): D = kB T / (6 π η f rh) with the hydrodynamic radius rh of the drug and an interior gel factor f.
  • Water viscosity (Vogel): η(T) = 2.414×10−5 · 10247.8 / (T − 140) Pa s, T in kelvin.
  • Random-walk step per axis: Δx = sqrt(2 D Δt) N(0,1); the shell reflects the molecule.
  • A pore only counts if the drug fits: aeff = a s − rh, where s is a pH swelling factor.
  • Narrow-escape mean time with N pores (Singer, Schuss, Holcman): τ = V / (4 N aeff D), V = 4πR³/3. It falls as 1/N and as 1/a, not as the pore area.
  • Release then follows F(t) = 1 − exp(−t / τ).

Checks run in the page

  • A separate Monte Carlo with 300 walkers, 6 pores, and a pore radius of one tenth of the capsule radius gives a mean exit time within 12 % of the formula.
  • The same run shows that the fraction escaped at t = tau is close to 1 − 1/e and that no walker is lost.
  • The Vogel viscosity matches handbook values for water at 20, 37 and 40 degrees Celsius to within 2 %.

Honest simplifications

Pores are perfectly absorbing discs on a smooth sphere; real shells have channels of finite length, electrostatic interaction with the drug and polymer degradation. The pH swelling factors (1.0, 1.35, 1.8) are illustrative, not measured for any one polymer. Drug molecules do not collide with each other or bind to the shell, the interior is one uniform viscosity, and escaped molecules are simply carried away rather than modelled in blood. The narrow-escape formula is accurate when the pores cover a small fraction of the surface; the page warns when they do not. The blood cells and vessel wall are decoration and are not drawn to scale: a real red blood cell is about a hundred times wider than such a capsule. The replay is slowed down by a factor of about a million so that microsecond events can be watched.

What to try

  • Double the number of pores and watch the second graph: the escape time halves.
  • Choose the big protein drug and note that the effective pore opening shrinks, which slows release disproportionately.
  • Switch the environment to endosome pH: the pores swell and release speeds up.
  • Raise the interior gel factor to see D drop and everything slow in proportion.
  • Use Inside the capsule to watch single walkers wander before they find an exit.
Loading model...
Loading Blender model...
Release curve: simulated vs theory
Escape time vs number of pores
Diffusion coefficient vs temperature
Made with 🟠 Blender · Three.js