← back to the examples

Ruptured Carbon Nanotube

This is a demonstration using several recently added features to LAMMPS.

The simulation is based on the breakable input of Tutorial 2 of the LAMMPS Soft Matter Tutorials, and uses the following new features:

  • dump image autobond to draw dynamic bonds (based on a cutoff) without having any topological bonds defined
  • fix graphics/labels to display the number of atoms with 1, 2, 3, or 4 bonds, the simulation time, and force and velocity
  • fix graphics/objects to add the two arrows to the image to indicate the stretching velocity and the force on the atoms at the edge

For more information, see the LAMMPS Visualization Howto.


Input file: GRAPHICS/in.breakable