Patrick Rowe

2017–22 · 27 MIN

Machine learning potentials for carbon

Method Gaussian approximation potentials fitted to van der Waals-inclusive DFT and run in LAMMPS System Carbon from graphene and diamond to the liquid, amorphous networks and free clusters Result Density, not temperature, decides whether an annealed carbon network graphitises
A 10 Å slab through a few thousand atoms of amorphous carbon at 1.0 g cm⁻³ after a 200 ps anneal at 3500 K, shown two periodic cells wide, with curved graphitic sheets of hexagons wrapped around voids, drawn as grey spheres and rods on white.
Fig. 1 A 10 Å slab through an annealed network of a few thousand carbon atoms at 1.0 g cm⁻³, shown two periodic cells wide. The cell was annealed for 200 ps at 3500 K with GAP-20 and then cooled to near 710 K, and at this density the sheets have formed.Own work.

Carbon is several materials wearing one element. Diamond, graphite, graphene, nanotubes, fullerenes, amorphous films and the hot liquid differ enough in their bonding that a model fitted to any one of them is usually wrong about the rest. The standard models are the classical (or empirical) potentials, fitted formulas that give the energy of a set of atoms, and the forces on them, from their positions, and they were fitted to a few of those materials by hand. Anyone who has simulated a carbon material with more than a few hundred atoms for longer than a few picoseconds has used one of those models, and has inherited its opinions. Some of the opinions are odd; ask the classical carbon potentials of 2017 whether a free graphene sheet expands or contracts when you warm it, and they disagree on the sign. Three of them switch sign somewhere between 500 and 1000 K, one tears the sheet apart above 1500 K, and none of them agrees with the quantum-mechanical answer across the whole range. Thermal expansion is about as basic as a property gets.

Graphite is the ground state of carbon, and yet most potentials in 2017 predicted that it would spontaneously come apart. Virtually all of the classical potentials (LCBOP is the exception) had no treatment of van der Waals interactions, and neither did early machine-learned potentials such as GAP-17, which was fitted for amorphous carbon. They treat the sheets of graphite as non-interacting at any reasonable geometry, so an MD simulation at room temperature gives something like a gas of graphitic sheets, and this has been observed in practice. Here a well-designed empirical model does better than a prototype machine-learned one. Each has specific strengths and weaknesses; machine learning does not “solve” the problem, and you still have to think carefully about the physics.

I spent the years from 2016 to 2022 replacing those opinions with a fitted one, first for graphene alone and then for every form of carbon at once, and then finding out what happened when the potentials were run at scale. The machine-learned models here are fitted to density functional theory (DFT), a quantum-mechanical method, and one of them turned out to cover the whole element while keeping graphene’s vibrations within 4 meV of DFT. It later came out on top of seven potentials in a benchmark on carbon clusters, and a few thousand atoms of hot carbon told me that whether a network graphitises, turning into sheets of hexagons as in graphite, is decided by its density and hardly at all by its temperature.

Graphene potential

Rowe, Csányi, Alfè and Michaelides, Development of a machine learning potential for graphene, Phys. Rev. B 97, 054303 (2018). Paper 

My PhD began, as far as its research goes, on the Central line. My funding came from the London Centre for Nanotechnology and set no conditions on what I worked on, and the first time I spent any real time with the group was an outing to play paintball, of all things. Somewhere between Stratford and Epping my supervisor, Angelos Michaelides at University College London, turned to me and asked what I wanted to work on. I said I was interested in this thing called machine learning that I had recently heard about. Angelos had a close collaborator, Gábor Csányi in Cambridge, who was developing a way of modelling atoms that learned the quantum-mechanical forces and so skipped the quantum-mechanics calculations themselves. Nobody yet knew whether such a model could be accurate enough for the systems people cared about, and so be used for new science. This was 2016, when 2D materials, graphene above all, were all the rage, and Angelos and I had first met over his simulations of a water nanodroplet diffusing on graphene. Graphene seemed a reasonable place to start.

Graphene is the form of carbon everyone has heard of, and on paper the simplest one to start with, a single sheet of hexagons with one bond length and one angle. Reproducing the structure at 0 K is the easy part, though. The properties people measure (the thermal expansion, the phonon spectrum, the Raman shift with temperature) come from how the energy changes as the sheet bends and stretches, and that is where a model fitted by hand to a handful of numbers has nothing to say. So the question I set out to answer was whether a potential fitted to DFT forces could stand in on graphene for ab initio molecular dynamics (AIMD), in which atoms move step by step under forces computed with DFT, and how far behind it the potentials people use every day would fall. Beyond the choice of descriptors, the numbers that encode an atom’s surroundings, the potential would have no physics put in by hand.

