Skip to content

medford-group/lammps_interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medford Group LAMMPS Interface Tools

Build Status

This is a collection of python tools used to interface with LAMMPS. The interface is Linux only for the moment, if you're interested in Widnows support, open an issue and I can have a look at it. This package relies on packmol, please ensure that the packmol executable is in your PATH somewhere.

This package utilizes the Atomistic Simulation Environment (ASE) fairly extensively, but does not use the calculator system within it. This enables the package to be very modular.

Installation

Install with: pip install git+https://github.com/medford-group/lammps_interface

Put packmol into your PATH. a copy of packmol is included with this package in /lammps_interface/bin. ensure that packmol is installed for full functionality, but some stuff works without it

Usage

Since this package consists of python functions you'll need to import them from the tools.py file. The functions have long names so that they are as descriptive and simple as possible.

from lammps_interface.lammps_interface.tools import make_box_of_molecules
from ase.build import molecule

atoms = make_box_of_molecules(molecule(H2O),700,[40,40,40])

There are lots of goodies in there that you may find valuble.

If you have feature requests, open an issue and I can have a look.

About

A barebones interface for lammps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages