lammps-md

Runs ML and computes RDF/MDS from LAMMPS dump files for structural analysis.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill lammps-md
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lammps-md
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/01-physics/lammps-md
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill lammps-md

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves how to perform classical molecular dynamics (MD) simulations with LAMMPS and convert raw trajectory data into scientific observables like structure (RDF) and dynamics (MSD/diffusion), without manual, ad-hoc analysis.

Core Features & Use Cases

  • Ensemble-driven LAMMPS simulations: Set up and run NVE/NVT/NPT simulations with common empirical force fields (LJ, EAM, CHARMM/AMBER-family, Tersoff/AIREBO).
  • Trajectory post-processing to compute physics metrics: Derive RDF for structural organization and MSD/diffusion coefficients for transport behavior from dump files.
  • Visualization workflow: Render trajectories and perform structure identification/coloring using OVITO.

Use case example: Simulate liquid argon with an LJ potential in the NVT ensemble, then compute RDF to identify nearest-neighbor structure and compute MSD to estimate the self-diffusion coefficient from the equilibrated portion of the trajectory.

Quick Start

Use this skill to run an NVT LAMMPS simulation for your system, export dump files, and ask the assistant to compute RDF and MSD from the dump trajectory using the provided Python workflows and plotting outputs.

Frequently Asked Questions about lammps-md

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute RDF and MSD from LAMMPS dump files?

Computing RDF and MSD from LAMMPS dump files involves parsing trajectory data with Python tools like ASE and numpy, applying appropriate normalization and time origins to derive structural and transport properties.

How do I run an NVT simulation in LAMMPS and calculate the diffusion coefficient?

Running an NVT simulation in LAMMPS requires selecting an empirical force field like LJ, applying the ensemble, exporting dump files, and then computing MSD from the equilibrated trajectory portion to estimate the self-diffusion coefficient.

What Python packages do I need to analyze LAMMPS trajectories and visualize results?

To analyze LAMMPS trajectories and visualize results, you need Python tooling including ASE, numpy, matplotlib, and OVITO to parse dump outputs, compute observables, and render trajectory structures with color identification.

Can I use LAMMPS with empirical force fields like Tersoff or EAM for condensed-matter modeling?

Yes, LAMMPS supports empirical force fields including LJ, EAM, Tersoff, AIREBO, and CHARMM/AMBER-family potentials for materials and condensed-matter modeling across NVE, NVT, and NPT ensembles.

What is the best way to visualize LAMMPS molecular dynamics trajectories and identify structures?

The best way to visualize LAMMPS trajectories and identify structures is using OVITO to render dump files, perform structure identification, and apply coloring to analyze molecular dynamics simulation outputs.

Does computing RDF from LAMMPS dump files require manual trajectory parsing?

Computing RDF from LAMMPS dump files does not require manual ad-hoc parsing, as automated Python workflows using ASE and numpy can extract structural organization directly from trajectory data with proper normalization.