The method was the Gaussian approximation potential (GAP). It writes the energy of an atom as a sum of a two-body term, a three-body term and a many-body term built on the smooth overlap of atomic positions (SOAP) descriptor, and each term is a Gaussian-process fit, a regression that predicts a new atomic environment from its similarity to a set of reference ones. The reference data came from VASP with the optB88-vdW functional, a form of DFT that includes van der Waals attraction, converged tightly to keep the noise in the forces low. As important as any hyperparameter was where the training configurations came from. Molecular dynamics (MD) runs under an existing empirical potential, LCBOP, seeded the first 300. From there the model bootstrapped itself, in a loop in which each new GAP drove its own dynamics, the configurations it visited were computed with DFT and added, and the fit was repeated, until the training set held about 1,000 sheets of 200 atoms spanning 300–4000 K and a small range of lattice parameters. A potential trained this way has seen the places it will go.

The GAP faced a crowded field: density functional tight binding (DFTB, an approximate quantum method), ReaxFF, Tersoff, REBO, AIREBO, AIREBO-Morse, LCBOP and the amorphous-carbon GAP from Gábor’s group, all run on the same tests. On forces the contest was not close. Against a sample of 15,000 DFT reference forces the graphene GAP made a root-mean-square error (RMSE) of 0.028 eV Å⁻¹ in the plane of the sheet and 0.019 eV Å⁻¹ out of it; the best empirical potential in the plane, AIREBO, sat at 0.548 eV Å⁻¹, twenty times higher, and Tersoff at 3.122 eV Å⁻¹, with individual errors above 11 eV Å⁻¹. Out of the plane the best of the rest, DFTB at 0.162 eV Å⁻¹, had eight to ten times the GAP’s error. For scale, the difference between two reasonable exchange–correlation functionals on the same forces is 0.026 eV Å⁻¹ in the plane, so the GAP was as close to its own reference as one flavour of DFT is to another. The 0 K lattice parameter came out at 2.467 Å against 2.464 Å from DFT and 2.462 Å for graphite at room temperature, a 0.1% miss shared only by ReaxFF.

Eight panels of phonon dispersion curves for graphene along the high-symmetry path, each comparing one potential against the reference dispersion derived from X-ray diffraction. The Gaussian approximation potential lies on the reference across the branches shown; the empirical potentials depart most on the highest, longitudinal optical branch.
Fig. 2

Phonon dispersion of graphene from each potential (lines) against the dispersion derived from X-ray diffraction on graphite (points). The machine-learned potential lies on the reference, and every empirical potential departs from it on the highest branch. Reproduced from Rowe et al., Phys. Rev. B 97, 054303 (2018), figure 3. Copyright 2018 American Physical Society.

A potential is fitted to forces, so a good force error is the least you should expect, and the properties are the test. The phonon dispersion is the one I would show anyone who doubts that a fitted model can carry real physics. Against the dispersion derived from X-ray diffraction on graphite, the GAP is within a millielectronvolt at almost all of the high-symmetry points, where REBO, AIREBO, AIREBO-Morse and Tersoff make mean absolute errors of 10, 20, 20 and 40 meV. Every empirical potential gets the highest branch wrong; that branch is the longitudinal optical one, the stiffest vibration in the sheet, and they either soften it or stiffen it by 20 to 110 meV. The Raman G band, which is that vibration seen at the zone centre, softens with temperature in the experiments once the strain from the substrate is corrected out, and the GAP follows the measurements across the 150–900 K they cover.

The in-plane lattice parameter of graphene between 60 and 2500 K, each model normalised to its own 60 K value, from eight potentials and ab initio molecular dynamics. The ab initio curve is nearly flat; the Gaussian approximation potential follows it, while the empirical potentials fan out above and below.
Fig. 3

In-plane thermal expansion of a free graphene sheet from 60 to 2500 K, drawn as the lattice parameter relative to each model’s own 60 K value, from constant-pressure ab initio molecular dynamics and from each potential. Only the machine-learned potential tracks the ab initio curve. Reproduced from Rowe et al., Phys. Rev. B 97, 054303 (2018), figure 2, panel B. Copyright 2018 American Physical Society.

Thermal expansion is where the empirical potentials fall over in public. Constant-pressure AIMD on the free sheet, from 60 to 2500 K, changes the in-plane lattice parameter by 0.1% over the whole range, which is to say it barely moves, and the GAP follows it in absolute and in relative terms. The three potentials whose coefficient of thermal expansion changes sign between 500 and 1000 K are LCBOP, AIREBO and AIREBO-Morse, and the one that fragments the sheet above 1500 K is ReaxFF. No empirical potential in the set predicts both the 0 K lattice parameter and the finite-temperature expansion.

The price of the GAP is compute. Per MD step on 200 atoms it costs 340 times what Tersoff costs, less than DFTB at 950, and about four orders of magnitude less than AIMD for the same system; REBO, the best of the empirical potentials overall, costs 1.2 times what Tersoff does.

Contents ↑

GAP-20

Rowe, Deringer, Gasparotto, Csányi and Michaelides, An accurate and transferable machine learning potential for carbon, J. Chem. Phys. 153, 034702 (2020). Paper 

