AIMS

Coarse-Grained Modeling of the Glass Transition

AIMS models each styrene unit of a polymer chain as a single bead and uses an AI agent to run experiments.

← Back to AIMS

A plastic cup is made of polystyrene, long chains of styrene units tangled together. Whether a melt of those chains flows or sets into a glass depends on how freely the chains can move past one another, so AIMS models each styrene unit as a single bead, and an AI agent sets up the experiments. A student asks a plain-language question, and the agent cools the melt step by step, measures how far its beads move, and posts the measured data in the chat as a live chart. In the window below, twenty chains of twenty beads fill a box at 450 K, well above the glass transition. Press Play and watch the chains slide past one another.

View fullscreen
Twenty chains of twenty styrene beads at 450 K. Open the analysis panel to watch the mean squared displacement grow.

Why Trade Atoms for Beads?

Few molecules of a gas are spheres, yet physicists model gases with hard spheres, because what decides how a gas behaves is that its molecules take up room and bounce off one another. Keeping only those features makes the cause of the behavior easy to see. A chain of beads does the same for a polymer. What turns a polymer melt into a glass is that its chains are long, connected, and crowded: as the melt cools, each segment is closely surrounded by its neighbors and held back by the chain it belongs to, until the chains can no longer slide past one another. The model replaces the atoms of each styrene unit with one bead that keeps the unit’s connection, size, and attraction, so whatever slowing the melt shows comes from those features alone. It also makes the simulation fast enough for a browser. A melt that can turn into a glass takes hundreds of chain segments and nanoseconds of time, far more than a browser can follow one atom at a time, while the phase-change and heat-conduction articles on this site, whose crystals need only a few hundred atoms, simulate every atom.

Modeling a molecule this way is called coarse-grained modeling, a standard approach to soft matter in research, which keeps the degrees of freedom that decide the behavior and drops the rest. A landmark of the approach is the 1990 simulation by Kremer and Grest, who modeled polymer melts as chains of soft beads on springs and reproduced how the chains move and tangle. A bead has a mass, a size, and an attraction to other beads, and chains of beads have springs, bending stiffness, and a torsion term. One bead in this lab has the mass of a styrene unit, 104 g/mol, and an attraction fitted so that the melt stops flowing near the glass transition of polystyrene. Because the units are real, the thermometer in the lab reads kelvin. Companion articles apply the same approach to liquid crystals, protein folding, and soap micelles.

Running Experiments by Asking

AIMS is an AI-native environment. Building a melt, stepping its temperature, measuring how far its beads move, and plotting the result are the agent's work. A student asks "when does the melt become a glass?", and the agent recognizes the intent, configures the lab, runs the experiment, and posts a live chart of the results in the conversation.

Go to AIMS and open the list of examples, with the lightbulb button on the toolbar or the Examples item in the main menu (☰). Open A Polymer Melt Near Its Glass Transition from the list (Materials Science, Soft Matter), open the chat, and type the prompt below.

Be patient. Every picosecond is computed in your browser, and the ramp takes a few minutes.

  1. The glass transition — “Cool the melt from 550 K to 200 K in steps of 50 K, holding about 20 ps at each step, and chart the diffusion coefficient against temperature.”

A Melt and Its Glass Transition

A polymer melt is a tangle of long chains. Warm, the chains slide past one another and the material flows; cold, they lock in place and the material is a glass, hard and brittle and without any crystal order. The temperature at which that happens is the glass transition, and for polystyrene it is 373 K (100 °C), which is why a foam cup softens in boiling water. This lab packs twenty chains of twenty beads into a box, 400 beads in all, in the manner of Kremer and Grest, and the melt opens at 450 K. Press Play and open the analysis panel: the mean squared displacement of the beads grows steadily with time, which is a liquid diffusing, and the radius of gyration of each chain fluctuates as the chain changes shape.

Ask the agent to cool the melt from 550 K to 200 K in steps of 50 K and it measures the diffusion coefficient at each step: 0.291 Å²/ps at 550 K, 0.062 at 400 K, 0.045 at 350 K, and 0.018 at 200 K. A falling coefficient by itself leaves the glass transition undefined, because a bead boxed in by its neighbors still rattles, and every 10 ps window reads a value above zero. What tells a liquid from a glass is whether the displacement keeps growing with time: in a liquid the mean squared displacement rises in proportion to the time elapsed, and in a glass it rises for a picosecond and then levels off. The agent fits that growth exponent at every step and charts it too. It falls from 0.80 at 550 K to 0.27 at 400 K, 0.15 at 350 K, and 0.01 at 200 K, where each bead moves only 0.7 Å, 0.15 of its own diameter, inside its cage. The exponent drops below 0.3 at about 410 K, give or take 40 K, and that is the glass transition of the model on a 10 ps time scale.

Polystyrene's own glass transition is 373 K, and the attraction of the bead was chosen to land near it, so the agreement is a fit; repeat runs land tens of kelvin apart. A glass transition seen in picoseconds after cooling at a trillion kelvin per second is a kinetic transition: it moves with the cooling rate, the length of the window, the depth of the bead well, and the fact that nearly half of a 400-bead blob is surface, where a bead has fewer neighbors to cage it. Hold each step longer and the measured transition moves up. Warm the melt again and the motion returns.

What the Simulation Produced

The simulation was given the forces among beads. Everything below came out of it:

  • A slowing melt — the diffusion coefficient falls sixteenfold between 550 and 200 K.
  • A glass transition — the growth exponent of the displacement drops below 0.3 near 410 K in this run, a kinetic transition seen after very fast cooling.
  • Caged beads — at 200 K each bead moves 0.7 Å, 0.15 of its own diameter, in 10 ps.

Conclusion

This article uses a polymer melt to illustrate a new way to learn science: students converse with an AI agent that turns a plain-language question into a molecular dynamics experiment and hands back measured data. The glass transition of a plastic becomes something students measure for themselves in a browser, along with the reason the measured value depends on how fast the melt is cooled. By pairing a physically grounded coarse-grained simulation with an AI that can set it up and run it, AIMS turns a student's curiosity into a genuine scientific investigation of the plastics of everyday life.

← Back to AIMS