@Template @Plotly

Atomistic Metals

In the interactive simulation below, you choose a procedure to form a piece of metal. It shows how the atoms in a metal arrange to form domains.

Things you can do in the simulation:


What's going on?

We have 1500 atoms that naturally clump together in a similar way to how they clump in metals: Individual molecules don't typically form, but bulk lumps do. They are simulated in a heat bath, keeping the material at a prescribed temperature. At high temperatures, atoms jiggle around a lot more, eventually jiggling so much that the lump melts then vaporises.

The colour of each atom depends on its neighbours. If the neighbours are aligned horizontally, the atom is one colour. If it is rotated slightly, it changes to a different colour. The aim of this colour scheme is to show the different grains or domains within the lump: One domain will be a uniform-ish colour, and have a different colour around it. Grain boundaries can be any colour, and atoms around a defect are typically another colour again.

The different materials have different atomic properties, in particular, material 1 has a more localised attraction potential, and grain boundaries, slip surfaces and defects move much less than the other materials. By contrast, in material 3, the grain boundaries and defects move much more readily.

Alloys have two types of atoms, both with very similar atomic properties, but different radii.

No quantum mechanics is simulated here: The only physics here is a pair-wise potential between nearby atoms.


  1. Try to create a square object with one grain only. It should be a uniform colour apart from the edges.
  2. Try to create a square object with many grains.
  3. What is the melting point of the substance?
  4. What is the boiling point of the substance?
  5. Is it stronger hot or cold?
  6. Is it stronger as one grain or many? (Note that this is possibly different in real life / for larger systems).

Other Articles:

How big should my spaceship be?

Mars Reentry

A ThreeJS simulation of mars reentry in a spaceship.

How to simulate fractal ice crystal growth in Python

This presents python code to draw snowflakes, simulating a diffusion process with Fourier transforms.

© Hugo2015. Session @sessionNumber