The graphene model worked, and it exposed a gap. It was accurate for graphene and for nothing else; try it on diamond and it produces nonsense. GAP-17, a model for amorphous carbon from Gábor’s group, had shown that the liquid and amorphous phases could be modelled reasonably well, which mattered because those phases hold a very diverse set of local environments. Like the classical potentials before it, though, GAP-17 had no van der Waals interactions, so it treated graphite’s sheets as not interacting at all at any reasonable spacing. Run an MD simulation of graphite with it at room temperature, and the crystal comes apart into something like an aerosol of graphitic sheets. Accuracy and transferability were, at the time, two different models’ virtues. The question for GAP-20 was whether one model could have both, for every form of carbon at once, and what that would cost. It dominated my research for the next few years. Getting the millielectronvolt accuracy that defects need and the robustness that a liquid at high temperature needs into one model was hard, but it worked, and for the first time we could simulate accurately how materials such as the hard carbons in battery anodes form.

A two-dimensional sketch-map of the GAP-20 training database, in which each point is an atomic environment coloured by its structure class, with crystalline phases, surfaces, defects, fullerenes, nanotubes, the liquid and amorphous networks occupying distinct regions, surrounded by small renderings of representative structures; below it, three scatter panels of formation, defect and surface energies in which GAP-20 sits on the DFT values while the empirical potentials scatter.
Fig. 4

The GAP-20 database as a sketch-map, a two-dimensional projection of the SOAP similarity between atomic environments, with one point per environment and representative structures drawn around it. Crystals, surfaces, defects, fullerenes, nanotubes, the liquid and amorphous carbon occupy their own regions, and the model is fitted to all of them at one level of theory. Panels B to D put GAP-20 (red crosses) and DFT (black circles) side by side on the formation energies of the crystalline allotropes, the defect formation energies and the surface energies, with the empirical potentials (pale crosses) scattered around them. Reproduced from Rowe et al., J. Chem. Phys. 153, 034702 (2020), figure 1, with the permission of AIP Publishing.

Most of the GAP-20 paper is about the training database, since the database decides what the model can describe. It started from the GAP-17 and graphene sets and added every crystalline phase, every fullerene under 240 atoms, a range of nanotubes, the SACADA catalogue of allotropes, low-index surfaces, a set of defects, and the structures GAP-17 had found by random structure search, which relaxes random starting cells to their nearest energy minimum. Each was sampled with ab initio and GAP-driven MD, and everything was recomputed at one level of theory, which made about 17,000 configurations of 1 to 240 atoms and almost 2.5 million atomic environments. Then the fit threw most of it away. The training set is the union of 4,000 configurations chosen by farthest-point sampling, the whole GAP-17 set, and about 1,000 configurations added by hand to target particular properties. Farthest-point sampling makes each new pick the configuration least like those already chosen, which spreads the set out instead of piling it up where the dynamics happened to linger.

Two of the fitting choices were made so that the model could bind graphite’s layers. The first gives it a long-range van der Waals tail without asking the Gaussian process to learn one, by handing the two-body GAP term over at 4.0 Å to a semi-analytical r⁻⁶ spline, which runs to 10 Å and is fitted to the DFT binding curve of a graphene bilayer. The second is the SOAP cutoff. In a scan against the force error on a held-out set the error was lowest at 2.9 Å, and the cutoff was set to 4.5 Å anyway, because graphite’s layers sit about 3.3 Å apart and a model that cannot see the next layer cannot bind it.

Phonon dispersions for diamond, graphene and two carbon nanotubes, each comparing GAP-20 against DFT reference data; the graphene panel also shows the 2018 graphene-only model as a dashed line lying closer to the reference than GAP-20 does.
Fig. 5

Phonon dispersions of diamond, graphene, a (9,9) armchair nanotube and a (9,0) zigzag nanotube from GAP-20 (lines) against DFT (points). The dashed line in the graphene panel is the graphene-only potential of 2018, which lies closer to DFT than GAP-20 does. Reproduced from Rowe et al., J. Chem. Phys. 153, 034702 (2020), figure 5, with the permission of AIP Publishing.

Breadth cost a factor of four in graphene phonon accuracy. GAP-20 keeps graphene phonons within 4 meV of DFT at the high-symmetry points, where the graphene-only model was within 1 meV. That factor of four is what one general model gives up against a specialist, and I would pay it every time, because on the same footing GAP-20 does diamond to within 7 meV in its stiffest modes and typical nanotube band splittings to 2–3 meV, neither of which the graphene-only model covers.

Across the crystalline allotropes GAP-20 gets lattice parameters and bond lengths to 0.2% on average, formation energies to 0.5% and atomisation energies to 1%; Tersoff, REBO-II and AIREBO make lattice errors of 5%, 4% and 1%. Tersoff and REBO-II have no interlayer binding in graphite at all, so their graphite is a stack of sheets that do not know about each other, where GAP-20 puts the c axis, the stacking repeat, at 6.71 Å against 6.65 Å from DFT.

