MateriApps
A Portal Site of Materials Science Simulation

now 307 Apps

Inquiry / Application Request
    • JP
    • EN
  • What's MateriApps?
  • Call for reviews
Detailed search
  • News / Hands-on / Event
  • List of Apps
  • Search Apps
  • Keywords
  • Review
  • Research Showcase
  • Concierge
  • Try the app without installing
    「MateriApps LIVE!」

    MORE
  • What's MateriApps?
  • Call for reviews
  • Privacy Policy
  • Inquiry / Application Request
  • List of Apps
  • LAMMPS

LAMMPS

  • Openness:3 ★★★
  • Document quality:3 ★★★

A general-purpose open-source application for classical molecular dynamics simulation, distributed under the GPL license. This package can perform molecular dynamics calculation of various systems such as soft matters, solids, and mesoscopic systems. It can be used as a simulator of classical dynamics of realistic atoms as well as general model particles. It supports parallel computing through spatial divisions. Its codes are designed so that their modification and extension are easy.

Experience of LAMMPS simulations on MateriApps LIVE!(2019.7.11)
Last Update:2021/12/09
You already voted!

MateriApps Development Team

I performed an MD simulation by using LAMMPS(11 Aug 2017) on MateriApps LIVE!.

Preparation:

  • See Wiki of MaterApps LIVE! for details on how to use MateriApps LIVE! .
  • The samples for LAMMPS are in the directory “/usr/share/lammps/examples/melt” on MaterialApps LIVE!
    $ cp -r /usr/share/lammps/examples/melt  ./
    $ cd melt
  • Install VMD to plot output of LAMMPS by launching the setup tool on the command line.
    $ vmd-setup

    After inserting your username and password, the installation of VMC will start.
    If you have not used VMD before, please register to download VMD at the official site.  You do not need to download VMD from the official site, as vmd-setup will handle that for you. You can thus close the browser after creating your account for download.

Run LAMMPS:

  • Run the following command.
    $ lammps -in in.melt

    In this sample, Lennard-Jones (LJ) particles are arranged in a FCC lattice.

  • Next, the input file, in.melt, is modified to output a visualization file. Execute the following command and copy the input, in.melt.
    $ cp in.melt in.melt_dump

    I get in.melt_dump, and after opening in.melt_dump by editor (vi, emacs, etc.), delete “#” in “#dump id all atom 50 dump.melt” in this file.

  • Run the modified in.melt_dump.
    $ lammps -in in.melt_dump
  • The output dump.melt can be displayed using the visualization tool VMD. First, open VMD by
    $ vmd

    From “File => New Molecule”, launch “Molecule File Browser” and “Molecule File Browser” will open. After that, click “Browse… “ to select the file “dump.melt” and set “LAMMPS Trajectory” in “Determine file type”, and click “Load”. I think you see very noisy trajectory of LJ particles.
    To enhance visibility, click “Graphics=>Representations” in “VMD Main” and “Graphical Representations” window will open. After I change “Lines” to “VDW” in “Drawing Method” and set 0.2 in “Sphere Scale”, the following figure can be obtained.

    Back to “VMD Main” and click “Play forward” (right bottom button), you will see MD simulations in melting process of FCC lattice of LJ particles.

04 / 06

  • 01Information
  • 02Case / Article
  • 03Hands-on
  • 04Review
  • 05Developer's Voice
  • 06Inquiries about
    this App
TOP

MateriApps
A Portal Site of Materials Science Simulation

  • News / Hands-on / Event
  • List of Apps
  • Search Apps
  • Keywords
  • Research Showcase
  • Concierge
  • Privacy Policy
Inquiry / Application Request
  • The Institute for Solid State Physics
  • The University of Tokyo
  • CDMSI
  • CCMS

© MateriApps, 2013-2023. All rights reserved.