Install & run LAMMPS for Mac – a simple approach (stable 2020-10-29)


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/.

  • Type the following command In Terminal.
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.

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


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