Defects and surfaces are the harder test. Most defect formation energies land within 10% of DFT, and the relaxed geometries agree to better than 10⁻² Å in all but a handful of cases. A Stone–Wales defect in graphene, one bond rotated to make two pentagons and two heptagons, costs 4.9 eV in DFT and 4.8 eV in GAP-20; Tersoff says 1.9 eV. A monovacancy in a (9,9) armchair nanotube costs 6.4 eV in DFT and 5.8 eV in GAP-20; Tersoff, REBO-II and AIREBO give −5.1, −1.6 and −2.5 eV. By their account the nanotube would rather have the hole. On surfaces, diamond’s energies are typically within 7%, and the graphite basal surface, at 0.015 eV Å⁻² in DFT, comes out 3 meV Å⁻² off, a 20% error where LCBOP and AIREBO miss the same number by 67% and 27%. The model does miss the Jahn–Teller distortion of the graphene monovacancy, a 350 meV effect that lowers the symmetry of the relaxed hole, and its clear weak spot is diamond, where defect energies come out 25–35% low.

The liquid was checked against AIMD, at 5000 K across 1.5–3.5 g cm⁻³ and at 2.5 g cm⁻³ from 5000 to 9500 K, but the test I trust most is a random structure search. It generated 1,000 small periodic cells, 8 atoms in a 3 Å box, none of them in the training set, relaxed every one with GAP-20 and then recomputed them with DFT. All of them agreed well with DFT, and the search recovered the known structures of carbon, with AB-stacked graphite lowest, then AA and ABC stacking, diamond and lonsdaleite, the haeckelites, crosslinked graphite and a structurally distinct sp¹-rich group.

My PhD thesis holds both papers, and it says more plainly than they do why the training set was left to farthest-point sampling. The first attempts at GAP-20 used hand-picked training data, an isolated Stone–Wales defect here, a monovacancy there, and a model trained that way performs well at exactly those state points and extremely poorly at a vacancy next to a Stone–Wales defect. Real materials are full of such combinations. Ultimately, the approach was to stop hand-selecting configurations. Many varied structures were generated stochastically instead, by GAP-driven random structure search and by MD, all of them were computed, and farthest-point sampling thinned the pile, “allowing the computer to decide” which environments were new.

The thesis also tests the model beyond the papers, and at sizes DFT cannot reach. It lists stability tests that never made a paper (liquid quenches, anneals of amorphous structures and surfaces, C₆₀ molecules threaded into nanotubes, nudged-elastic-band paths for defect formation, and cluster searches), and in its cost benchmark on diamond cells DFT gave out at 2,744 atoms, where GAP-20 will do tens of thousands of atoms for nanoseconds. The model and its training data are on the Cambridge repository under CC BY 4.0.

Contents ↑

Defect corrugation

Thiemann, Rowe, Zen, Müller and Michaelides, Defect-dependent corrugation in graphene, Nano Lett. 21, 8143–8150 (2021). Paper 

The first test of a potential is whether it agrees with the calculations it was fitted to. The second is whether someone else can find something with it. With GAP-20 we, and others in Angelos’s group, had noticed that defects such as the Stone–Wales defect push a graphene sheet well out of plane, and the simulations of water nanodroplets on graphene had already shown how much corrugation matters even in a pristine sheet, since free-standing graphene always ripples. Could corrugation be engineered, then, by putting particular defects in? Fabian Thiemann wanted to know how much a point defect changes the shape of a free graphene sheet, and whether the answer depends on which defect and how many. The obvious way to find out is a sheet of about 7,000 atoms at 300 K for 150 ps, which is out of reach for DFT and, as it turned out, for the classical potentials as well.

Six ball-and-stick panels of relaxed carbon defects with the atoms around each defect highlighted: a graphene divacancy, a graphene Stone–Wales defect, a graphene monovacancy, a Stone–Wales defect in two orientations on a nanotube, and a split interstitial in diamond.
Fig. 6

Six of the defects GAP-20 was tested on, with the atoms around each defect highlighted. The two that matter here are the graphene divacancy (panel A), two missing atoms whose neighbours reconstruct (rebond) into one eight-membered and two five-membered rings, and the Stone–Wales defect (panel B), one bond rotated by 90° into two pentagons and two heptagons. Panels C to F are the graphene monovacancy, the Stone–Wales defect in two orientations on a (9,9) nanotube, and a split interstitial in diamond. Reproduced from Rowe et al., J. Chem. Phys. 153, 034702 (2020), figure 6, with the permission of AIP Publishing.

The simulations ran in LAMMPS under GAP-20 at 300 K and zero stress, on sheets of about 7,000 atoms with divacancies or Stone–Wales defects at concentrations from about 0.03%, an isolated defect, to 3%, where the defects sit about 1 nm apart. Every run started from a flat sheet with the defects placed at random and unreconstructed, so that whatever the vacancies did to close themselves up, they did on their own. Corrugation was measured as the standard deviation of atomic heights relative to a pristine sheet under the same conditions, a ratio called the corrugation amplification factor (CAF), because absolute heights scale with the size of the sheet and the ratio does not. Around each defect a fitted height function gave its tilt and its Gaussian curvature, which is zero for a surface bent in one direction only, like a cylinder, and negative for a saddle.

Defects roughen the sheet, and they do it early. The CAF is already well above 1 at about 0.2% and levels off above 1.5%, and how far it rises depends on the kind of defect. At 3%, divacancies raise the CAF to almost 5 and Stone–Wales defects to almost 3, and at equal concentration a divacancy corrugates the sheet roughly twice as much as a Stone–Wales defect. For comparison, a pristine sheet squeezed by 2% corrugates about as much as a sheet with 1% defects, so the defects are doing what a modest compression would.

The two defects bend the sheet in different ways. A Stone–Wales defect imposes a tilt, an inclination of about 0.270 against 0.066 for three pristine hexagons, with zero Gaussian curvature, and its tilt grows by less than 20% as more defects arrive. A divacancy is a saddle, and its Gaussian curvature grows about tenfold from the isolated defect to 3%, which means the divacancies feel each other and the sheet’s shape is a collective response.

Two classical potentials, LCBOP and REBO-II, were run at 1% as a check. They agree with GAP-20 on the trend, but only when started from divacancies that have already reconstructed. Started flat, they never get there, because both overestimate the barrier to the reconstruction and the vacancy stays an open hole. As we wrote in the paper, “simply using these potentials without prior knowledge … is unlikely to have revealed the insights obtained here”. GAP-20 found the reconstruction because the DFT it was trained on knows about the reconstruction.

Contents ↑

Cluster benchmark

Karasulu, Leyssale, Rowe, Weber and de Tomas, Accelerating the prediction of large carbon clusters via structure search: evaluation of machine-learning and classical potentials, Carbon 191, 255–266 (2022). Paper 

At Happy Electron, my employer at the time, I wanted to simulate hard carbons forming from deposited clusters, and for that you first have to know what the clusters look like. Finding out takes a random structure search for carbon clusters, and we wanted a potential that could replace DFT in its relaxation step. We put seven potentials through the same search to find out which one could.

The search was ab initio random structure searching (AIRSS), the Pickard–Needs method. Random clusters of 4 to 200 atoms were generated inside a sphere, with and without symmetry imposed, and the same random inputs were handed to each method to relax. The reference was DFT with the PBE functional, and the potentials were GAP-20 and six classical ones, Tersoff, C-EDIP, LCBOP-I, ReaxFF, REBO-II and AIREBO. Once duplicates, dissociated and unconverged structures were removed, DFT had about 14,000 minima to compare against and GAP-20 more than 40,000 of its own. The comparison covered which structure is lowest at each size and what symmetry it has, the distribution of cohesive energies, the Boltzmann-weighted coordination and ring statistics at 293 K, and the radial distribution function of C₆₀.

Fig. 7

Cohesive energy per atom of icosahedral C₆₀ from DFT and from each of the seven potentials in the benchmark. GAP-20 sits just on the over-bound side of DFT, and the six classical potentials are spread out on the under-bound side. Own work, from table II of Karasulu et al., Carbon 191, 255–266 (2022).

GAP-20 gave the closest match to DFT on all of it. On cohesive energy, DFT and GAP-20 put the clusters between −7.5 and −6.0 eV per atom and the classical potentials between −6.5 and −4.5, and for C₆₀ itself DFT gives −7.47 eV per atom and GAP-20 −7.57, an over-binding of 0.10 eV per atom, while the classical potentials under-bind by 0.30 to 0.91 eV per atom. The classical potentials also failed in characteristic ways. Tersoff and LCBOP-I built surface shells of sp¹ carbon, about 35% of atoms in clusters of 30 to 200 atoms; REBO-II and AIREBO stayed trapped in the dense sp³ starting structures they were given. GAP-20 has misses too, putting the transition from chains to rings at C₁₀ where DFT has it at C₈ and getting the point groups of the second- and third-lowest C₆₀ isomers wrong.

Then we did what the benchmark was for and searched beyond DFT’s reach, with GAP-20 alone, up to 720 atoms. The clusters stay hollow sp² cages up to about C₃₂₀, and above that the minima grow sp³ cores under faceted shells. In a low-density search of C₂₄₀ the canonical icosahedral fullerene was the minimum, with octahedral pseudo-fullerenes close behind, and at C₅₄₀ a fullerene-like tetrahedral cage had a dense isomer within 10 meV per atom of it, a competition between the two kinds of carbon that we place above about C₃₂₀. The fixed-radius generation makes large clusters denser than fullerenes, and these searches are not exhaustive; for anyone who cannot afford the GAP, ReaxFF is a cheaper option with moderate accuracy.

