Spin chains
Worm-like Spin Chain
2020 reading project in biophysics under Dr. Abhishek Chaudhuri (a COVID year, with no in-person internship): simulating worm-like chains as polymer models and reproducing published results.
Research project (unpublished) · 2020
Interactive abstract
Play with the idea
This interactive diagram needs JavaScript. The schematic and write-up below explain the same idea.
Layman view
In plain words
Draft — to be verified. Written in plain language from the paper and project notes on this site.
Think of a long, flexible molecule such as a polymer or a strand of DNA as a rope made of many short segments. Each segment points in some direction, and neighbouring segments prefer to point the same way. That preference is what makes the rope bend smoothly instead of kinking at random.
The same description fits a row of tiny magnets, called spins, where neighbours prefer to line up. Because the mathematics is the same, tools from the physics of magnets can be used on flexible chains. Pulling on the two ends of the chain then plays the part of an external magnetic field.
This page explains the general idea. The 2020 project's own code and results are not public yet, so none are described here.
Expert view
The work, step by step
-
01
Context
A 2020 reading project in biophysics under Dr. Abhishek Chaudhuri. It was a COVID year, so there was no in-person internship. The work was simulating worm-like chains as polymer models and reproducing published results.
-
02
Background
This is textbook background, not a description of the project's code. The worm-like chain (Kratky–Porod) model describes a semiflexible polymer as an inextensible curve whose energy penalises bending. Cut into short segments, it takes the form of a one-dimensional classical ferromagnetic spin chain: the unit tangents of the segments act as spins, and a force pulling on the chain ends acts like an external magnetic field.
-
03
Status
The public repository now holds code, but it is not the 2020 project code. It is a later (2026) Brownian-dynamics toolkit for self-propelled worm-like filaments, built to reproduce a published paper, and it is not a completed replication. The 2020 code and results are still not public, so no 2020 results are reported here.
-
04
Code in the repository (2026 toolkit)
The repository contains a Python package that simulates a two-dimensional self-propelled worm-like filament, following Isele-Holder, Elgeti and Gompper (Soft Matter 11, 7181, 2015). The chain is a row of beads joined by harmonic bonds, with a bending energy and a repulsive excluded-volume interaction, and an active force along the chain. It is integrated with overdamped Brownian (Euler–Maruyama) dynamics without hydrodynamics, in a compiled Numba kernel with a neighbour list. The runs are deterministic and can be checkpointed and resumed. The analysis measures spiral number, end-to-end distance, centre-of-mass and rotational diffusion, and the dynamic structure factor.
The repository has 64 automated tests, which passed in its continuous-integration check. Its notes record one strong-spiral run lasting 5 of the paper’s characteristic times (5 τ) on one random seed, in which a spiral state dominated. They state that this is not a replication: other seeds and parameter points were not run at full length, and the paper's time step and exclusion rule are not known.
-
05
Model (textbook)
Cut the chain into N segments of length b with unit tangents tᵢ. Up to a constant the bending energy becomes E = −J Σ tᵢ · tᵢ₊₁ with J = κ/b, a classical ferromagnetic chain: Heisenberg in three dimensions, XY in two.
For an open chain the angle between neighbours is independent from one bond to the next, so the tangent correlation decays geometrically, ⟨tᵢ · tᵢ₊ₙ⟩ = rⁿ. In two dimensions r = I₁(K)/I₀(K) with K = J/k_BT; in three dimensions r = coth K − 1/K. A force on the chain ends adds −b f · Σ tᵢ, which acts like a magnetic field on the spins.
This section is general background taken from the standard theory; it does not describe what the project's code implements.
Schematic
How it works
Contribution
My role
Publication