← back to the examples

TLSPH example: two rubber rings impact each other

This animation illustrates a simulation of Smooth Mach Dynamics (MACHDYN package) where two objects made of particles, representing rubber rings, are pushed toward each other and then bounce back. The special graphics gimmick here is the use of the fix graphics/isosurface command to represent the continuum shape of the rings. The refined surface, generated with the marching cubes algorithm, is then passed to the LAMMPS dump image command to render it as continuum objects. For illustration, the constituent atoms are also rendered and shown “inside” the isosurfaces by rendering them translucent.


Input file: PACKAGES/machdyn/rubber_rings_3d/in.rubber_rings_3d