Contents ↑

Graphitisation

We remarked in the GAP-20 paper, almost in passing, that below about 3500 K its liquid carbon forms a glass that slowly graphitises. At Happy Electron in 2021 I had the compute to follow the remark up, in work I never published, and the question was a basic one. Starting from a melt, is it the density the network is held at or the temperature it is annealed at that decides whether it turns graphitic?

The runs were about 6,000 atoms of carbon at fixed volume, driven by GAP-20 in LAMMPS. Each started as a 6000 K liquid, was annealed at its target temperature for 200 ps and was then cooled for 20 ps towards 300 K, and the structures below are the frames at the end of that ramp, still hot (near 710 K in the 1.0 g cm⁻³ run) and not minimised. One set of runs held the anneal at 3500 K and varied the density from 0.5 to 3.5 g cm⁻³ in steps of 0.5. Two more held the density, at 1.5 and at 3.0 g cm⁻³, and varied the anneal from 2000 to 4500 K in steps of 500 K. Each condition was run three times, as three cuts through one melt.

density / g cm⁻³ 0.51.01.52.02.53.03.5
0.5 g cm⁻³
1.0 g cm⁻³
1.5 g cm⁻³
2.0 g cm⁻³
2.5 g cm⁻³
3.0 g cm⁻³
3.5 g cm⁻³
Fig. 8

The annealed network at each density, 0.5 to 3.5 g cm⁻³, after 200 ps at 3500 K, drawn as a 10 Å slab through the final frame of one run. All seven panels share one scale, so each cell is drawn at its true relative size, and the cell at 0.5 g cm⁻³ is nearly twice the width of the cell at 3.5. Own work.

The bonding switches with density, and it does so abruptly, somewhere between 2.5 and 3.0 g cm⁻³. At 3500 K every density from 0.5 to 2.5 g cm⁻³ anneals to curved sheets of hexagons wrapped round voids, a network in which nearly all of the atoms have three neighbours. At 3.0 g cm⁻³ the same anneal leaves about two thirds of the atoms with four neighbours, and at 3.5 g cm⁻³ nearly all of them, which is a dense sp³ network. The ring statistics switch at the same density. Up to 2.5 g cm⁻³ six-membered rings are 66–78% of all rings, in a count of about 2,800 rings per cell; at 3.0 and 3.5 g cm⁻³ hexagons are 34.5% and 44.0% of a ring count three to four times larger, and at 3.0 g cm⁻³ five-, seven- and eight-membered rings take up most of the difference.

anneal temperature / K 200030004500 1.5 g cm⁻³
1.5 g cm⁻³, 2000 K
1.5 g cm⁻³, 3000 K
1.5 g cm⁻³, 4500 K
3.0 g cm⁻³
3.0 g cm⁻³, 2000 K
3.0 g cm⁻³, 3000 K
3.0 g cm⁻³, 4500 K
Fig. 9

The annealed network at 2000, 3000 and 4500 K, at 1.5 g cm⁻³ (top row) and 3.0 g cm⁻³ (bottom row), drawn as 10 Å slabs through the final frame of one run after a 200 ps anneal, every panel at one scale. The table gives all six temperatures. Own work.

The anneal temperature moves the numbers without changing the kind of network. At 1.5 g cm⁻³ the three-coordinated share is about nine tenths at 2000 K, rises to a peak of 98.1% at 3500 K and falls to 86.0% at 4500 K, where about a tenth of the atoms have been shaken loose to two neighbours; at every one of the six temperatures the material is graphitic. At 3.0 g cm⁻³ the four-coordinated share stays between about three fifths and two thirds across 2000–4500 K; at every temperature it is a dense sp³ network. The coordination numbers behind this, averaged over the three replicas, are in the table below, and no run at either density crosses the line that separates 2.5 from 3.0 g cm⁻³. A 12-point swing in coordination is a change of degree inside a regime that density chose.

ConditionTwo neighbours (%)Three neighbours (%)Four neighbours (%)
0.5 g cm⁻³, 3500 K3.795.8—
1.0 g cm⁻³, 3500 K—97.2—
1.5 g cm⁻³, 3500 K—98.1—
2.0 g cm⁻³, 3500 K—98.6—
2.5 g cm⁻³, 3500 K—97.8—
3.0 g cm⁻³, 3500 K—34.965.1
3.5 g cm⁻³, 3500 K—5.194.8
1.5 g cm⁻³, 2000 K—89.7—
1.5 g cm⁻³, 2500 K—94.2—
1.5 g cm⁻³, 3000 K—97.1—
1.5 g cm⁻³, 4000 K—97.9—
1.5 g cm⁻³, 4500 K11.886.0—
3.0 g cm⁻³, 2000 K——67.5
3.0 g cm⁻³, 2500 K——66.2
3.0 g cm⁻³, 3000 K——59.1
3.0 g cm⁻³, 4000 K——64.0
3.0 g cm⁻³, 4500 K——63.9
Fig. 10

