1. INSTALL

Info of LAMMPS in Cakebrew (The default path for LAMMPS is: /usr/local/Cellar/lammps/)

2. RUN

Let’s try with an example file: a colloid case in ~/examples/.

cd /usr/local/Cellar/lammps/YOUR VERSION NUMBER/share/lammps/examples/colloid
   /usr/local/Cellar/lammps/YOUR VERSION NUMBER/bin/lmp_serial -in in.colloid

The visualization movie could be obtained here (lammps.org).

One frame of the movie (Colloids put in a background solvent of Lennard-Jones particles)

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注