The 1.0 g cm⁻³ run from liquid to annealed network in 45 seconds, through the 6000 K melt, the quench-and-reheat ramp, the 200 ps anneal at 3500 K and the final cooling ramp. Own work.

All of this rests on single hot frames, not averages over the anneal; 200 ps is a long time for a potential and a short one for a kiln; and the three replicas are not independent. Within those limits, the anneal temperature sets how well-formed the sheets are, and the density decides whether there are sheets at all.

Contents ↑

Spherical clusters

The graphitisation runs are periodic cells (boxes that repeat endlessly in every direction), carbon with no surface. The other question from the same year was about the opposite object, a free carbon cluster. As with the cluster benchmark, I wanted to simulate hard carbons forming from deposited clusters, and that starts with knowing which structure a cluster settles into at each size and temperature. I explored this idea by running MD simulations of nanoparticles of carbon ranging from ~50 to 1000 atoms, with annealing all the way up to 5000 K. Every run started from a random sphere of atoms, relaxed briefly and then held at its temperature for up to 50 ps under GAP-20 in LAMMPS, as the graphitisation runs were.

The last frame of every run was then sorted into one of five classes (disordered, cage, onion, molten or dissociated) from its bond graph. The graph gives the fraction of atoms with each number of neighbours, the pieces the cluster has broken into, its rings, and its shells, counted as peaks in the atom density against distance from the centre. One more measure, whether the bonds lie along those shells or point every way, separates the layered clusters from the disordered ones.

cage: C120, 2000 Kmolten: C686, 4000 Kdissociated: C60, 3000 K
cage: C120, 2000 K
molten: C686, 4000 K
dissociated: C60, 3000 K
disordered: C1000, 500 K, slicegraphitic onion: C1000, 3000 K, slice
disordered: C1000, 500 K, slice
graphitic onion: C1000, 3000 K, slice
Fig. 11

One run from each of the five classes. Top, whole clusters: C₁₂₀ at 2000 K, a single closed cage; C₆₈₆ at 4000 K, the one molten run; C₆₀ at 3000 K, dissociated into chains. Bottom, slices 6 Å thick through the centre of C₁₀₀₀. At 500 K the network fills the sphere with no shells, disordered; at 3000 K it has separated into three shells, which the slice cuts as arcs. Each panel is framed to its own atoms, so sizes are not comparable between panels. Own work.

Moderate (relatively speaking) heating introduces order into a cluster, annealing it into something of a carbon onion. At extreme temperatures, carbon becomes a gas, forming predominantly long sp-hybridised chains. (I’ve often seen these chains form in simulations of carbon, in both MLIP-driven MD and AIMD; whether carbyne, as it’s called, actually exists or not in reality is something of an open and hotly debated question.) At 500 K every cluster holds together and none is ordered; the largest, C₁₀₀₀, is a disordered ball, about 80% three-coordinated but with no shells and the least layered bonding of any intact run. At 1000 K the first order appears, and only in the middle sizes, where C₁₂₀ closes into a cage and C₁₆₀ into an onion. At 2000 and 3000 K the clusters that survive close up into shells, 84–94% of their atoms three-coordinated. The small ones become single closed cages and the large ones graphitic onions of two or three nested shells; C₁₀₀₀ at 3000 K has three, at mean radii of about 4, 8 and 12 Å, and about half of its rings are hexagons. Heat further and the clusters come apart into carbon chains, the smallest first: C₄₀ already by 2000 K, C₆₀ and C₈₀ by 3000 K, every size but one by 4000 K and all of them at 5000 K. The one exception, C₆₈₆ at 4000 K, was molten but not dissociated, and still held almost two thirds of its atoms in one piece when its run stopped early.

Fig. 12

The map of outcomes, one symbol per run, each the structure of its last frame, classified by a rule from its coordination, fragments, shells and bond directions. Own work.

We mostly checked for graphitisation, but just on the off-chance that we might have developed a route to gas-phase synthesis of diamond, we did check for diamond-like carbon. Unfortunately, this wasn’t the case. The largest four-coordinated fraction in any run is about a tenth, in C₁₀₀₀ at 1000 K (about a fifth deep inside it), and above 2000 K four-coordinated carbon all but disappears. The search continues!

All 48 final frames, size across and temperature down
cluster size / atoms 4060801201603736861000 500 K
500 K, 40 atoms
500 K, 60 atoms
500 K, 80 atoms
500 K, 120 atoms
500 K, 160 atoms
500 K, 373 atoms
500 K, 686 atoms
500 K, 1000 atoms
1000 K
1000 K, 40 atoms
1000 K, 60 atoms
1000 K, 80 atoms
1000 K, 120 atoms
1000 K, 160 atoms
1000 K, 373 atoms
1000 K, 686 atoms
1000 K, 1000 atoms
2000 K
2000 K, 40 atoms
2000 K, 60 atoms
2000 K, 80 atoms
2000 K, 120 atoms
2000 K, 160 atoms
2000 K, 373 atoms
2000 K, 686 atoms
2000 K, 1000 atoms
3000 K
3000 K, 40 atoms
3000 K, 60 atoms
3000 K, 80 atoms
3000 K, 120 atoms
3000 K, 160 atoms
3000 K, 373 atoms
3000 K, 686 atoms
3000 K, 1000 atoms
4000 K
4000 K, 40 atoms
4000 K, 60 atoms
4000 K, 80 atoms
4000 K, 120 atoms
4000 K, 160 atoms
4000 K, 373 atoms
4000 K, 686 atoms
4000 K, 1000 atoms
5000 K
5000 K, 40 atoms
5000 K, 60 atoms
5000 K, 80 atoms
5000 K, 120 atoms
5000 K, 160 atoms
5000 K, 373 atoms
5000 K, 686 atoms
5000 K, 1000 atoms
Fig. 13

The last frame of every run, eight sizes across and six temperatures down, each panel framed to its own atoms, so sizes are not comparable between panels. Open the list to see them; a panel enlarges on a click. Own work.

The map has limits. Each cell is one frame of one trajectory, with no replicas, one starting structure per size and at most 50 ps, so none of it is an average or a converged phase. Ten runs stopped early, all six C₁₀₀₀ runs among them. Several of the cages and onions sit near a class boundary, C₁₆₀ at 2000 K most of all, with a 20-atom cage nested inside a 140-atom one. Even so, cold clusters are disordered, warm ones are cages and onions, hot ones are chains, and up to C₆₈₆ the temperature at which a cluster stops being a cluster rises with its size.

Contents ↑

CHO-GAP

Carbon is rarely, if ever, found in a totally pure form. Even diamonds will often contain ultra-low concentrations of nitrogen or boron, which nonetheless change the material’s properties enough to affect the colour of the stone. Carbon’s promiscuity in bonding is so great, in fact, that two entire subdomains of chemistry, organic and organometallic chemistry, are dedicated entirely to exploring the endlessly diverse structures arising from carbon’s proclivity to bond with anything and everything. The hard carbon in a battery anode is often made by burning materials such as lignin at high temperature, and the char in a furnace, the hard carbon and the soot in a flame all carry hydrogen and oxygen, which is why my thesis names those two as the next step. GAP-20 is totally incapable of modelling these systems. Each step in this work was meant to make the model more useful for real science, so the last carbon potential I worked on was CHO-GAP (carbon, hydrogen and oxygen), the same method with three elements.

Fig. 14

Eight methane and sixteen oxygen molecules in a 10 Å periodic box at 3000 K under CHO-GAP, at 0, 10, 20 and 50 ps, drawn as ball-and-stick with carbon dark grey and filled, oxygen brick red and open, and hydrogen pale grey and small. At 50 ps the box holds 7 CO₂, 1 CO, 12 H₂O, 3 OH, 3 H and 1 H₂O₂. Own work.

CHO-GAP was built the way the thesis says to build a potential, from stochastically generated structures thinned by farthest-point sampling, and the frames above are one demonstration of the potential. A box of methane and oxygen held at 3000 K for 50 ps ends up as mostly carbon dioxide and water. That is combustion, complete with the radicals, from a potential that was fitted to energies and forces. It is a sanity check rather than a validation, since no one measured the reaction rates in the box against anything, but a potential that gets combustion qualitatively wrong would show it here, and this one does not.

Jean-Marc Leyssale in Bordeaux analysed frames from lignin pyrolysis with it, and then the technology moved on. In 2022 Gábor’s group published MACE, a machine-learned potential built as a neural network rather than a Gaussian-process fit; it was clearly a step change in performance, and the team chose to move to it. CHO-GAP was set aside before its paper was finished.

Contents ↑

Publications in this article

  1. 2022

    B. Karasulu, J.-M. Leyssale, P. Rowe, C. Weber, C. de Tomas. Accelerating the prediction of large carbon clusters via structure search: evaluation of machine-learning and classical potentials. Carbon 191, 255–266.

  2. 2021

    F. L. Thiemann, P. Rowe, A. Zen, E. A. Müller, A. Michaelides. Defect-dependent corrugation in graphene. Nano Lett. 21, 8143–8150.

  3. 2020

    P. Rowe, V. L. Deringer, P. Gasparotto, G. Csányi, A. Michaelides. An accurate and transferable machine learning potential for carbon. J. Chem. Phys. 153, 034702.

  4. 2018

    P. Rowe, G. Csányi, D. Alfè, A. Michaelides. Development of a machine learning potential for graphene. Phys. Rev. B 97, 054303.